* Re: Bug#688799: grub-common: grub-mknetdir does not need to be run by root -- move out of sbin? [not found] <20120925180646.4941.35599.reportbug@stylus.lair.fifthhorseman.net> @ 2012-09-25 22:04 ` Colin Watson 2012-09-25 22:06 ` Colin Watson 0 siblings, 1 reply; 3+ messages in thread From: Colin Watson @ 2012-09-25 22:04 UTC (permalink / raw) To: grub-devel; +Cc: 688799-forwarded, Daniel Kahn Gillmor On Tue, Sep 25, 2012 at 02:06:46PM -0400, Daniel Kahn Gillmor wrote: > I observe that grub-mknetdir works fine as a non-privileged user. > Making it an "administrator-only" tool by placing it in /usr/sbin/ > seems like it encourages people to update their tftp server > directories as root, when they don't necessarily need extra privileges > to do that. > > Maybe it belongs in /usr/bin instead? > > 0 dkg@stylus:~/tmp$ /usr/sbin/grub-mknetdir --net-directory=/home/dkg/netdir > Netboot directory for i386-pc created. Configure your DHCP server to point to /boot/grub/i386-pc/core.0 > 0 dkg@stylus:~/tmp$ It's a reasonable argument, yes. If we do this, I think it should be upstream, as in the following patch. What do folks on grub-devel think? === modified file 'Makefile.util.def' --- Makefile.util.def 2012-09-22 20:19:58 +0000 +++ Makefile.util.def 2012-09-25 21:48:23 +0000 @@ -487,8 +487,8 @@ script = { }; script = { - mansection = 8; - installdir = sbin; + mansection = 1; + installdir = bin; name = grub-mknetdir; common = util/grub-mknetdir.in; Thanks, -- Colin Watson [cjwatson@ubuntu.com] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug#688799: grub-common: grub-mknetdir does not need to be run by root -- move out of sbin? 2012-09-25 22:04 ` Bug#688799: grub-common: grub-mknetdir does not need to be run by root -- move out of sbin? Colin Watson @ 2012-09-25 22:06 ` Colin Watson 2012-09-26 6:24 ` Vladimir 'φ-coder/phcoder' Serbinenko 0 siblings, 1 reply; 3+ messages in thread From: Colin Watson @ 2012-09-25 22:06 UTC (permalink / raw) To: grub-devel; +Cc: 688799-forwarded, Daniel Kahn Gillmor On Tue, Sep 25, 2012 at 11:04:31PM +0100, Colin Watson wrote: > It's a reasonable argument, yes. If we do this, I think it should be > upstream, as in the following patch. What do folks on grub-devel think? Oops, forgotten ChangeLog entry: 2012-09-25 Colin Watson <cjwatson@ubuntu.com> * Makefile.util.def (grub-mknetdir): Move to $prefix/bin. > === modified file 'Makefile.util.def' > --- Makefile.util.def 2012-09-22 20:19:58 +0000 > +++ Makefile.util.def 2012-09-25 21:48:23 +0000 > @@ -487,8 +487,8 @@ script = { > }; > > script = { > - mansection = 8; > - installdir = sbin; > + mansection = 1; > + installdir = bin; > name = grub-mknetdir; > > common = util/grub-mknetdir.in; -- Colin Watson [cjwatson@ubuntu.com] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug#688799: grub-common: grub-mknetdir does not need to be run by root -- move out of sbin? 2012-09-25 22:06 ` Colin Watson @ 2012-09-26 6:24 ` Vladimir 'φ-coder/phcoder' Serbinenko 0 siblings, 0 replies; 3+ messages in thread From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2012-09-26 6:24 UTC (permalink / raw) To: grub-devel [-- Attachment #1: Type: text/plain, Size: 888 bytes --] On 26.09.2012 00:06, Colin Watson wrote: > On Tue, Sep 25, 2012 at 11:04:31PM +0100, Colin Watson wrote: >> It's a reasonable argument, yes. If we do this, I think it should be >> upstream, as in the following patch. What do folks on grub-devel think? > > Oops, forgotten ChangeLog entry: > > 2012-09-25 Colin Watson <cjwatson@ubuntu.com> > > * Makefile.util.def (grub-mknetdir): Move to $prefix/bin. > Go ahead. >> === modified file 'Makefile.util.def' >> --- Makefile.util.def 2012-09-22 20:19:58 +0000 >> +++ Makefile.util.def 2012-09-25 21:48:23 +0000 >> @@ -487,8 +487,8 @@ script = { >> }; >> >> script = { >> - mansection = 8; >> - installdir = sbin; >> + mansection = 1; >> + installdir = bin; >> name = grub-mknetdir; >> >> common = util/grub-mknetdir.in; > -- Regards Vladimir 'φ-coder/phcoder' Serbinenko [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 294 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-09-26 6:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20120925180646.4941.35599.reportbug@stylus.lair.fifthhorseman.net>
2012-09-25 22:04 ` Bug#688799: grub-common: grub-mknetdir does not need to be run by root -- move out of sbin? Colin Watson
2012-09-25 22:06 ` Colin Watson
2012-09-26 6:24 ` Vladimir 'φ-coder/phcoder' Serbinenko
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.