Bug 1328825 - new home for fedora-autorelabel
Summary: new home for fedora-autorelabel
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Lautrbach
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-20 11:16 UTC by Lukáš Nykrýn
Modified: 2016-06-27 10:58 UTC (History)
6 users (show)

Fixed In Version: policycoreutils-2.5-9.fc25
Clone Of:
Environment:
Last Closed: 2016-06-27 10:58:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lukáš Nykrýn 2016-04-20 11:16:01 UTC
We are slowly trying to remove the initscripts package and move its parts to more appropriate packages.

From the selinux land, we have there this script and associated unit files:

https://git.fedorahosted.org/cgit/initscripts.git/tree/systemd/fedora-autorelabel
https://git.fedorahosted.org/cgit/initscripts.git/tree/systemd/system/fedora-autorelabel-mark.service
https://git.fedorahosted.org/cgit/initscripts.git/tree/systemd/system/fedora-autorelabel.service

Would it be possible to find a new home for these in one of your packages?

Comment 1 Petr Lautrbach 2016-04-20 11:42:13 UTC
fedora-autorelabel uses restorecon and fixfiles, both from policycoreutils. policycoreutils are required by selinux-policy-targeted so I guess it could be part of policycoreutils.

Comment 2 Petr Lautrbach 2016-04-20 11:45:49 UTC
In the same time, I would rename all files from fedora-* to selinux-* to make it more general and applicable upstream and for other distributions as well.

Comment 3 Daniel Walsh 2016-04-21 15:47:19 UTC
SGTM

Comment 4 Lukáš Nykrýn 2016-04-22 08:45:15 UTC
Thanks! So, we should do a joined bodhi update. I have a patch for initscripts almost prepared, all I miss is a version of policycoreutils for Conflicts.
You will probably need
Conflicts: initscripts < 9.66

Comment 6 Petr Lautrbach 2016-04-25 08:03:28 UTC
Lukas, I'm building policycoreutils-2.5-6.fc25 right now. It's without the conflict to allow bootstrap buildroots in rawhide. I'll add the conflict when initscripts-9.66 are pushed to buildroots.

As for Fedora 24 - it's too late to do the rename, however we probably can move unit files from one package to other. It could be a problem for users who had disabled fedora-autorelabel* service before they updated to the new version. But I'm ready to do it, we would need just to highlight it in update.

Comment 8 Lukáš Nykrýn 2016-04-25 13:41:50 UTC
So build for rawhide is done http://koji.fedoraproject.org/koji/taskinfo?taskID=13794602 

I think we can keep the files for f24 in the initscripts package.


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