Re: FC6 selinux-policy-targeted

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

 



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

Riku Seppälä wrote:
> Daniel J Walsh wrote:
> Riku Seppälä wrote:
>  
>>>> Daniel J Walsh wrote:
>>>>    
>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>> Hash: SHA1
>>>>>
>>>>> Riku Seppälä wrote:
>>>>>  
>>>>>      
>>>>>> Just did yum update on my FC6 machine.
>>>>>>
>>>>>> Updating  : selinux-policy-targeted      #######################
>>>>>> [12/56]
>>>>>> libsepol.context_from_record: type httpd_nagios_script_exec_t is not
>>>>>> defined
>>>>>> libsepol.context_from_record: could not create context structure
>>>>>> libsepol.context_from_string: could not create context structure
>>>>>> libsepol.sepol_context_to_sid: could not convert
>>>>>> system_u:object_r:httpd_nagios_script_exec_t:s0 to sid
>>>>>> /etc/selinux/targeted/contexts/files/file_contexts:  line 270 has
>>>>>> invalid context system_u:object_r:httpd_nagios_script_exec_t:s0
>>>>>> libsemanage.semanage_install_active: setfiles returned error code 1.
>>>>>> semodule:  Failed!
>>>>>>
>>>>>>
>>>>>> Should I worry? :)
>>>>>>
>>>>>>
>>>>>> Riku
>>>>>>
>>>>>>             
>>>>> Which policy version?
>>>>>         
>>>> selinux-policy-targeted.noarch 2.4.6-88.fc6
>>>>
>>>>     
> Try 2.4.6-94.fc6.
>>

> Updating  : selinux-policy-targeted      ######################### [2/4]
> /etc/selinux/targeted/contexts/files/file_contexts: Multiple same
> specifications for /usr/lib/vlc/codec/libdmo_plugin.so.
> /etc/selinux/targeted/contexts/files/file_contexts: Multiple same
> specifications for /usr/lib/vlc/codec/librealaudio_plugin.so.
> /sbin/restorecon reset /etc/asound.state context
> system_u:object_r:etc_runtime_t:s0->system_u:object_r:etc_t:s0
>  Cleanup   : selinux-policy-targeted      ######################### [3/4]

> I've seen that "Multiple same specifications..." line several times
> while updating and never really cared what it really means, but I don't
> remember ever seeing that
> /sbin/restorecon reset /etc/asound.state context
> system_u:object_r:etc_runtime_t:s0->system_u:object_r:etc_t:s0 line before.

> Riku

multiple same specs are probably caused by some rpm adding file context
for librealaudio.

semanage fcontext -d /usr/lib/vlc/codec/librealaudio_plugin.so
semanage fcontext -d /usr/lib/vlc/codec/libdmo_plugin.so

Will probably remove them.


The restorecon line found /etc/asound.state labeled etc_runtime_t and
expected it to be labeled etc_t, so it relabeled.  Anytime you update
the selinux policy package, it looks at the old file_context file and
the new and then runs restorecon on the files/directories that have changed.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHAcL9rlYvE4MpobMRAvARAJ9bI92VMEupzpfVLN1BScOjoX/OAACg5cDP
pM4fyMe23P4uxouxBEa2YV8=
=E+hH
-----END PGP SIGNATURE-----

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux