Subject: policy-sources upgrade error

t l concert at europe.com
Sun Apr 25 19:32:26 UTC 2004


I've already bugzilla'ed this one:

     http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=121685

I "fixed" this by:
    1. using the ".rpmnew" files in /etc/security/selinux, that is, "mv file_contexts.rpmnew file_contexts", "mv policy.15.rpmnew policy.15", "mv policy.16.rpmnew policy.16" and "mv policy.17.rpmnew policy.17"
    2.  (the above should work for a "unmodified policy site" since the policy rpm installs the .rpmnew files).
    3. reboot in single user mode
    4. run "fixfiles relabel"
    5. reboot multi user.

I've occasionally run into the situation where "fixfiles" hangs.  I've previously bugzilla'ed this.  I just reboot single user, redo the "fixfiles" and it usually completes.

I'm not really certain of the status of the files in /etc/security/selinux/src/.... so I guess we need to wait for the fixed rpm.

Hope this helps.
    tom
---------------------------------------

Date: Sun, 25 Apr 2004 13:30:35 -0400
From: Olu Akins <b.akins at verizon.net>

Subject: policy-sources upgrade error
To: fedora-test-list at redhat.com

Message-ID: <408BF5BB.8010709 at verizon.net>

Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I just did an upgrade and this is the error reported

   1:policy-sources	   
########################################### 
[100%]
/var/tmp/rpm-tmp.37191: line 4: syntax error near unexpected token
`&&'
/var/tmp/rpm-tmp.37191: line 4: `   /usr/bin/selinuxenabled &&	&& [
-e 
/selinux/policyvers ] && \'
error: %post(policy-sources-1.11.2-18) scriptlet failed, exit status 2
W: Some errors occurred while running transaction

How do I solve this?





-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm






More information about the fedora-test-list mailing list