Re: Cron after upgrade (FC6 -> FC8)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jouni Viikari wrote:
> Is it possible to run crontab job as a root any more on FC8?  I get this
> in /var/log/cron and job is not run:
> 
>  ... crond[2511]: (root) Unauthorized SELinux context (cron/root)
> 
> 
> Thanks,
> 
> Jouni
> 
> 
> # ls -lZ /var/spool/cron/
> -rw-------  root root system_u:object_r:unconfined_cron_spool_t root
> 
> # rpm -qa | grep selinux-policy-targeted
> selinux-policy-targeted-3.0.8-53.fc8
> 
> I just tried my luck (just guessing):
> 
> # chcon -t sysadm_crond_t /var/spool/cron/root 
> chcon: failed to change context of /var/spool/cron/root to
> system_u:object_r:sysadm_crond_t: Permission denied
> 
> --
> fedora-selinux-list mailing list
> fedora-selinux-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/fedora-selinux-list
Fixed in selinux-policy-3.0.8-56
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHQfC/rlYvE4MpobMRAvhpAKDr0zq4SZZnj65fLZFm4bjjW8Gc5QCfe4wb
dw+hq1FLw0IafEJkBtH1afU=
=+yEf
-----END PGP SIGNATURE-----

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux