Re: error setting 'httpd_enable-homedirs' boolean in F16

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

 



On Thu, Feb 9, 2012 at 11:01 AM, Daniel J Walsh <dwalsh@xxxxxxxxxx> 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+QCgzsYreBuD7VF4fXMBC2vSnPlH
> NfMAoLsVIkHZF/Te2su0TPk0uH0yCb/x
> =arr5
> -----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,
passanger.pp, etc.).

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.

Now works.

Thanks!
   tom

-- 
Tom London
--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux



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

  Powered by Linux