Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 544016 - net-misc/openntpd-4.0_pre20080406 - rmdir: failed to remove ‘/var/lib/openntpd/chrootetc’: No such file or directory
Summary: net-misc/openntpd-4.0_pre20080406 - rmdir: failed to remove ‘/var/lib/openntp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Paul B. Henson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-21 12:21 UTC by Martin Mokrejš
Modified: 2015-05-26 14:31 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2015-03-21 12:21:31 UTC
...
>>> Completed installing openntpd-4.0_pre20080406 into /var/tmp/portage/net-misc/openntpd-4.0_pre20080406/image/

ecompressdir: bzip2 -9 /usr/share/man
ecompressdir: bzip2 -9 /usr/share/doc

>>> Installing (1 of 1) net-misc/openntpd-4.0_pre20080406
 * Setting up chroot for ntp in /var/lib/openntpd/chroot
rmdir: failed to remove ‘/var/lib/openntpd/chrootetc’: No such file or directory
>>> Auto-cleaning packages...
Comment 1 Paul B. Henson 2015-05-26 01:01:35 UTC
Sorry for the delayed response, bugzilla mail to me doesn't seem very reliable, I never saw the email when this was opened and just found it while reviewing open tickets :(.

This predates my ownership of openntpd, but it looks like <=openntpd-20080406-r7 created /var/lib/openntpd/chrootetc instead of /var/lib/openntpd/chroot/etc, and this is just trying to clean it up if it's there?

So the error just means you don't have that invalid leftover on your system and can be ignored.

This should probably be changed to something like

[-d "${EROOT%/}${NTP_HOME}"etc ] && rmdir "${EROOT%/}${NTP_HOME}"etc

to keep it from complaining when there's nothing to do.

Christoph, if you concur, would you mind pushing that change?

Thanks...
Comment 2 Christoph Junghans (RETIRED) gentoo-dev 2015-05-26 14:31:34 UTC
+  26 May 2015; Christoph Junghans <ottxor@gentoo.org>
+  openntpd-4.0_pre20080406.ebuild:
+  silence rmdir (bug #544016)
+