[artix-general] s6 2.9.1.0-2 permission/group changes

Dudemanguy dudemanguy at artixlinux.org
Thu Apr 9 04:06:05 CEST 2020


Hi all s6 users,

Just a small note about the latest s6 update. The s6 package creates the 
s6log user and group which is used in several scripts for logging 
purposes. This was previously done using the PKGBUILD's install script, 
but with the new update it now uses opensysusers (whose entire purpose 
is to create system accounts). Current s6 users are not required to do 
anything, but there are a couple of things you may want to take note of.

I'm not 100% certain on this, but I believe opensysusers remakes the 
s6log user/group and causes any users that are currently in that group 
to be kicked out of it. If you added any users as members of the group, 
you may have to do redo it after this update (at least I did on one of 
my machines).

The other thing is that permissions are much saner now. Previously, the 
logging scripts relied on the assumption that s6log had write access to 
/var/log in order to make the appropriate log directory (the s6 install 
script gave the s6log group write access). This is no longer required 
since it turns out that a clever install command can achieve the same 
thing without needing the s6log user itself to have write access. All of 
the scripts have been updated to reflect this. For current s6 users, it 
may be in your interest to tighten permissions at /var/log and make only 
root the owner again (# chown root:root /var/log).

Anyways, I will bug our news person tomorrow (he's asleep right now) to 
make a very short tl;dr announcement on the homepage since not everyone 
reads the general list. I figured it was worth explaining the change at 
least somewhere though.


More information about the artix-general mailing list