Ticket #176 (closed defect: fixed)
RRD server mode fails (chroot)
| Reported by: | human | Owned by: | oetiker |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | misc | Version: | 1.3dev |
| Keywords: | Cc: | berni@… |
Description
Not sure whether this is a packaging problem or a rrdtool bug... I've opened a Debian bug as well ( http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=496847)
After upgrading from rrdtool 1.2.28 to rrdtool 1.3.1 the RRD server mode does not work anymore, it claims that chroot failed with errno=2.
rrdtool 1.2.28:
# rrdtool - /tmp ? RRDtool 1.2.28 Copyright 1997-2008 by Tobias Oetiker <tobi@oetiker.ch> [...]
rrdtool 1.3.1:
# rrdtool - /tmp ERROR: can't change root to '/tmp' errno=2 #
Last calls in strace:
chroot("/tmp") = 0
write(2, "ERROR: can\'t change root to \'/tm"..., 43ERROR: can't change root
to '/tmp' errno=2



