Re: Kickstart file dies at the very end of the "%post" section

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

 



On Mon, Aug 06, 2007 at 11:23:17AM -0400, Arch Willingham wrote:

> I made a custom kickstart file. It works great until the very end of
> the "%post" section. It does all the stuff I show below until it
> gets to the line that says "cp -f -v /etc/samba/smb.conf
> /etc/samba/smb.bak". I know that line never get executed and the
> line before ("mount testlinux:/nfs/fc7 /mnt/temp") it may not work
> but I have no way of knowing. I do know the line "mkdir -p
> /mnt/temp" works. Also, "mount testlinux:/nfs/fc7 /mnt/temp" works
> from the command line.

I would suspect the mount command. First, anaconda does not run
rpcbind, so you have to fire that up:

service rpcbind start

I mount a directory at installation time which I later use, so in my
kickstart %post section, I add it to fstab, like so:

# Adjust to suit!
echo "charlesc:/crc/isos/f7 /mnt/nfs nfs _netdev,ro 0 0" >> /etc/fstab

Which makes the next line possible:

mount /mnt/nfs


> Does Anaconda/Kickstart write its errors anywhere?

You can specify a log file, e.g. for a non-chroot %post section:

%post --log=/mnt/sysimage/root/post.install.log

If you don't want to go the fstab route, and starting rpcbind doesn't
do it for you, you might specify the file sytem type in the mount command.


-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB

Attachment: pgpt1lJgRFYII.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux