diff options
author | Tom Gundersen <teg@jklm.no> | 2011-04-22 23:50:59 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2011-04-23 21:44:03 +0200 |
commit | eda191cf78365cc3d15c0b8c0d8f571c69cd059e (patch) | |
tree | 64e77a1b264dae968b5005d013f9e47ffbe710a6 /rc.multi | |
parent | a5bdefd41f8ce9ec1be567fcdf8eea20f39fda48 (diff) | |
download | initscripts-eda191cf78365cc3d15c0b8c0d8f571c69cd059e.tar.xz |
create /run/lock
This allows /var/run and /var/lock to be symlinked to /run and
/run/lock, respectively. This would be the final step in fixing
FS#18157.
With /run/lock created early in boot it would be possible for tools
like mdadm and lvm2 to use this directory for their locking, and
maybe avoid the --sysinit parameter. This would have to be implemented
in the respective packages though.
Finally, /run/lock is created 1777 just like /var/lock is now.
For the future, it might make sense to follow systemd's lead and make
it 0755, and then create a subdir /run/lock/lockdev owned by root:lock
with permissions 0755. This would improve security and fend agains DoS
attacks, but we would have to check carefully what packages are affected.
Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'rc.multi')
0 files changed, 0 insertions, 0 deletions