On Sat, 2008-12-06 at 20:54 -0500, Konstantin Ryabitsev wrote:
On Sat, Dec 6, 2008 at 11:38 AM, Craig White craigwhite@azapple.com wrote:
doing upgrade to F10 reports this error when installing package...
Updating : selinux-policy-targeted 182/397 libsepol.context_from_record: type memcached_port_t is not defined libsepol.context_from_record: could not create context structure (Invalid argument). libsepol.port_from_record: could not create port structure for range 11211:11211 (tcp) (Invalid argument). libsepol.sepol_port_modify: could not load port range 11211 - 11211 (tcp) (Invalid argument). libsemanage.dbase_policydb_modify: could not modify record value (Invalid argument). libsemanage.semanage_base_merge_components: could not merge local modifications into policy (Invalid argument). semodule: Failed!
grep finds the argument here... # grep -r 11211 /etc/selinux/ /etc/selinux/targeted/modules/active/ports.local:portcon tcp 11211 system_u:object_r:memcached_port_t:s0
Is this something I need to worry about/fix? (I do use memcached in a RAILS development application)
I'm guessing you installed memcached-selinux package before the upgrade?
---- I ran 'preupgrade' and then a 'yum update' which seemed to pick up some missed stuff.
If the returned order of grep is to be believed, then no...
# grep selinux upgrade.log* upgrade.log:Upgrading libselinux-2.0.73-1.fc10.i386 upgrade.log:Upgrading libselinux-utils-2.0.73-1.fc10.i386 upgrade.log:Upgrading libselinux-devel-2.0.73-1.fc10.i386 upgrade.log:Upgrading libselinux-python-2.0.73-1.fc10.i386 upgrade.log:Upgrading selinux-policy-3.5.13-18.fc10.noarch upgrade.log:Upgrading selinux-policy-targeted-3.5.13-18.fc10.noarch upgrade.log:Upgrading memcached-selinux-1.2.5-2.fc10.i386
Craig