16.04: Graphical login/desktop vanished? (coming closer)
ogra at ubuntu.com
Wed Jul 27 10:16:33 UTC 2016
Am Mittwoch, den 27.07.2016, 10:32 +0200 schrieb Ralf Mardorf:
> >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.
> It isn't related to the generator, but to the package management.
> The wicked part is "apt-get remove", assumed the systemd unit and the
> program to run should be removed, but the init.d file should be
> considered as a config, that should not be removed. Again, the content
> of init.d is neither fish nor fowl, it's not really heisenbergish,
> since we can take a look and then we definitively know, if it's fish or
> fowl. However, regarding Oli's quote, it's per se a config for the
> package management.
it is a "conffile" not just a config, this has a special meaning to i.e.
debhelper and maintainer scripts... this includes that the package
management calls the ucf tool to try a three way merge if you manually
changed something in that file, these files are treated very special
(which makes snce if you thinnk about hos sysvinit works, if an init
script is actually faulty you might end up with a completely unbootable
when you do upgrades you probably encountered the three-option prompt
about using the "package maintainer version" of the file, "keeping the
existing file" or to "show changes side by side", thats the visual part
of having conffiles ...
OTOH /lib/systemd/system/lightdm.service is not (should not be) a
conffile , technically the re-install of the lightdm package should
simply overwrite the generated file...
if that did not happen, there is clearly a bug.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: This is a digitally signed message part
More information about the ubuntu-users