9753a77a76
initscripts package is being slowly removed so fedora-autorelabel utility and systemd unit files need a new home. At the same time, "fedora-" prefix is changed to general "selinux-". /lib/systemd/fedora-autorelabel -> /usr/libexec/selinux/selinux-autorelabel fedora-autorelabel.service -> selinux-autorelabel.service fedora-autorelabel-mark.service -> selinux-autorelabel-mark.service Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1328825
16 lines
371 B
Desktop File
16 lines
371 B
Desktop File
[Unit]
|
|
Description=Mark the need to relabel after reboot
|
|
DefaultDependencies=no
|
|
Requires=local-fs.target
|
|
Conflicts=shutdown.target
|
|
After=local-fs.target
|
|
Before=sysinit.target shutdown.target
|
|
ConditionSecurity=!selinux
|
|
ConditionPathIsDirectory=/etc/selinux
|
|
ConditionPathExists=!/.autorelabel
|
|
|
|
[Service]
|
|
ExecStart=-/bin/touch /.autorelabel
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|