Post ANWJZvA3Lf7bFG7luC by ruffni@mstdn.io
(DIR) More posts by ruffni@mstdn.io
(DIR) Post #ANW7E326Cab5q1Cw4m by abcdw@fosstodon.org
2022-09-13T09:12:47Z
0 likes, 0 repeats
When I stop user's shepherd with kill or herd stop root it doesn't cleanup /run/user/1000/shepherd/socket and to run a new instance I have to remove it manually. Is it intended behavior or it's time to dive into shepherd sources? 🤔
(DIR) Post #ANWEYObsO7k6EFalBA by hako@social.boiledscript.com
2022-09-13T09:57:33.082Z
0 likes, 0 repeats
@abcdw@fosstodon.org When calling sudo herd stop root, the system reboots, maybe they are the same?
(DIR) Post #ANWEYP5IcjHJhVMG2a by abcdw@fosstodon.org
2022-09-13T10:34:54Z
0 likes, 0 repeats
@hako Not sure what you mean.
(DIR) Post #ANWJZvA3Lf7bFG7luC by ruffni@mstdn.io
2022-09-13T11:31:07Z
0 likes, 0 repeats
@abcdw why would one want to kill (user) shepherd itself?
(DIR) Post #ANWibOziPcSIun5laa by ryuslash@fosstodon.org
2022-09-13T16:11:32Z
0 likes, 0 repeats
@abcdw I'm guessing that this isn't intended because this sounds like it could be the cause of why my laptop configured with guix home (on arch) doesn't start properly ~50% of the time. I guess one of on-first-login and the other startup script starts and kills shepherd and then the other tries and fails. Now I have no shepherd while still having a pid file for it and the second one won't start shepherd anymore.
(DIR) Post #ANXt15k5o4C5R1dIvo by abcdw@fosstodon.org
2022-09-14T05:43:01Z
0 likes, 0 repeats
@ruffni I try the approach, where shepherd is started by compositor/window manager to obtain required environment variables and it make sense to kill this shepherd process after compositor exits.
(DIR) Post #ANXtDMv3lk8iBPcJBA by abcdw@fosstodon.org
2022-09-14T05:45:08Z
1 likes, 0 repeats
@ryuslash It shouldn't be this way, please report it to bug-guix with as much information as possible.
(DIR) Post #ANYk96UGDVpNdDvuqW by ryuslash@fosstodon.org
2022-09-14T15:38:15Z
0 likes, 0 repeats
@abcdw I've been meaning to, but I haven't been able to find the time yet. I'll see if I can find a moment today.