ALT Linux Bugzilla
– Attachment 7801 Details for
Bug 35350
Нет директории /var/lock/subsys/ на sysV
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Исправление скрипта cleanup пакета startup
fix_cleanup.patch (text/plain), 1.00 KB, created by
Антон Мидюков
on 2018-10-08 14:37:41 MSK
(
hide
)
Description:
Исправление скрипта cleanup пакета startup
Filename:
MIME Type:
Creator:
Антон Мидюков
Created:
2018-10-08 14:37:41 MSK
Size:
1.00 KB
patch
obsolete
>diff --git a/startup/rc.d/scripts/cleanup b/startup/rc.d/scripts/cleanup >index 72142d1..a8069df 100755 >--- a/startup/rc.d/scripts/cleanup >+++ b/startup/rc.d/scripts/cleanup >@@ -14,7 +14,9 @@ SourceIfNotEmpty /etc/sysconfig/system > rm -f /fastboot /fsckoptions /forcefsck /halt /poweroff > > # Clean up /var >-find /var/run/ /var/lock/ -type f -delete >+find /run/ /run/lock/ -type f -delete >+test ! -L /var/run/ && rm -fr /var/run >+test ! -L /var/lock/ && rm -fr /var/lock > > rm -rf /tmp/.X*-lock /tmp/.ICE-unix /tmp/.X11-unix /tmp/.esd /tmp/.font-unix > rm -f /tmp/esrv* >@@ -43,6 +45,7 @@ if [ -n "$CLEAN_TMP" ] && [ "$CLEAN_TMP" -ge 1 ]; then > fi > > systemd-tmpfiles --clean >+systemd-tmpfiles --remove --create --boot --exclude-prefix=/dev > > # Possibly create lastlog, faillog, utmp and wtmp, reset utmp and possibly utmpx. > for f in /var/log/{lastlog,faillog}; do >@@ -59,6 +62,4 @@ done > > /var/run/utmp > test -f /var/run/utmpx && > /var/run/utmpx > >-systemd-tmpfiles --remove --create --boot --exclude-prefix=/dev >- > exit 0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 35350
: 7801 |
7848