Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236671 - net-misc/dhcp-3.1.1 installation should create pid file with correct permissions
Summary: net-misc/dhcp-3.1.1 installation should create pid file with correct permissions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2008-09-04 09:33 UTC by Juanlu Pérez
Modified: 2011-01-04 18:58 UTC (History)
0 users

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 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.