Article View: news.software.nntp
Article #71753Re: inndstart under daemontools's supervise(8)
From: Andrew Raines
Date: Wed, 01 Jun 2005 21:23
Date: Wed, 01 Jun 2005 21:23
22 lines
1959 bytes
1959 bytes
"Miquel van Smoorenburg" <miquels@netscum.invalid> writes:
> Note that when you use strace, the setuid bit doesn't
> work for security reasons. If you want to strace a setuid
> root binary, run it as root, not as some other user.
I was running strace as root, however, when setuidgid forks
it changes the UID to the news user. So, when inndstart
starts its UID is 9, but it's being monitored by a parent
process of 0. That would explain why in news.crit I'm only
seeing the ``can't seteuid'' error when I strace.
When I run without strace, I get errors about OVDB. My run
script doesn't mess with ovdb_monitor which is apparently a
problem. I changed ovmethod to tradindexed, rebuilt the
history, and now it works. I had to remove the envdir I
was using too.
Thanks Mike!
--
aa@raines.ws (Andrew A. Raines)
Technical Details
Message-ID:
<uoeapn54x.fsf@raines.ws>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<umzqgts2a.fsf@raines.ws> <usm08rzpx.fsf@raines.ws> <87y8a0p4oq.fsf@windlord.stanford.edu> <ufyw2niw6.fsf@raines.ws> <d7l41b$6s3$1@news.cistron.nl>Show Full Headers
Complete Article Headers
Message-ID: <uoeapn54x.fsf@raines.ws> Subject: Re: inndstart under daemontools's supervise(8) Date: Wed, 01 Jun 2005 16:23:10 -0500 From: Andrew Raines <aa@raines.ws> References: <umzqgts2a.fsf@raines.ws> <usm08rzpx.fsf@raines.ws> <87y8a0p4oq.fsf@windlord.stanford.edu> <ufyw2niw6.fsf@raines.ws> <d7l41b$6s3$1@news.cistron.nl> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.nntp Lines: 22 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: individual.net HR4dCd95AFp8E2D0hqGnuw7uczQlzo/DZlBB1eaVkwum+fLJ8q X-PGP-Key: http://raines.ws/pubkey.asc Mail-Copies-To: never User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:wJILc/rXG78pGB0XuuCnecVA7qI=