Accepting request 1010464 from Base:System

- Check ownership of initrd.msg before adding it to boot.msg (bsc#1204245)

OBS-URL: https://build.opensuse.org/request/show/1010464
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/syslogd?expand=0&rev=101
This commit is contained in:
Dominique Leuenberger 2022-10-14 13:40:06 +00:00 committed by Git OBS Bridge
commit 8048156e1c
2 changed files with 6 additions and 1 deletions

View File

@ -44,7 +44,7 @@ Environment=KLOG_CONSOLE=10
EnvironmentFile=-/etc/sysconfig/boot
ExecStart=/bin/sh -c "test -s /var/log/boot.msg && /bin/mv -f /var/log/boot.msg /var/log/boot.omsg || :"
ExecStart=/bin/sh -c "/bin/dmesg -r > /var/log/boot.msg"
ExecStart=/bin/sh -c "test -s /dev/shm/initrd.msg && /bin/cat /dev/shm/initrd.msg >> /var/log/boot.msg || :"
ExecStart=/bin/sh -c "test -s /dev/shm/initrd.msg -a -O /dev/shm/initrd.msg && /bin/cat /dev/shm/initrd.msg >> /var/log/boot.msg || :"
ExecStart=/bin/sh -c "test -c /dev/tty$KLOG_CONSOLE && /usr/bin/setlogcons $KLOG_CONSOLE || :"
ExecStart=/bin/sh -c "if test -n \"$CONSOLE_LOGLEVEL\" ; then /bin/dmesg -n $CONSOLE_LOGLEVEL || : ; fi"

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Oct 13 06:32:11 UTC 2022 - Dr. Werner Fink <werner@suse.de>
- Check ownership of initrd.msg before adding it to boot.msg (bsc#1204245)
-------------------------------------------------------------------
Wed Aug 31 12:40:57 UTC 2022 - Stefan Schubert <schubi@suse.com>