SELinux errors: invalid context & inode_doinit_with_dentry: context_to_sid() returned 22

Vladimir G. Ivanovic vladimir at acm.org
Sun Nov 6 20:03:13 UTC 2005


Davide Bolcioni asks:

    Vladimir G. Ivanovic wrote:
       vgi>     Note to self: When replacing *important* libraries like
       vgi>     libselinux.so, don't just blast the unwanted RPM
       vgi>     package away, figuring on then installing the new one. 
       vgi>     Instead, use --oldpackage or --force to
       vgi>     replace the unwanted package with the desired one in
       vgi>     atomic operation. Failure to do so will make both rpm
       vgi>     and yum (and many other programs) unusable.

    db> Is the above advisable ? Does this mean that "rpm -U" or
    db> even "yum update" would be inappropriate ?

"rpm -U" and "yum update" do not (AFAIK) install older versions. My
advice applies only when one is going backwards in versions.

--- Vladimir

-- 
Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014




More information about the fedora-selinux-list mailing list