[artix-general] [s6] something to clean up after Today's update of elogind + elogind-s6 (hint: swap + moving to new way)?

Dudemanguy dudemanguy at artixlinux.org
Sat Jan 16 00:59:31 CET 2021


On 1/15/21 2:47 PM, Javier via artix-general wrote:
> There's a clear warning that elogind-s6 will produce failures, but I 
> guessed related to elogind-s6, and not other stuff...  The message about 
> "swap":

Yeah that's kind of weird. Do you somehow not have a /etc/s6/sv/swap
directory? Not sure how you could get that message otherwise.

>> elogind-srv does not exist in bundle default!
>> elogind-log does not exist in bundle default!
>>    Note: elogind-srv/elogind-srv are deprecated and will be removed in 
>> the future.
>>    Instead, use the new elogind service directly (this is now the 
>> default).
> 
> Somehow indicates in the future those should be removed.  But it doesn't 
> say whether they can be removed now.  Not sure if I should do some 
> manual work for them as well, to use the new way of elogind-s6.  Should I?

Oh sorry perhaps that message wasn't clear enough. Probably for 99% of
users you don't have to do anything at all. That last message was just
in case anyone was writing their own scripts that depended on
elogind-srv or elogind-log explicitly instead of of just "elogind" (the
entire pipeline).

Basically, elogind-srv + elogind-log made up an s6-rc pipeline called
"elogind". However, elogind-log doesn't actually log anything. It's
pointless. So instead, the goal is to remove this directory and just
change elogind-srv to "elogind". The problem with directly doing this
is that the elogind service will restart (because the service
directories change) which can result in users suddenly losing their
graphical session (no fun). All of this was just a workaround to get
users to mostly automatically migrate to the elogind service without
kill the existing elogind-srv/elogind-log services that were running.

You don't have to do anything different. s6-rc -u change elogind (and
the like) is still what you should use. It's just technically different
under the hood. At some point in the future, the elogind-srv and
elogind-log directories in the elogind-s6 package will be removed. I'm
just giving time for users to update so they don't suddenly get their
graphical session killed.


More information about the artix-general mailing list