[Pkg-xfce-devel] Bug#666978: /etc/init.d/lightdm: allow override of kernel text parameter

Farmbuyer farmbuyer at gmail.com
Tue Apr 3 02:51:49 UTC 2012


Package: lightdm
Version: 1.0.10-1
Severity: wishlist
File: /etc/init.d/lightdm

Sometimes in order to avoid problems with a known-wonky startup, I edit the
GRUB menu while booting to temporarily add the "text" parameter to the boot
command line, for that boot only.  The lightdm init script cleverly detects
that parameter and bails out early, which is a very useful feature.

The drawback is that, after making whatever changes I needed to make, there's
no way to simply start the display manager without rebooting.  Running the
init script by hand (or via invoke-rc.d) will *unconditionally* exit early
if the kernel parameter was ever present.  It's probably good to continue to
do that for the "start" action, but it would be handy to be able to say
"no, really, run it now" without having to reboot or build up an equivalent
start-stop-daemon commandline by hand.

Perhaps the main switch statement at line 35-ish could be extended to check
for "start|force-start" and then the subsequent if-then-else chain could
only test /proc/cmdline if the $1 action were not the "force-" variant?


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

Kernel: Linux 3.1.0-1-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 lightdm depends on:
ii  adduser                3.113+nmu1
ii  consolekit             0.4.5-3
ii  dbus                   1.5.12-1
ii  debconf [debconf-2.0]  1.5.42
ii  libc6                  2.13-27
ii  libglib2.0-0           2.32.0-3
ii  libpam0g               1.1.3-7
ii  libxcb1                1.8.1-1
ii  libxdmcp6              1:1.1.0-4
ii  lightdm-gtk-greeter    1.0.10-1

Versions of packages lightdm recommends:
ii  xserver-xorg  1:7.6+12

Versions of packages lightdm suggests:
pn  accountsservice  <none>

-- Configuration Files:
/etc/lightdm/lightdm.conf changed [not included]

-- debconf information excluded





More information about the Pkg-xfce-devel mailing list