Bug 1589720 - systemd presets request - selinux-autorelabel-mark.service
Summary: systemd presets request - selinux-autorelabel-mark.service
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-release
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Stephen Gallagher
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-11 09:08 UTC by Petr Lautrbach
Modified: 2023-09-14 04:29 UTC (History)
10 users (show)

Fixed In Version: fedora-release-29-0.5.noarch
Clone Of:
Environment:
Last Closed: 2018-07-16 11:32:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Petr Lautrbach 2018-06-11 09:08:19 UTC
* Does the service require post-rpm-installation configuration in order to be useful (for example, does it need manual edits to a configuration file)?

No

* Does the service listen on a network socket for connections originating on a separate physical or virtual machine?

No

* Is the service non-persistent (i.e. run once at startup and exit)?

Yes

* What is the exact name (or names) of the systemd unit files to be enabled?

selinux-autorelabel-mark.service

* Is this request for all Fedora deliverables or only for some Editions (list them)?

All



The current situation is that selinux-autorelabel-mark.service services is enabled via symlink shipped in policycoreutils package:

ln -s ../selinux-autorelabel-mark.service %{buildroot}/%{_unitdir}/basic.target.wants/


When this request is resolved, we'll change the service to use:

[Install]
WantedBy=sysinit.target

and policycoreutils.spec file to use:

%post
%systemd_post selinux-autorelabel-mark.service

%preun
%systemd_preun selinux-autorelabel-mark.service



This is based on the initscripts change which happened in rhel7-branch - https://github.com/fedora-sysv/initscripts/commit/995e8ad74f5a6bc51f28c0be4ed02c547e0891d6

Comment 1 Stephen Gallagher 2018-06-13 15:33:28 UTC
PR submitted as https://pagure.io/fedora-release/pull-request/143

Mohan, please review and merge for Fedora 29.

Comment 2 Petr Lautrbach 2018-07-16 11:32:58 UTC
Thanks!

Comment 3 Red Hat Bugzilla 2023-09-14 04:29:40 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


Note You need to log in before you can comment on or make changes to this bug.