Re: post script hanging system

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

 



I thought about that... any maybe that is the case. Any idea how to test
that out inside of anaconda?

Perhaps I could just try the same command from another console.

Cheers,
Harry

On 02/27/2013 11:31 AM, Chris Lumens wrote:
>> I have a post install script to automagically change root's passwd to
>> something random:
>> echo "root:`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 20 | head
>> -1`" > /root/`hostname`.passwd && cat /root/`hostname`.passwd |chpasswd
>>
>> If I run this on the command line of a already installed system then the
>> command executes as expected and returns me to my shell prompt
>>
>> When executed inside of the installer the system hangs. If I switch
>> consoles to F2 I see the cat command as well as tr and fold all running.
>> If i kill the cat command then the system finishes installing and reboots.
>>
>> I'm not sure why it's not working inside of the install environment but
>> works in a installed environment.
> 
> Perhaps you do not have enough entropy, so things are hung waiting for
> more to appear so it can spit out more random numbers?
> 
> - Chris
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/kickstart-list
> 

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list


[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