When using yum in a %post section of a kickstart a number of services are unavailable that yum would normally use. I got the error message “SysLogHandler instance has no attribute ‘unixsocket’” which is because syslog is unavailable and normally listens on the /dev/log device.
To get around this is i just moved the device file […]
A simple and quick way to test RPM dependencies is to use the rpm tool itself. You’ll need to be root as rpm needs to write transaction locks in the /var directory but providing you use the –dbpath and –test arguments your system will not be effected in any way apart from the new directory […]
As is recommended by the new RPM book it is always a good idea to build RPMS as a user other than root. It’s very simple to do this, just run the following commands in order -
echo “%_topdir $HOME/rpm” > ~/.rpmmacros
mkdir -p $HOME/rpm/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
mkdir -p $HOME/rpm/RPMS/{i386,i586,i686,noarch}
Thats it; you can install SRPMS in your home directory […]