On Mon, 11.07.11 15:51, Bill Nottingham (nott...@redhat.com) wrote: > > Lennart Poettering (lenn...@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. Lennart -- Lennart Poettering - Red Hat, Inc. _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel