-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello Everyone!
Apologies for my lack of knowledge. If you are inclined to reply RTFM!, by all means do so, but include a link to TFM, please :-)
When I run YUM, it runs briefly, then just sits there. Even when I do 'setenforce 0'. If I reboot with selinux=0 and the command line, it works. I can't find any complaints in any logs (tips on this appreciated too). Is there a way to allow updates without two complete shutdowns plus a file fix?
Thanks in advance, JJ
Fedora Core release 3 (Heidelberg) Linux www.johnjohnson.info 2.6.10-1.770_FC3 #1 Thu Feb 24 14:00:06 EST 2005 i686 i686 i386 GNU/Linux yum version 2.2.0
On Mon, 2005-03-21 at 09:31 -0500, John Johnson wrote:
When I run YUM, it runs briefly, then just sits there. Even when I do 'setenforce 0'. If I reboot with selinux=0 and the command line, it works. I can't find any complaints in any logs (tips on this appreciated too). Is there a way to allow updates without two complete shutdowns plus a file fix?
And if you do a 'touch /.autorelabel; reboot' and do *not* pass selinux=0, then yum hangs again?
My suspicion is that you had some other random problem such as a lack of disk space or stale lock file or something, and the time you rebooted with selinux=0 the problem went away for reasons unrelated to SELinux (such as tmp/lock file cleanup on reboot).
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 21-Mar-2005, at 09:52, Colin Walters wrote:
On Mon, 2005-03-21 at 09:31 -0500, John Johnson wrote:
When I run YUM, it runs briefly, then just sits there. Even when I do
And if you do a 'touch /.autorelabel; reboot' and do *not* pass selinux=0, then yum hangs again?
That worked Colin, thanks!
Even up2date works now. Maybe I'll find out why after learning more about SE.
Thanks again!
Regards, JJ
On Tue, 2005-03-22 at 15:27 -0500, John Johnson wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 21-Mar-2005, at 09:52, Colin Walters wrote:
On Mon, 2005-03-21 at 09:31 -0500, John Johnson wrote:
When I run YUM, it runs briefly, then just sits there. Even when I do
And if you do a 'touch /.autorelabel; reboot' and do *not* pass selinux=0, then yum hangs again?
That worked Colin, thanks!
Even up2date works now. Maybe I'll find out why after learning more about SE.
Again, I don't think your problem related to SELinux at all.
My suggested command should have essentially just restored your system to its state before you booted with selinux=0.
In the future, I'd suggest trying other solutions before rebooting with selinux=0, particularly if you don't see any "avc: denied" messages in your system log.
You should always try enforcing=0 at the command line or setenforce 0 To turn off selinux enforcing mode and then see if the problem goes away. selinux=0 should always be a last resort, since if you want selinux turned back on you will need a relabel.
Dan
selinux@lists.fedoraproject.org