Bug#688799: grub-common: grub-mknetdir does not need to be run by root -- move out of sbin?

Daniel Kahn Gillmor dkg at fifthhorseman.net
Tue Sep 25 18:06:46 UTC 2012


Package: grub-common
Version: 2.00-5
Severity: wishlist

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 at 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 at stylus:~/tmp$ 

Regards,

	--dkg

PS Thanks for packaging grub 2.00 in experimental!  It works for me on
this old dell workstation.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.5-trunk-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-common depends on:
ii  gettext-base        0.18.1.1-9
ii  libc6               2.13-35
ii  libdevmapper1.02.1  2:1.02.74-4
ii  libfreetype6        2.4.9-1
ii  libfuse2            2.9.1-1
ii  liblzma5            5.1.1alpha+20120614-1
ii  zlib1g              1:1.2.7.dfsg-13

Versions of packages grub-common recommends:
ii  os-prober  1.56

Versions of packages grub-common suggests:
ii  console-setup  1.82
ii  desktop-base   7.0.3
pn  grub-emu       <none>
pn  multiboot-doc  <none>
ii  xorriso        1.2.2-2

-- no debconf information



More information about the Pkg-grub-devel mailing list