[Bug 1331426] [NEW] syntax error in /etc/init/kdm.conf upstart file

J G Miller miller at yoyo.ORG
Wed Jun 18 11:18:46 UTC 2014


Public bug reported:

PRETTY_NAME="Ubuntu 14.04 LTS"
VERSION="14.04, Trusty Tahr"

Package: kdm
Origin: Ubuntu
Maintainer: Kubuntu Developers <kubuntu-devel at lists.ubuntu.com>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Architecture: i386
Source: kde-workspace
Version: 4:4.11.9-0ubuntu0.2

file /etc/init/kdm.conf contains the line

        $(plymouth quit && plymouth wait && sleep 1) || :

The syntax of this command for plymouth Version: 0.8.8-0ubuntu17 is
invalid

 plymouth wait 
Splash control client
USAGE: plymouth [OPTION...] [COMMAND [OPTION...]...]

It should be plymouth --wait

Thus the sleep 1 is never executed because the invalid plymouth wait
returns 1( false) and never 0 (true).

So to keep the style consistent with both instances of calling plymouth,
the line should read

        $(plymouth --quit && plymouth --wait && sleep 1) || :

-----------------------------------------------------------------------------------------------------------------------------------------
However, if plymouth has already been told to quit, how can the command to tell plymouth to wait do anything if plymouth is no longer running?
-----------------------------------------------------------------------------------------------------------------------------------------

** Affects: kde-workspace (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: kdm plymouth upstart

** Patch added: "Patch for /etc/init.d/kdm.conf for invocation of  plymouth"
   https://bugs.launchpad.net/bugs/1331426/+attachment/4134110/+files/patch

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1331426

Title:
  syntax error in /etc/init/kdm.conf upstart file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kde-workspace/+bug/1331426/+subscriptions




More information about the kubuntu-bugs mailing list