From: Reza A. <ar...@au...> - 2009-06-17 20:36:29
|
Hi Jørn, On 16 Jun 2009, 03:41AM CDT, Jørn Amundsen <Jor...@nt...> wrote: > 2. Change the last line in /etc/webmin/stop from > kill `cat $pidfile` > to > if [ -s $pidfile ]; then kill `cat $pidfile`; fi I built webmin-1.150-2 with this change: <ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/webmin/webmin-1.150-2.aix5.2.noarch.rpm> > BTW, /etc/webmin/stop is not listed in the spec file files section. It > should be, > > root@f01n02:/# rpm -qf /etc/webmin/stop > file /etc/webmin/stop is not owned by any package While /etc/webmin/stop does rightfully belong to the webmin package, it can't be put in %files because it is not actually contained in the RPM package. As you found, it is instead created dynamically in %post by setup.sh. So, 'rpm -qf' will not provide a useful result. At least they took care not to leave a mess behind when the package is uninstalled. The %postun section will remove all of /etc/webmin. Thanks for your fix! -- Reza Arbab ar...@au... |