Skip to content

Commit

Permalink
sh/init.sh.Linux.in: remove uucp group from /run/lock
Browse files Browse the repository at this point in the history
I am not aware of a reason why the uucp group should have r/w access to
/run/lock. Also the current configuration allows the uucp group to delete
and replace entries owned by other users/groups from /run/lock which
could be dangerous.

Ref https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/69933
  • Loading branch information
sertonix committed Jul 31, 2024
1 parent ea310b2 commit a7d95b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sh/init.sh.Linux.in
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ elif ! mountinfo -q /run; then
fi

checkpath -d "$RC_SVCDIR"
checkpath -d -m 0775 -o root:uucp /run/lock
checkpath -d /run/lock

# Try to mount xenfs as early as possible, otherwise rc_sys() will always
# return RC_SYS_XENU and will think that we are in a domU while it's not.
Expand Down

0 comments on commit a7d95b9

Please sign in to comment.