error setting 'httpd_enable-homedirs' boolean in F16
On Thu, Feb 9, 2012 at 11:01 AM, Daniel J Walsh <firstname.lastname@example.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> On 02/09/2012 01:58 PM, Tom London wrote:
>> I've convinced a pal at work to enable SELinux on his updated F16
>> home 'gateway' system.
>> He reports getting this:
>> bee(814)[~]# setsebool -P httpd_enable_homedirs true
>> libsepol.scope_copy_callback: passenger: Duplicate declaration in
>> module: type/attribute passenger_tmp_t (No such file or
>> directory). libsemanage.semanage_link_sandbox: Link packages failed
>> (No such file or directory). Could not change policy booleans
>> I didn't see anything like this in BZ.
>> Ring a bell?
>> [says the same in enforcing or permissive, and if the syntax is
>> '=1' instead of 'true'. *No messages in /var/log/messages.]
>> thanks, tom
> Looks like an update problem. *See if there is a file named
> passanger.pp and remove it.
> semodule -r passanger
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> iEYEARECAAYFAk80F+0ACgkQrlYvE4MpobNF+QCgzsYreBuD7V F4fXMBC2vSnPlH
> -----END PGP SIGNATURE-----
Whew.... Thanks for the start pointer.
I'm guessing he upgraded his host somehow to f16, and there were
(several) old .pp files left around (e.g., hal.pp, qpidd.pp,
Each time setsebool would complain, we would "rpm -qif XXXX" to see
that the file was not owned by any package, and would then remove it.
selinux mailing list