* [Buildroot] [Bug 3601] New: DHCPD S80dhcp-server startup script issues
@ 2011-04-13 14:19 bugzilla at busybox.net
2013-11-14 0:16 ` [Buildroot] [Bug 3601] " bugzilla at busybox.net
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2011-04-13 14:19 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=3601
Summary: DHCPD S80dhcp-server startup script issues
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: dmitry at radiofid.ru
CC: buildroot at uclibc.org
Estimated Hours: 0.0
1. DHCPD is currently unusable by default due to line 15 in S80dhcp-server
script which is unconditional 'exit 1'.
2. DHCPD is always started. There are no means to disable dhcpd startup on
boot.
I suggest to rename S80dhcp-server to dhcp-server and use S* symlink when
needed.
3. Improper check in line 19:
test -f /usr/sbin/dhcpd || exit 0
I suggest to use execute permission check:
test -x /usr/sbin/dhcpd || exit 0
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [Bug 3601] DHCPD S80dhcp-server startup script issues
2011-04-13 14:19 [Buildroot] [Bug 3601] New: DHCPD S80dhcp-server startup script issues bugzilla at busybox.net
@ 2013-11-14 0:16 ` bugzilla at busybox.net
2013-11-14 12:07 ` bugzilla at busybox.net
2013-11-18 10:41 ` bugzilla at busybox.net
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2013-11-14 0:16 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=3601
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at buildroot.uclibc |gustavo at zacarias.com.ar
|.org |
--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2013-11-14 00:16:38 UTC ---
I think point (1) is intentional: make sure the script doesn't do anything
until there is a proper configuration.
(2) is expected: all the init scripts in Buildroot work like this.
(3) is really cosmetic I believe.
Gustavo, what do you think? Can you have a look at the remaining issues, if
any, and make a final call about this bug?
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [Bug 3601] DHCPD S80dhcp-server startup script issues
2011-04-13 14:19 [Buildroot] [Bug 3601] New: DHCPD S80dhcp-server startup script issues bugzilla at busybox.net
2013-11-14 0:16 ` [Buildroot] [Bug 3601] " bugzilla at busybox.net
@ 2013-11-14 12:07 ` bugzilla at busybox.net
2013-11-18 10:41 ` bugzilla at busybox.net
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2013-11-14 12:07 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=3601
Gustavo Zacarias <gustavo@zacarias.com.ar> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #2 from Gustavo Zacarias <gustavo@zacarias.com.ar> 2013-11-14 12:07:18 UTC ---
1) That check can be removed, dhcpd won't start without a valid /etc/dhcpd.conf
(there's nothing copied there by the package).
2) Expected behaviour as Thomas said, the shipped initscripts are for
normal/simple usage scenarios, you can remove shipped initscripts via a custom
packaging script (like i do) and use your own (ditto, for example with a config
subsystem built into them).
3) The package installs the file with the proper permissions, if it's -x it
won't be executable anyway, i agree with Thomas. If there were a file that
matches and isn't +x it would be some user inflicted problem.
I'm sending a patch that revamps the initscripts to the mailing list with some
extra sanity checks.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [Bug 3601] DHCPD S80dhcp-server startup script issues
2011-04-13 14:19 [Buildroot] [Bug 3601] New: DHCPD S80dhcp-server startup script issues bugzilla at busybox.net
2013-11-14 0:16 ` [Buildroot] [Bug 3601] " bugzilla at busybox.net
2013-11-14 12:07 ` bugzilla at busybox.net
@ 2013-11-18 10:41 ` bugzilla at busybox.net
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2013-11-18 10:41 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=3601
Peter Korsgaard <jacmet@uclibc.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #3 from Peter Korsgaard <jacmet@uclibc.org> 2013-11-18 10:40:59 UTC ---
Fixed in git (dcefce4cf81) by Gustavoz, thanks
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-11-18 10:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-13 14:19 [Buildroot] [Bug 3601] New: DHCPD S80dhcp-server startup script issues bugzilla at busybox.net
2013-11-14 0:16 ` [Buildroot] [Bug 3601] " bugzilla at busybox.net
2013-11-14 12:07 ` bugzilla at busybox.net
2013-11-18 10:41 ` bugzilla at busybox.net
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox