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

Bug 484500

Summary: net-misc/openntpd-20080406-r3 clashes with net-misc/net-4.2.6_p5-r3 for /usr/lib/systemd/system/ntpd.service
Product: Gentoo Linux Reporter: Ian Abbott <ian>
Component: [OLD] ServerAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: junghans, systemd
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 477714, 480084    
Attachments: Build log for =net-misc/openntpd-20080406-r3
# emerge --info

Description Ian Abbott 2013-09-10 16:47:23 UTC
Created attachment 358420 [details]
Build log for =net-misc/openntpd-20080406-r3

If net-misc/ntp-4.2.6_p5-r3 is built (and installed) with USE="openntpd", it becomes impossible to emerge =net-misc/openntpd-20080406-r3 due to a file collision on the file "/usr/lib/systemd/system/ntp.service".

 * Detected file collision(s):
 * 
 * 	/usr/lib/systemd/system/ntpd.service
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * net-misc/ntp-4.2.6_p5-r3:0::gentoo
 * 	/usr/lib/systemd/system/ntpd.service
Comment 1 Ian Abbott 2013-09-10 16:55:32 UTC
# emerge -pv1 =net-misc/ntp-4.2.6_p5-r3
[ebuild   R    ] net-misc/ntp-4.2.6_p5-r3  USE="ipv6 openntpd samba snmp ssl -caps -debug -parse-clocks (-selinux) -vim-syntax -zeroconf" 0 kB

# emerge -pv1 =net-misc/openntpd-20080406-r3
[ebuild     U  ] net-misc/openntpd-20080406-r3 [20080406-r2] USE="ssl (-selinux)" 0 kB
Comment 2 Ian Abbott 2013-09-10 16:56:54 UTC
Created attachment 358422 [details]
# emerge --info
Comment 3 Christoph Junghans (RETIRED) gentoo-dev 2013-09-10 20:52:37 UTC
As I said in bug #477714#c3, this is a problem in net-misc/ntp[openntpd]. ntpd.service should not get installed for USE=openntpd. I am happy to fix, but net-misc/ntp is base-system package.
Comment 4 Christoph Junghans (RETIRED) gentoo-dev 2013-09-11 01:54:04 UTC
+*ntp-4.2.6_p5-r4 (11 Sep 2013)
+
+  11 Sep 2013; Christoph Junghans <ottxor@gentoo.org> +ntp-4.2.6_p5-r4.ebuild,
+  -ntp-4.2.6_p5-r3.ebuild:
+  fix clash with net-misc/openntpd
+