Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 66671

Summary: ntp-4.2.0 wrong default install directory
Product: Gentoo Linux Reporter: petre rodan (RETIRED) <kaiowas>
Component: Current packagesAssignee: SpanKY <vapier>
Status: RESOLVED FIXED    
Severity: normal CC: sbriesen
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
URL: http://bugzilla.ntp.org/show_bug.cgi?id=344
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ntp-4.2.0-r2.ebuild.diff
4.2.0-sbin.patch

Description petre rodan (RETIRED) gentoo-dev 2004-10-07 10:47:30 UTC
please be so kind and use the attached patch on net-misc/ntp to ensure that ntpd and ntpdate will get installed in $PREFIX/sbin as they should

many thanks,
peter
Comment 1 petre rodan (RETIRED) gentoo-dev 2004-10-07 10:48:13 UTC
Created attachment 41298 [details, diff]
ntp-4.2.0-r2.ebuild.diff
Comment 2 petre rodan (RETIRED) gentoo-dev 2004-10-07 10:48:45 UTC
Created attachment 41299 [details, diff]
4.2.0-sbin.patch
Comment 3 SpanKY gentoo-dev 2004-10-07 14:01:10 UTC
why ?
Comment 4 petre rodan (RETIRED) gentoo-dev 2004-10-07 23:52:40 UTC
http://marc.theaimsgroup.com/?l=selinux&m=109714205713448&w=2

I agree 100% with what Russell told us. Those two binaries shouldn't be in /usr/bin. At least debian and redhat places them in /usr/sbin where they belong.

on the funny side, just search '/usr/bin/ntpd' and '/usr/sbin/ntpd' in google: 77 vs 2140
Comment 5 SpanKY gentoo-dev 2004-10-28 17:44:56 UTC
ok, i guess i (foolishly) assumed it was done on purpose and not because people can complain loudly :)

i'll have to tweak the openntpd/ntpd relationship, but i'll make this change
Comment 6 SpanKY gentoo-dev 2004-11-09 07:45:05 UTC
4.2.0.20040617 now installs into sbin
Comment 7 Scott Taylor (RETIRED) gentoo-dev 2004-11-09 11:24:18 UTC
/etc/init.d/ntpd still refers to /usr/bin

Perhaps add some sed magic so changing it in ${FILESDIR} doesn't break the old
versions that haven't moved it...
Comment 8 Stefan Briesenick (RETIRED) gentoo-dev 2004-11-09 14:03:54 UTC
yes, I can confirm, that the init-script still tries to start /usr/bin/ntpd instead of /usr/sbin/ntpd. Should be easy to fix. ;-)
Comment 9 SpanKY gentoo-dev 2004-11-09 21:38:20 UTC
that was handled by another bug