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

Bug 236671

Summary: net-misc/dhcp-3.1.1 installation should create pid file with correct permissions
Product: Gentoo Linux Reporter: Juanlu Pérez <juanluperez>
Component: [OLD] ServerAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Juanlu Pérez 2008-09-04 09:33:48 UTC
Sep  4 11:25:18 server dhcpd: Copyright 2004-2008 Internet Systems Consortium.
Sep  4 11:25:18 server dhcpd: All rights reserved.
Sep  4 11:25:18 server dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Sep  4 11:25:18 server dhcpd: Wrote 0 deleted host decls to leases file.
Sep  4 11:25:18 server dhcpd: Wrote 0 new dynamic host decls to leases file.
Sep  4 11:25:18 server dhcpd: Wrote 1 leases to leases file.
Sep  4 11:25:18 server dhcpd: Can't create PID file /var/run/dhcp/dhcpd.pid: Permission denied.


Fixed with chown dhcp:dhcp /var/run/dhcp/dhcpd.pid

Reproducible: Always
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2009-07-09 14:42:31 UTC
+*dhcp-4.1.0 (09 Jul 2009)
+*dhcp-3.1.2 (09 Jul 2009)
+
+  09 Jul 2009; <chainsaw@gentoo.org> +dhcp-3.1.2.ebuild, +dhcp-4.1.0.ebuild,
+  +files/dhcp-4.1-dhclient-metric.patch, +files/dhcp-4.1-no_isc_blurb.patch,
+  +files/dhcpd.init2:
+  Version bump to 3.1.2 & 4.1.0 upstream releases, as requested in bug
+  #264809. Create /var/lib/dhclient as per bug #222261. Recursive chown to
+  dhcp:dhcp closes bug #236671. Test config in init-script, apache-style by
+  Arturas from Lithuania in bug #259364. Paranoia/chroot support now
+  upstream in 4.1, dropped patch.

Your bug report to Gentoo Linux is highly appreciated. I'm sorry it sat in the tracker unactioned for quite so long, it was not assigned to the maintainer.
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-01-03 23:45:47 UTC
+  04 Jan 2011; Gilles Dartiguelongue <eva@gentoo.org> libatasmart-0.17.ebuild,
+  +files/libatasmart-0.17-strpool-uninit.patch:
+  Add patch for fix build with uclibc, bug #236671.
+
Thanks for reporting.