New package: turnstile-0.1.8#44676
Conversation
|
This is interesting. Besides creating /run/user/nnn, can the runit backend be used to supervise user services, like pipewire or running mbsync? I'd be happy to help with test. |
|
yes. i have it mostly working but i haven't pushed the changes yet. note that the commit i linked does not work, I needed to do a fair amount of refactoring to get it to work. need to do other things for the moment, will probably get back to it next week |
4ad4f22 to
572da3b
Compare
|
current state: what works:
what doesn't work:
what's untested:
what's blocking:
some example services (pipewire, syncthing atm): https://github.com/classabbyamp/dotfiles/tree/master/dot_config/service |
572da3b to
80ad9ac
Compare
This comment was marked as resolved.
This comment was marked as resolved.
|
at this point I would just wait, it's not fully working yet. it could be because elogind is running and conflicting with it, or seatd is not running perhaps |
This comment was marked as resolved.
This comment was marked as resolved.
|
if you'd like, the debug logs would be helpful. set |
This comment was marked as resolved.
This comment was marked as resolved.
|
if i had to guess it's that greetd is missing a line about turnstile in its pam config. logging in via a tty successfully would trigger the system-login pam entry and would start the runit backend. then, when the logging in via greetd after that, runit is already running so it works fine. |
This comment was marked as resolved.
This comment was marked as resolved.
80ad9ac to
cb26b06
Compare
|
Sorry for all the added noise. 0.1.6 fixed the issue for me. |
cb26b06 to
55f2281
Compare
55f2281 to
4a28baf
Compare
4a28baf to
34a9c61
Compare
|
still todo:
|
|
does it mean now we don't need to build off master and user services do exit? |
|
maybe |
34a9c61 to
273e0eb
Compare
76b8150 to
bf6e09f
Compare
|
works for me, thanks. |
bf6e09f to
40820c3
Compare
|
Within my setup, and using greetd, turnstile for user still persists, instead of killing the user's services upon logout: Upon logging out and in as another user, I still see my services in htop. |
|
indeed (i missed the msg above) greetd also needs a modification to pam file. |
|
what modification? it includes system-local-login: which includes system-login which already supports turnstile, if you built pam-base from this branch: |
can you set |
|
I did build pam from this branch, and notice this does not happen with login/agetty. log |
|
btw, turnstile also tracks a session for the _greeter user, not sure if this is related. the river run being a script that sets some variables and runs river. |
not related, and intended i think |
sounds reasonable. (this only happens if I do not login into the tty using greetd, in which case the |
|
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it. |
4c5143c to
c33cd89
Compare
|
any chance this can be merged, or at least the change to pam-base? |
|
waiting on q66 to merge the runit backend, I don't want to deal with some kind of bad update later if he wants changes with it in the PR |
|
i understand you'd want to wait for turnstile itself, but why not merge at least the pam-base change? |
c33cd89 to
d7bee88
Compare
d7bee88 to
f62fa6d
Compare
WIP while i create the runit backend upstream (mostly done)
Testing the changes
New package