[systemd-devel] Environment for prefdm.service

Kay Sievers kay.sievers at vrfy.org
Mon Jul 11 13:16:50 PDT 2011


On Mon, Jul 11, 2011 at 22:11, Lennart Poettering
<lennart at poettering.net> wrote:
> On Mon, 11.07.11 15:51, Bill Nottingham (notting at redhat.com) wrote:
>> Lennart Poettering (lennart at poettering.net) said:
>> > > Sorry if I'm missing something simple or if I have confused myself
>> > > beyond all hope.  I appreciate any advice on how to prepare this in a
>> > > future-compatible way.
>> >
>> > My recommendation is to simply list display-manager.service in Alias= in
>> > [Install] in your unit file. Since that symlink can only point to one
>> > service we should be safe. The choice which one to start is done with
>> > this symlink and nothing else.
>>
>> While this is correct, the issue we'd have off the top of my head
>> is if it's possible, in packaging, to have things automatically work
>> such that:
>>
>> - installing multiple DMs gives you a predictable default
>> - removing whatever the current default is falls back to other DMs
>>   that are currently installed
>
> If people want these problems solved one option would be to manage the
> display-manager.service symlink with Debian's alternative system, but in
> general I'd probably just ignore this, and just say the first
> installation wins.

Guess Bill meant:
  install gdm -> get the link
  install kdm -> link fails
  uninstall gdm -> remove link

  -> kdm installed but no link

Kay


More information about the systemd-devel mailing list