Public bug reported:

Line 49 of /etc/init.d/gdm checks for 'text' in kernel command line, and if 
present, does not start the Display Manager. However, the script does
  grep -qs text /proc/cmdline
which will match anything on the kernel command line that includes 'text' 
(including a UUID, kernel image or initrd filename or any other kernel 
parameter including the string 'text'. This is probably not what is expected.

I suggest replacing line 49 to read as follows instead:
        if grep -qsw text /proc/cmdline; then
This will match 'text' only as a separate word, and is probably what was 
intended.

** Affects: gdm (Ubuntu)
     Importance: Undecided
         Status: New

-- 
/etc/init.d/gdm check for 'text' in /proc/cmdline should not match within words
https://bugs.launchpad.net/bugs/294980
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to