From 792370f28d010afe17a27342cff6b3cde830c74e Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Mar 06 2018 07:07:12 +0000 Subject: Fix transfiletrigger script --- diff --git a/systemd.spec b/systemd.spec index bd8e0d6..0c3a380 100644 --- a/systemd.spec +++ b/systemd.spec @@ -13,7 +13,7 @@ Name: systemd Url: http://www.freedesktop.org/wiki/Software/systemd Version: 238 -Release: 1%{?gitcommit:.git%{gitcommitshort}}%{?dist} +Release: 2%{?gitcommit:.git%{gitcommitshort}}%{?dist} # For a breakdown of the licensing, see README License: LGPLv2+ and MIT and GPLv2+ Summary: System and Service Manager @@ -703,6 +703,9 @@ fi %files tests -f .file-list-tests %changelog +* Mon Mar 6 2018 Yu Watanabe - 238-2 +- Fix transfiletrigger script (#1551793) + * Mon Mar 5 2018 Zbigniew Jędrzejewski-Szmek - 238-1 - Update to latest version - This fixes a hard-to-trigger potential vulnerability (CVE-2018-6954) diff --git a/triggers.systemd b/triggers.systemd index e76e269..90a5d84 100644 --- a/triggers.systemd +++ b/triggers.systemd @@ -84,7 +84,7 @@ if posix.access("/run/systemd/system") then end end -%transfiletriggerin -P 100500 -- /usr/lib/tmpfiles.d +%transfiletriggerin -P 100500 -p -- /usr/lib/tmpfiles.d -- This script will process files installed in /usr/lib/tmpfiles.d to create -- tmpfiles automatically. The priority is set such that it will run -- after the sysusers file trigger, but before any other triggers. @@ -97,7 +97,7 @@ if posix.access("/run/systemd/system") then end end -%transfiletriggerin -- /usr/lib/udev/hwdb.d +%transfiletriggerin -p -- /usr/lib/udev/hwdb.d -- This script will automatically invoke hwdb update if files have been -- installed or updated in /usr/lib/udev/hwdb.d. if posix.access("/run/systemd/system") then @@ -109,7 +109,7 @@ if posix.access("/run/systemd/system") then end end -%transfiletriggerin -- /usr/lib/systemd/catalog +%transfiletriggerin -p -- /usr/lib/systemd/catalog -- This script will automatically invoke journal catalog update if files -- have been installed or updated in /usr/lib/systemd/catalog. if posix.access("/run/systemd/system") then @@ -121,7 +121,7 @@ if posix.access("/run/systemd/system") then end end -%transfiletriggerin -- /usr/lib/udev/rules.d +%transfiletriggerin -p -- /usr/lib/udev/rules.d -- This script will automatically update udev with new rules if files -- have been installed or updated in /usr/lib/udev/rules.d. if posix.access("/run/systemd/system") then @@ -133,7 +133,7 @@ if posix.access("/run/systemd/system") then end end -%transfiletriggerin -- /usr/lib/sysctl.d +%transfiletriggerin -p -- /usr/lib/sysctl.d -- This script will automatically apply sysctl rules if files have been -- installed or updated in /usr/lib/sysctl.d. if posix.access("/run/systemd/system") then @@ -145,7 +145,7 @@ if posix.access("/run/systemd/system") then end end -%transfiletriggerin -- /usr/lib/binfmt.d +%transfiletriggerin -p -- /usr/lib/binfmt.d -- This script will automatically apply binfmt rules if files have been -- installed or updated in /usr/lib/binfmt.d. if posix.access("/run/systemd/system") then