AskUbuntu · @askubuntu
78 followers · 2056 posts · Server ubuntu.social

How to 'strace' a systemd service on startup?

askubuntu.com/q/1464285/612

#systemd #services #strace

Last updated 1 year ago

clar fon · @clarfonthey
223 followers · 3819 posts · Server toot.cat

this weird bug I'm running into is driving me mad, and it's unclear whether it's a , , , or kernel bug. right now it's filed under buildah (the builder for podman) but in case anyone is curious:

github.com/containers/buildah/

if anyone knowledgeable about this particular intersection of weird bugs can pitch in, it'll probably be interesting

#podman #zfs #strace #linux

Last updated 1 year ago

Rob Kennedy · @rkennedy
7 followers · 3 posts · Server hostux.social

TIL, but wish I hadn't: The utility for editing our product's configuration file will open the file 150 times to make a single change. And it reads the file an average of 23 times each time it's opened.

#facepalm #strace

Last updated 2 years ago

mikolaszko · @mikolaszko
5 followers · 112 posts · Server fosstodon.org

playing around with and this afternoon

#strace #kernel

Last updated 2 years ago

Kaan Barmore-Genç · @kaan
119 followers · 65 posts · Server fosstodon.org

strace saves the day again!

I can't believe how incredibly useful it has been on the rare occasions I needed it. Probably saved me hours just now. Instead of digging into the source code of a library to figure out what was happening, I just traced the file accesses and found what files it was looking for before failing.

(FYI, strace traces the system calls programs make on Linux systems, so you can see what files they are reading and such)

#softwaredev #linux #strace

Last updated 2 years ago

George Budd · @Gbudd
48 followers · 80 posts · Server qoto.org

The cat is not really helping my debugging efforts ( )

#libpcap #wineoclock #c #strace #gdb

Last updated 2 years ago

Julien M. · @julm
516 followers · 5038 posts · Server framapiaf.org


> As der is the 's mascot and also an ,
> it is a strace's responsibility now to raise awareness about it.
strace -VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV

> After des Strausses awareness has been raised sufficiently,
> it is time for den Strauss to raise the awareness about strace,
> and to do so, the most modern and contemporary method has been elected:
> displaying tips, tricks and tweaks on each run.
github.com/strace/strace/commi

#linux #biodiversity #easteregg #strauss #strace #endangeredspecies

Last updated 2 years ago

Olivier Duquesne aka DaffyDuke · @daffyduke
485 followers · 37712 posts · Server mamot.fr

RT @linuxaudit
Monitor file access by Linux processes linux-audit.com/monitor-file-a

#syscall #strace #lsof

Last updated 2 years ago

John Goerzen · @jgoerzen
713 followers · 2219 posts · Server floss.social
FOSSlife · @FOSSlife
864 followers · 1026 posts · Server mastodon.fosslife.org

At Your Command: Learn how the strace command can help you find files and troubleshoot programs buff.ly/31MRqel

#networking #tools #strace #CommandLine #opensource #Linux

Last updated 4 years ago

· @Creideiki
99 followers · 1832 posts · Server mastodon.social

I thought I might spend some quarantine time translating my from to . The ip{,6}tables-restore-translate tools looked nice, and then I could tinker with the results until they fit my config automation.

Running them says "Permission denied (you must be root)", and then as root "Invalid argument". shows nftables netlink calls. On a kernel without nftables, because I run iptables.

Man page says "these tools are text converters only". Great first impression.

#nftables #firewall #iptables #strace

Last updated 5 years ago

· @Creideiki
99 followers · 1832 posts · Server mastodon.social

Is it documented anywhere which SSH key a uses when running ?

Thanks to I now know it's "/usr/share/foreman-proxy/.ssh/id_rsa_foreman_proxy", but I would have been much happier if it had said so in the documentation, for example in "Managing Hosts" part 2.8, "Running Ansible roles on a host".

#redhat #satellite #ansible #strace

Last updated 5 years ago

claude · @mathr
288 followers · 2739 posts · Server post.lurk.org

Using to read from a file, with a backwards seek to do analysis with , works great!

However, trying the same trick with an input fails miserably: frame rate drops from 40+ to 3 after some minutes of audio-file time :( I conjecture (based on and logs) that it is seeking back to the start of the file and re-decoding the whole thing on every seek backwards a little bit. Unsustainable.

Workaround: to decompress beforehand.

#libsndfile #fft #windows #wav #overlap #ogg #vorbis #top #strace #ffmpeg

Last updated 5 years ago

WATERB~1.EXE · @waterbear
91 followers · 2438 posts · Server scicomm.xyz

@vu3rdd@octodon.social seems like it would be doable to reverse engineer such daemons by observing syscalls (eg using )

#strace

Last updated 6 years ago