Hi Jens,

Thanks for you reply

> If I may guess. Stuff started with @ are not "real" services. Those you
> have to delete manually in the wants directory, i.e
> /etc/systemd/system/getty.target.wants.

> I think it's the right way but the wrong place. "ln -s
> /lib/systemd/system/serial-ge...@.service 
> /etc/systemd/system/getty.target.wants/serial-ge...@ttys0.service"
> That should start the getty at boot.

What I did instead is created
/lib/systemd/system/serial-getty.target
similar to /lib/systemd/system/getty.target

created dir /etc/systemd/system/serial-getty.target.wants/ with a symlink
serial-ge...@ttys0.service -> /lib/systemd/system/serial-ge...@.service

and delted all symlinks under /etc/systemd/system/getty.target.wants/

rebooted the fedora VM

but i still see ge...@tty1.service (while not the rest
ge...@tty{2,3,4,5,6}.service)
and also i don't see serial-ge...@ttys0.service (although the work fine)
-----------
r...@fedora2 ~]# systemctl --all | grep getty
ge...@tty1.service        loaded inactive     dead
getty.target              loaded inactive     dead
serial-getty.target       loaded active       active
r...@fedora2 ~]# systemctl status serial-ge...@ttys0.service
serial-ge...@ttys0.service - Serial Getty on ttyS0
          Loaded: loaded (/lib/systemd/system/serial-ge...@.service)
          Active: active (running) since [Sun, 12 Sep 2010 23:22:18
+0200; 16min ago]
         Process: 665 (/sbin/securetty %I, code=exited, status=0/SUCCESS)
        Main PID: 678 (login)
          CGroup: name=systemd:/systemd-1/serial-ge...@.service/ttyS0
[r...@fedora2 ~]#
-----------

Any idea what's wrong?


Another strange  problem I have is that "network.service" is not started
upon boot automatically.
It starts fine manually with "systemctl start network.service"
but for "systemctl enable network.service" I get again "Couldn't find
network.service." error. From stracing I see systemctl it is looking for
network.service file under
/etc/systemd/system/network.service and
/lib/systemd/system/network.service - but the problem is that there is
not "network.service" file anywhere in the filesystem - is this some
kind of virtual service? How can I make it automatically start at boot?

Thanks
Alex

> As I said before, I don't think systemctl works with such symlinks.
> better just make the links manually
> 
> Jens
> 

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to