Lines 8-22
rpm -q sysvinit || exit 0
Link Here
|
8 |
case "$GLOBAL_GROUPS" in |
8 |
case "$GLOBAL_GROUPS" in |
9 |
*_nmconnect*) groupadd -r _nmconnect ||:;; |
9 |
*_nmconnect*) groupadd -r _nmconnect ||:;; |
10 |
esac |
10 |
esac |
11 |
|
|
|
12 |
# this was a bunch of dirty complaints |
13 |
sed -i 's,/var/run,/run,' /{etc,lib}/tmpfiles.d/*.conf ||: |
14 |
|
15 |
# https://bugzilla.altlinux.org/35350 |
16 |
# this FAILS: no symlinks... |
17 |
#rm -rf /var/run /var/lock |
18 |
# ...so just revert what's been broken in failsystem package |
19 |
mkdir -p /var/run /var/lock/{serial,subsys,uucp} |
20 |
chmod 0770 /var/lock/subsys |
21 |
chmod 0770 /var/lock/{serial,uucp} |
22 |
chgrp uucp /var/lock/{serial,uucp} |