forked from pool/filesystem
Accepting request 135935 from home:fcrozat:branches:Base:System
- replace /var/run and /var/lock directories with symlinks to /run and /run/lock (respectively). (this is required by recent systemd) OBS-URL: https://build.opensuse.org/request/show/135935 OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=89
This commit is contained in:
parent
eb26c1cc13
commit
d0619eb2ec
@ -69,6 +69,7 @@
|
||||
0700 root root /root/.gnupg
|
||||
0755 root root /root/bin
|
||||
0755 root root /run
|
||||
1775 root lock /run/lock
|
||||
0755 root root /sbin
|
||||
0755 root root /sbin/conf.d
|
||||
0755 root root /selinux
|
||||
@ -175,8 +176,6 @@
|
||||
0755 nobody root /var/lib/nobody
|
||||
0700 root root /var/lib/pam_devperm
|
||||
0755 wwwrun root /var/lib/wwwrun
|
||||
1775 root lock /var/lock
|
||||
0755 root root /var/run
|
||||
0755 root root /var/spool
|
||||
0755 lp lp /var/spool/lpd
|
||||
0770 mail mail /var/spool/clientmqueue
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 25 12:30:57 UTC 2012 - fcrozat@suse.com
|
||||
|
||||
- replace /var/run and /var/lock directories with symlinks to
|
||||
/run and /run/lock (respectively).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 20 13:46:26 CEST 2012 - kukuk@suse.de
|
||||
|
||||
|
@ -1,4 +1,6 @@
|
||||
# links to be created
|
||||
../run /var/run
|
||||
../run/lock /var/lock
|
||||
init.d /etc/rc.d
|
||||
../var/tmp /usr/tmp
|
||||
../lock /var/spool/locks
|
||||
|
@ -183,6 +183,10 @@ test -n "$NON_EXISTING_DIR" && {
|
||||
%pre -p <lua>
|
||||
os.remove ("/usr/include/X11")
|
||||
os.remove ("/usr/lib/X11")
|
||||
os.execute ("mountpoint -q /var/lock && umount -l /var/lock")
|
||||
os.rename ("/var/lock","/var/lock.migrated")
|
||||
os.execute ("mountpoint -q /var/run && umount -l /var/run")
|
||||
os.rename ("/var/run","/var/run.migrated")
|
||||
|
||||
%files -f filesystem.list
|
||||
|
||||
@ -196,4 +200,11 @@ the home directories of system users.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user