16.04: Graphical login/desktop vanished? (coming closer)

Tom H tomh0665 at gmail.com
Wed Jul 27 07:13:55 UTC 2016

On Tue, Jul 26, 2016 at 5:06 PM, Ralf Mardorf <silver.bullet at zoho.com> wrote:
> On Tue, 26 Jul 2016 19:21:29 +0200, Oliver Grawert wrote:
>> from https://www.debian.org/doc/debian-policy/ch-opersys.html section
>> 9.3.2
>> "The /etc/init.d scripts must be treated as configuration files,
>> either (if they are present in the package, that is, in the .deb file)
>> by marking them as conffiles, or,...."
>> "...Only when dpkg is executed with the --purge option will
>> configuration files be removed. In particular, as
>> the /etc/init.d/package script itself is usually a conffile, it will
>> remain on the system if the package is removed but not purged. "
>> so the behaviour is expected ... that the generator kicks in in this
>> case smells like a bug though, it might need to check if the related
>> package actually exists on the system...
> That's indeed rational, but tricky. What's inside of init.d is
> nebulous. One one side it quasi could be a "config" to manage a service,
> on the other side it quasi could be the "program" itself.

The main part of what the generator does is create a service unit in
"/run/" with

ExecStart=/etc/init.d/<daemon> start
ExecStop=/etc/init.d/<daemon> stop

so it's not that tricky.

More information about the ubuntu-users mailing list