Hi, If this mailing list is not appropriate place to ask such questions, can you point me to the correct one?
Thanks Alex On 09/06/2010 12:44 PM, Piavlo wrote: > Hi, > > I several issues questions: > > -------------------- > [r...@fedora2 ~]# systemctl status ge...@tty6.service > ge...@tty6.service - Getty on tty6 > Loaded: loaded (/lib/systemd/system/ge...@.service) > Active: active (running) since [Mon, 06 Sep 2010 12:17:55 +0300; 7min ago] > Main PID: 679 (mingetty) > CGroup: name=systemd:/systemd-1/ge...@.service/tty6 > └ 679 /sbin/mingetty tty6 > [r...@fedora2 ~]# systemctl stop ge...@tty6.service > [r...@fedora2 ~]# systemctl status ge...@tty6.service > ge...@tty6.service - Getty on tty6 > Loaded: loaded (/lib/systemd/system/ge...@.service) > Active: inactive (dead) since [Mon, 06 Sep 2010 12:25:54 +0300; 2s ago] > Main PID: 679 (code=killed, signal=HUP) > CGroup: name=systemd:/systemd-1/ge...@.service/tty6 > [r...@fedora2 ~]# systemctl disable ge...@tty6.service > Couldn't find ge...@tty6.service. > [r...@fedora2 ~]# > --------------------- > > why disable does not work? > > same problem with enable and is-enabled > > -------------------- > [r...@fedora2 ~]# systemctl status network.target > network.target - Network > Loaded: loaded (/lib/systemd/system/network.target) > Active: active since [Mon, 06 Sep 2010 12:30:18 +0300; 1min 41s ago] > [r...@fedora2 ~]# systemctl status network.service > network.service - LSB: Bring up/down networking > Loaded: loaded (/etc/rc.d/init.d/network) > Active: inactive (dead) > CGroup: name=systemd:/systemd-1/network.service > [r...@fedora2 ~]# systemctl enable network.service > Couldn't find network.service. > [r...@fedora2 ~]# > [r...@fedora2 ~]# systemctl is-enabled network.service > Couldn't find network.service. > [r...@fedora2 ~]# > [r...@fedora2 ~]# systemctl start network.service > Bringing up loopback interface: [ OK ] > Bringing up interface eth0: > Determining IP information for eth0... done. > [ OK ] > [r...@fedora2 ~]# > [r...@fedora2 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 > DEVICE="eth0" > HWADDR="00:50:56:3E:13:C7" > NM_CONTROLLED="no" > ONBOOT="yes" > BOOTPROTO="dhcp" > [r...@fedora2 ~]# > ----------------------- > > In order to start > serial console I had to make the following link manually > /etc/systemd/system/serial-ge...@ttys0.service -> > /lib/systemd/system/serial-ge...@.service > but this does not seems as correct way > how can i do this with systemctl instead? > > ---------------------- > [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 [Mon, 06 Sep 2010 12:30:46 +0300; 9min ago] > Process: 736 (/sbin/securetty %I, code=exited, status=0/SUCCESS) > Main PID: 738 (login) > CGroup: name=systemd:/systemd-1/serial-ge...@.service/ttyS0 > [r...@fedora2 ~]# systemctl enable serial-ge...@ttys0.service > Refusing to operate on symlinks, please pass unit names or absolute > paths to unit files. > [r...@fedora2 ~]# systemctl is-enabled serial-ge...@ttys0.service > Refusing to operate on symlinks, please pass unit names or absolute > paths to unit files. > [r...@fedora2 ~]# > ---------------------- > > PS > ----------- > [r...@fedora2 ~]# rpm -qa | grep systemd > systemd-sysvinit-9-3.fc14.x86_64 > systemd-units-9-3.fc14.x86_64 > systemd-9-3.fc14.x86_64 > [r...@fedora2 ~]# cat /etc/issue > Fedora release 14 (Laughlin) > Kernel \r on an \m (\l) > > [r...@fedora2 ~]# uname -a > Linux fedora2.xxxxx.xxxx 2.6.35.4-12.fc14.x86_64 #1 SMP Fri Aug 27 > 07:45:05 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux > [r...@fedora2 ~]# > ----------- > > Thanks > Alex > _______________________________________________ > systemd-devel mailing list > systemd-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/systemd-devel > _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel