RE: preinstall section - how to backup ssh keys?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2 Dec 2003, Crow69 aka thedude wrote:

> Is it required to have "--nochroot" in my "%post" section?  I have a lot of 
> other things in "%post" and am not currently using "--nochroot".  I thought 
> I should still be able to see the /tmp/ssh directory created in the "%pre" 
> section, correct?  It does not seem to work, though, since I do not see the 
> /tmp/ssh directory in the "%post" section.  I did an "ls -la" on /tmp in the 
> "%post" section, and the only thing there was:

--nochroot is needed to see the /tmp from %pre.  Otherwise you are chrooted into
/mnt/sysimage.


------------------------------------------------------------------------
Jim Wildman, CISSP, RHCE                                jim@xxxxxxxxxxxxx
http://www.rossberry.com




[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux