[ale] Can't Log In After LVM2 Removal

Jeff Hubbs jhubbslist at att.net
Mon May 24 12:40:54 EDT 2010


Yep, SELinux was the culprit.

On 5/24/10 12:10 PM, Jim Kinney wrote:
> works best with UUID names
>
> You may need to turn off selinux as  a test. If that solves the 
> problem, then you need to force a relabel with touch /.autorelabel
>
> On Mon, May 24, 2010 at 11:42 AM, Jeff Hubbs <jhubbslist at att.net 
> <mailto:jhubbslist at att.net>> wrote:
>
>     Fstab was changed from the labels to the device names (e.g.
>     /dev/sda3).  Are you saying that won't work in RH-alikes?
>
>
>     On 5/24/10 11:37 AM, Jim Kinney wrote:
>>     centos and RH use partition names in /etc/fstab. If the LVM stack
>>     is removed, the partition naming is now gone.
>>
>>     It's easier to reinstall and manually create partitions than to
>>     migrate from LVM to not-LVM.
>>
>>     On Mon, May 24, 2010 at 10:58 AM, Jeff Hubbs <jhubbslist at att.net
>>     <mailto:jhubbslist at att.net>> wrote:
>>
>>         I'm trying to take the default LVM2 arrangement out from
>>         within a CentOS
>>         5.4 install and replace it with the classic
>>         three-primary-partition
>>         arrangement...my machine boots up and I get a login prompt,
>>         but when I
>>         try to log in I see for an instant "no shell. permission
>>         denied."  Net
>>         doesn't start so I can't shell in.
>>
>>         Permissions of /root, /bin/bash, /etc/passwd and everything
>>         else I can
>>         think of are rwx for root...the tarball I made from the LV
>>         contents used
>>         a "p" in the args coming and going.
>>
>>         I've put some things in root's crontab and rc.local that do
>>         file writes;
>>         I am led to believe that my / is read-only when I boot.
>>
>>         I can boot up to single-user mode and my / is read-write, for
>>         what it's
>>         worth.
>>
>>         What might I have missed?
>>         _______________________________________________
>>         Ale mailing list
>>         Ale at ale.org <mailto:Ale at ale.org>
>>         http://mail.ale.org/mailman/listinfo/ale
>>         See JOBS, ANNOUNCE and SCHOOLS lists at
>>         http://mail.ale.org/mailman/listinfo
>>
>>
>>
>>
>>     -- 
>>     -- 
>>     James P. Kinney III
>>     Actively in pursuit of Life, Liberty and Happiness
>>     Doing pretty well on all 3 pursuits
>>
>>
>>     _______________________________________________
>>     Ale mailing list
>>     Ale at ale.org  <mailto:Ale at ale.org>
>>     http://mail.ale.org/mailman/listinfo/ale
>>     See JOBS, ANNOUNCE and SCHOOLS lists at
>>     http://mail.ale.org/mailman/listinfo
>>        
>
>
>     _______________________________________________
>     Ale mailing list
>     Ale at ale.org <mailto:Ale at ale.org>
>     http://mail.ale.org/mailman/listinfo/ale
>     See JOBS, ANNOUNCE and SCHOOLS lists at
>     http://mail.ale.org/mailman/listinfo
>
>
>
>
> -- 
> -- 
> James P. Kinney III
> Actively in pursuit of Life, Liberty and Happiness
> Doing pretty well on all 3 pursuits
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20100524/2dd44770/attachment.html 


More information about the Ale mailing list