optionally disable single-user in grub-pc

Bug #190207 reported by Matteo Croce
4
Affects Status Importance Assigned to Milestone
grub
New
Undecided
Unassigned
grub2 (Debian)
Fix Released
Unknown
grub2 (Ubuntu)
Fix Released
Wishlist
Colin Watson

Bug Description

Binary package hint: grub-pc

An user may want to disable single-user by unsetting GRUB_SINGLE_USER from /etc/default/grub
The default will be single-user enabled.
I attach a patch to add this

Related branches

Revision history for this message
Matteo Croce (teknoraver) wrote :
Revision history for this message
Tormod Volden (tormodvolden) wrote :

Hi Matteo, thanks for your patch. Can you please send the patch upstream or to Debian? At this point, I guess we want to avoid diverting the Ubuntu version if it's not really needed. Your patch adds a useful feature that might as well be added upstream for all to use.

Daniel T Chen (crimsun)
Changed in grub2:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Robert Millan (rmh-aybabtu) wrote :

Hi,

This file is managed by upstream, and in Debian we avoid diverging as much as possible, specially for things that define new interfaces. Please do bring it up in upstream, not Debian.

Changed in grub2 (Debian):
status: Unknown → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :
Changed in grub2 (Ubuntu):
assignee: nobody → Colin Watson (cjwatson)
status: Triaged → In Progress
tags: removed: needs-forwarding
Revision history for this message
Colin Watson (cjwatson) wrote :

An upstream developer has asked what the reason to disable these entries is. Matteo, could you elaborate on your requirements? Thanks.

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (5.3 KiB)

This bug was fixed in the package grub2 - 1.96+20090826-3ubuntu1

---------------
grub2 (1.96+20090826-3ubuntu1) karmic; urgency=low

  * Resynchronise with Debian (LP: #413151). Remaining changes:
    + debian/control:
      - Recommend rather than Suggest os-prober.
    + debian/default/grub:
      - Adjust for default Ubuntu boot options.
      - Use GRUB_CMDLINE_LINUX_DEFAULT option to set "quiet splash" for
        default items only. These options won't be set in single user mode.
      - Default to hiding the menu with a three-second timeout. Pressing
        Escape during this time will show the menu.
    + debian/grub.d/05_debian_theme:
      - Set a monochromatic theme for Ubuntu.
    + debian/legacy/update-grub:
      - Apply Ubuntu branding: title, recovery mode, quiet option, and tweak
        how memtest86+ is displayed.
      - Use UUIDs where appropriate.
    + debian/patches/03_ubuntu_grub_standards:
      - Remove GNU/Linux from default string.
    + debian/patches/10_crashkernel.patch:
      - add crashkernel= options if kdump and makedumpfile
        is available (part of the kernel-crashdump spec)
  * Drop 950_hidden_timeout.diff, merged upstream.
  * Drop 951_gfxpayload_keep.diff. It doesn't make as much sense as I
    thought, and it needs better kernel support anyway.
  * 950_getkeystatus.diff: New patch. Add getkeystatus terminal method, and
    add a new keystatus command to query it.
  * 951_quick_boot.diff: New patch:
    - If other operating systems are installed, then automatically unhide
      the menu (LP: #411584).
    - Otherwise, if GRUB_HIDDEN_TIMEOUT is 0, then use keystatus if
      available to check whether Shift is pressed. If it is, show the menu,
      otherwise boot immediately. If keystatus is not available, then fall
      back to a short delay interruptible with Escape.
  * debian/default/grub: Adjust defaults to match new quick-boot code.

grub2 (1.96+20090826-3) unstable; urgency=low

  * Add missing quotes in grub-pc.config and *.postinst.

grub2 (1.96+20090826-2) unstable; urgency=low

  * Really use the correct templates in grub-pc.config. ARGS.

grub2 (1.96+20090826-1) unstable; urgency=low

  * New SVN snapshot.

  * Use the right templates in grub-pc.config. (Closes: #543615)

grub2 (1.96+20090825-1) unstable; urgency=low

  * New SVN snapshot.
    - Enable gfxterm only if there's a suitable video backend and don't
      print an error if not. (Closes: #520846)

  [ Felix Zielcke ]
  * Copy unicode.pf2 instead of ascii.pf2 to /boot/grub in grub-pc
    postinst (Closes: #542314).
  * Update Standards version to 3.8.3.
  * Use DEB_HOST_ARCH_CPU for the generation of the lintian overrides.
  * Fix calling the grub-pc/postrm_purge_boot_grub template in
    grub-pc.postinst.
  * Handle GRUB_CMDLINE_LINUX and GRUB_CMDLINE_LINUX_DEFAULT via
    debconf. Thanks to Martin F. Krafft and Colin Watson for idea and
    hints.
  * Use ucfr --force when /etc/default/grub is registered to a grub-* package.
  * Use #!/bin/sh in *.config and fix a small bashism in grub-pc.config.

  [ Robert Millan ]
  * patches/907_terminal_output_workaround.diff: Remove. It seems that
    it wasn't really necessary.
  ...

Read more...

Changed in grub2 (Ubuntu):
status: In Progress → Fix Released
Changed in grub2 (Debian):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.