!64 systemd
From: @openeuler-basic Reviewed-by: @overweight Signed-off-by: @overweight
This commit is contained in:
commit
9d0d5a8811
16
systemd.spec
16
systemd.spec
@ -20,7 +20,7 @@
|
||||
Name: systemd
|
||||
Url: https://www.freedesktop.org/wiki/Software/systemd
|
||||
Version: 246
|
||||
Release: 8
|
||||
Release: 9
|
||||
License: MIT and LGPLv2+ and GPLv2+
|
||||
Summary: System and Service Manager
|
||||
|
||||
@ -528,12 +528,6 @@ systemctl daemon-reexec &>/dev/null || :
|
||||
journalctl --update-catalog &>/dev/null || :
|
||||
systemd-tmpfiles --create &>/dev/null || :
|
||||
|
||||
# create /var/log/journal only on initial installation,
|
||||
# and only if it's writable (it won't be in rpm-ostree).
|
||||
if [ $1 -eq 1 ] && [ -w %{_localstatedir} ]; then
|
||||
mkdir -p %{_localstatedir}/log/journal
|
||||
fi
|
||||
|
||||
# Make sure new journal files will be owned by the "systemd-journal" group
|
||||
machine_id=$(cat /etc/machine-id 2>/dev/null)
|
||||
chgrp systemd-journal /{run,var}/log/journal/{,${machine_id}} &>/dev/null || :
|
||||
@ -1489,6 +1483,12 @@ fi
|
||||
%exclude /usr/share/man/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed Dec 16 2020 shenyangyang <shenyangyang4@huawei.com> - 246-9
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:do not create /var/log/journal on initial installation
|
||||
|
||||
* Wed Nov 25 2020 shenyangyang <shenyangyang4@huawei.com> - 246-8
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
@ -1946,7 +1946,7 @@ fi
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:restart
|
||||
- DESC:do not create /var/log/journal on initial installation refer to redhat8
|
||||
- DESC:do not create /var/log/journal on initial installation
|
||||
|
||||
* Sat Feb 02 2019 Yi Cang<cangyi@huawei.com> - 239-3.h3
|
||||
- Type:enhance
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user