Hi On Mon, Jul 22, 2013 at 2:44 PM, Tom Gundersen <[email protected]> wrote: > On Mon, Jul 22, 2013 at 2:35 PM, David Herrmann <[email protected]> wrote: >> The thing is, "systemctl disable" >> doesn't honor "Alias" lines. So if I add this alias and a user does >> "systemctl enable [email protected]", a following "systemctl disable >> kmscon@<whatever>" doesn't remove this alias again. > > Hm, I'm not able to reproduce this problem: > > # systemctl enable [email protected] > ln -s '/etc/systemd/system/[email protected]' > '/etc/systemd/system/[email protected]' > ln -s '/etc/systemd/system/[email protected]' > '/etc/systemd/system/getty.target.wants/[email protected]' > # systemctl disable [email protected] > rm '/etc/systemd/system/getty.target.wants/[email protected]' > rm '/etc/systemd/system/[email protected]' > > Could this have been fixed recently, or are you seeing something different?
You need to modify your "Alias" line (notice the %i): Alias=autovt@%i.service Otherwise a simple "systemctl enable [email protected]" would enable kmscon on _all_ TTYs. With this in place, the "systemctl disable" no longer works correctly. Thanks David _______________________________________________ kmscon-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/kmscon-devel
