On Fri, 16 Mar 2012, Daniel Hartwig wrote:
> On 16 March 2012 01:43, Cristian Ionescu-Idbohrn
> <cristian.ionescu-idbo...@axis.com> wrote:
> >
> > Yeah, there was something there [/var/log/distccd.log]:
> >
> > distccd[20344] (main) ERROR: failed to chdir to /tmp/user/0: Permission 
> > denied
>
> The location is read from TMPDIR.
>
> > That seems to be related to the "per user /tmp directory" recent hack.
>
> Seems like libpam-tmpdir is causing problems with other programs as
> well.[1]
>
> Note that /etc/init.d/distcc is using start-stop-daemon with '--chuid
> distccd'.
>
> [1] http://bugs.debian.org/656750

Yes, but so do many other daemons.  Does libpam-tmpdir break all of them?
Doensn't seem so, but I might be wrong.

> > Sure thing.  User 'distccd' has no access to /tmp/user/0.  It should
> > chdir to /tmp/user/129 instead.
>
> By any chance, were you installing via su?

Yes.

# echo $TMPDIR
/tmp/user/0


Cheers,

-- 
Cristian



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to