Bug 442235 - cron spool doesn't get relabelled on upgrade
Summary: cron spool doesn't get relabelled on upgrade
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Ben Levenson
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-13 04:27 UTC by Dave Jones
Modified: 2015-01-04 22:30 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2008-04-14 16:34:30 UTC


Attachments (Terms of Use)

Description Dave Jones 2008-04-13 04:27:25 UTC
I yum updated from f8 -> rawhide, and ran an autorelabel afterwards.
After booting, I got this..

inode_doinit_with_dentry: 
context_to_sid(unconfined_u:object_r:unconfined_cron_spool_t:s0) returned 22 for
dev=dm-0 ino=7824314
inode_doinit_with_dentry: 
context_to_sid(unconfined_u:object_r:unconfined_cron_spool_t:s0) returned 22 for
dev=dm-0 ino=7824333

sure enough, the contents of /var/spool/cron/ were system_u:object_r:unlabeled_t
Running restorecon on them, or even just rewriting them with crontab -e causes
them to be correctly labelled as unconfined_u:object_r:cron_spool_t

Comment 1 Daniel Walsh 2008-04-14 16:34:30 UTC
Fixed in selinux-policy-3.3.1-35.fc9


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