If this is Off Topic for this mailing list I apologise - please point me
in the right direction.
I have this little problem that has been bugging me for a few days with
the installation of Bruce Guenter's qmail-1.03+patches-14.src.rpm from
http://em.ca/~bruceg/qmail+patches/
When building the binary RPM from the source I get the following error
from the install script as per the screen dump below.
[root@hercules SPECS]# rpm -ba qmail-1.03+patches.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.61330
.....
[Cut] (everything here looks OK to me)
.....
/usr/src/redhat/BUILD/qmail-1.03
+ /tmp/qmail-root/usr/bin/make-owners /tmp/qmail-root/etc/qmail
/var/tmp/rpm-tmp.99466: /tmp/qmail-root/usr/bin/make-owners: Permission
denied
Bad exit status from /var/tmp/rpm-tmp.99466 (%install)
What I don't understand is why the permission problem or the real
function of make-owners.
The permissions of the various files (dirs) are listed below just in
case:
[root@hercules SPECS]# ll /tmp/qmail-root/usr/bin/make-owners
-rwxr-xr-x 1 root qmail 720 Jul 28 23:05
/tmp/qmail-root/usr/bin/make-owners
[root@hercules SPECS]# ls -lah /tmp/qmail-root/etc/qmail
total 6.0k
drwxr-xr-x 6 root qmail 1.0k Jul 28 23:05 .
drwxr-xr-x 7 root root 1.0k Jul 28 23:05 ..
drwxr-sr-x 2 alias qmail 1.0k Jul 28 23:05 alias
drwxr-xr-x 2 root qmail 1.0k Jul 28 23:05 control
drwxr-xr-x 2 root qmail 1.0k Jul 28 23:05 owners
drwxr-xr-x 2 root qmail 1.0k Jul 28 23:05 users
The only thing I have changed was the following lines in the SPEC file
to get around the FD_SET() problem with only 1024 descriptors in my
kernel.
#fds=`ulimit -n`
#let spawnlimit='(fds-6)/2'
#echo $spawnlimit >conf-spawn
echo 400 >conf-spawn
./chkspawn
Oops. Your system's FD_SET() has a hidden limit of 1024 descriptors.
This means that the qmail daemons could crash if you set the run-time
concurrency higher than 509. So I'm going to insist that the concurrency
limit in conf-spawn be at most 509. Right now it's 44997.
make: *** [spawn.o] Error 1
Bad exit status from /var/tmp/rpm-tmp.72813 (%build)
The machine is RH6.2 minimal install
Linux hercules.local 2.2.14-5.0 #1 Tue Mar 7 21:07:39 EST 2000 i686
unknown
I'm not a member of this mailing list so could any correspondence be
emailed directly please. If anyone else has had a simular problem and
have "it worked for me" solutions then they would be much appreciated.
Thanks for your time
Adrian Head