Accepting request 1095850 from Base:System
- Change the group owner of /run/lock from "lock" to "root" (bsc#1212674) This allows to drop the dependency "Requires: group(lock)" that was introduced previously to make sure that the "lock" group will be kept around. This dependency introduced a dependency cycle. - file-triggers: fix a typo that sneaked in the script dealing with tmpfiles (bsc#1212733) - Make sure to keep the groups systemd and udev rely on installed. Theoretically with only "Requires(pre): group(x)", rpm is allowed to drop group 'x' at the end of the package installations. Note: this is also needed when (trans)file-triggers are enabled due to the OBS-URL: https://build.opensuse.org/request/show/1095850 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=395
This commit is contained in:
commit
00d38df404
@ -1,12 +1,26 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 27 13:02:40 UTC 2023 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
- Change the group owner of /run/lock from "lock" to "root" (bsc#1212674)
|
||||||
|
|
||||||
|
This allows to drop the dependency "Requires: group(lock)" that was introduced
|
||||||
|
previously to make sure that the "lock" group will be kept around. This
|
||||||
|
dependency introduced a dependency cycle.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 26 14:26:28 UTC 2023 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
- file-triggers: fix a typo that sneaked in the script dealing with tmpfiles
|
||||||
|
(bsc#1212733)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 21 10:30:58 UTC 2023 - Franck Bui <fbui@suse.com>
|
Wed Jun 21 10:30:58 UTC 2023 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
- Make sure to pre-install the groups systemd and udev rely on. This is needed
|
- Make sure to keep the groups systemd and udev rely on installed. Theoretically
|
||||||
when the tmpfiles are run at package installation time. Theoretically with
|
with only "Requires(pre): group(x)", rpm is allowed to drop group 'x' at the
|
||||||
only "Requires(pre): group()", rpm is allowed to drop the group at the end of
|
end of the package installations.
|
||||||
the package installations hence let's keep "Requires: group()" dep.
|
|
||||||
|
|
||||||
Note: this is also needed when (post)file-triggers are enabled due to the
|
Note: this is also needed when (trans)file-triggers are enabled due to the
|
||||||
current limitation of the default libzypp transaction backend.
|
current limitation of the default libzypp transaction backend.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
|
@ -137,10 +137,6 @@ Requires: netcfg >= 11.5
|
|||||||
Requires: systemd-default-settings-branding
|
Requires: systemd-default-settings-branding
|
||||||
Requires: systemd-presets-branding
|
Requires: systemd-presets-branding
|
||||||
Requires: util-linux >= 2.27.1
|
Requires: util-linux >= 2.27.1
|
||||||
Requires: group(lock)
|
|
||||||
# The next dependency is also needed with file-triggers enabled due to the way
|
|
||||||
# the libzypp default transaction backend works.
|
|
||||||
Requires(pre): group(lock)
|
|
||||||
Requires(post): coreutils
|
Requires(post): coreutils
|
||||||
Requires(post): findutils
|
Requires(post): findutils
|
||||||
Requires(post): systemd-presets-branding
|
Requires(post): systemd-presets-branding
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
# Legacy symlink. Maybe should be owned by util-linux ?
|
# Legacy symlink. Maybe should be owned by util-linux ?
|
||||||
L+ /etc/mtab - - - - ../proc/self/mounts
|
L+ /etc/mtab - - - - ../proc/self/mounts
|
||||||
|
|
||||||
# FIXME: Might be moved to lockded.
|
# FIXME: move to filesystem ?
|
||||||
d /run/lock 0775 root lock -
|
d /run/lock 0775 root root -
|
||||||
|
|
||||||
# FIXME: Should these one be moved to shadow ?
|
# FIXME: Move to shadow ?
|
||||||
f /var/log/wtmp 0664 root utmp -
|
f /var/log/wtmp 0664 root utmp -
|
||||||
|
@ -108,7 +108,7 @@ end
|
|||||||
-- Note: /run is never mounted during transactional updates.
|
-- Note: /run is never mounted during transactional updates.
|
||||||
if posix.access("/run/systemd/system") then
|
if posix.access("/run/systemd/system") then
|
||||||
assert(rpm.execute("systemd-tmpfiles", "--create"))
|
assert(rpm.execute("systemd-tmpfiles", "--create"))
|
||||||
endf
|
end
|
||||||
|
|
||||||
%if %{without bootstrap}
|
%if %{without bootstrap}
|
||||||
%transfiletriggerin -P 1000600 -n udev -p <lua> -- /usr/lib/udev/rules.d
|
%transfiletriggerin -P 1000600 -n udev -p <lua> -- /usr/lib/udev/rules.d
|
||||||
|
Loading…
Reference in New Issue
Block a user