Bug 66671 - ntp-4.2.0 wrong default install directory
Bug#: 66671 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: vapier@gentoo.org Reported By: kaiowas@gentoo.org
Component: Applications
URL:  http://bugzilla.ntp.org/show_bug.cgi?id=344
Summary: ntp-4.2.0 wrong default install directory
Keywords:  
Status Whiteboard: 
Opened: 2004-10-07 10:47 0000
Description:   Opened: 2004-10-07 10:47 0000
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 From petre rodan (RETIRED) 2004-10-07 10:48:13 0000 -------
Created an attachment (id=41298) [details]
ntp-4.2.0-r2.ebuild.diff

------- Comment #2 From petre rodan (RETIRED) 2004-10-07 10:48:45 0000 -------
Created an attachment (id=41299) [details]
4.2.0-sbin.patch

------- Comment #3 From SpanKY 2004-10-07 14:01:10 0000 -------
why ?

------- Comment #4 From petre rodan (RETIRED) 2004-10-07 23:52:40 0000 -------
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 From SpanKY 2004-10-28 17:44:56 0000 -------
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 From SpanKY 2004-11-09 07:45:05 0000 -------
4.2.0.20040617 now installs into sbin

------- Comment #7 From Scott Taylor (RETIRED) 2004-11-09 11:24:18 0000 -------
/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 From Stefan Briesenick 2004-11-09 14:03:54 0000 -------
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 From SpanKY 2004-11-09 21:38:20 0000 -------
that was handled by another bug