[opensuse-factory] Erasing the 1st VT at boot or not (systemd question)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I boot 12.2 in text mode, with this line: title Desktop -- openSUSE 12.2 - verbose II root (hd0,2) kernel /boot/vmlinuz root=/dev/disk/by-label/Main resume=/dev/disk/by-label/Swap showopts splash=verbose console=tty1 loglevel=3 vga=0x333 3 initrd /boot/initrd This produces a detailed log during boot showing the services as they start or fail, which I find nice and productive. The problem is that when the virtual terminals are created, the previous text is erased. How can I avoid that? With system V this was controlled in inittab: 1:2345:respawn:/sbin/mingetty --noclear tty1 2:2345:respawn:/sbin/mingetty tty2 3:2345:respawn:/sbin/mingetty tty3 4:2345:respawn:/sbin/mingetty tty4 5:2345:respawn:/sbin/mingetty tty5 6:2345:respawn:/sbin/mingetty tty6 See the first terminal? It is different. Where is the equivalent for systemd? - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAlAaWO8ACgkQtTMYHG2NR9XIEgCdEqLfs0FFzWcceKr2p8n+i1bY kAgAn37XmEhBHa4tYwmMgy9jDaBXgb66 =3UB0 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Le jeudi 02 août 2012 à 12:39 +0200, Carlos E. R. a écrit :
I boot 12.2 in text mode, with this line:
title Desktop -- openSUSE 12.2 - verbose II root (hd0,2) kernel /boot/vmlinuz root=/dev/disk/by-label/Main resume=/dev/disk/by-label/Swap showopts splash=verbose console=tty1 loglevel=3 vga=0x333 3 initrd /boot/initrd
This produces a detailed log during boot showing the services as they start or fail, which I find nice and productive.
The problem is that when the virtual terminals are created, the previous text is erased. How can I avoid that?
Known bug (bnc#721660) but I don't think I'll be able to fix it for 12.2
(since I would need some changes which have been pushed upstream already
but are too invasive).
--
Frederic Crozat
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-08-02 12:53, Frederic Crozat wrote:
Le jeudi 02 août 2012 à 12:39 +0200, Carlos E. R. a écrit :
The problem is that when the virtual terminals are created, the previous text is erased. How can I avoid that?
Known bug (bnc#721660) but I don't think I'll be able to fix it for 12.2 (since I would need some changes which have been pushed upstream already but are too invasive).
Oh. Pity :-( But at least I know where we stand, thanks. - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAaXosACgkQIvFNjefEBxrQDgCg0H2TvxPl3dmUPDpRvIp6DH+0 pDsAoK1CZ0WXfZ0jlU27vIP9ydUWwkH/ =uWvx -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thu, Aug 02, 2012 at 01:03:39PM +0200, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-08-02 12:53, Frederic Crozat wrote:
Le jeudi 02 août 2012 à 12:39 +0200, Carlos E. R. a écrit :
The problem is that when the virtual terminals are created, the previous text is erased. How can I avoid that?
Known bug (bnc#721660) but I don't think I'll be able to fix it for 12.2 (since I would need some changes which have been pushed upstream already but are too invasive).
Oh. Pity :-(
But at least I know where we stand, thanks.
You might want to create own getty-noclear@.service as a workaround. Then cp /lib/systemd/system/getty@.service \ /etc/systemd/system/getty-noclear@.service Add the --noclear into ExecStart and change the unit name in [Install] section systemctl disable getty@tty1.service systemctl mask getty@tty1.service systemctl enable getty-noclear@tty1.service Regards Michal Vyskocil
- -- Cheers / Saludos,
Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAlAaXosACgkQIvFNjefEBxrQDgCg0H2TvxPl3dmUPDpRvIp6DH+0 pDsAoK1CZ0WXfZ0jlU27vIP9ydUWwkH/ =uWvx -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 2012/08/02 13:57 (GMT+0200) Michal Vyskocil composed:
You might want to create own getty-noclear@.service as a workaround. Then
cp /lib/systemd/system/getty@.service \ /etc/systemd/system/getty-noclear@.service
Add the --noclear into ExecStart and change the unit name in [Install] section
systemctl disable getty@tty1.service systemctl mask getty@tty1.service systemctl enable getty-noclear@tty1.service
That's a bit different than what was suggested to put the new file in /etc/systemd/system/getty.target.wants/ while making no changes via systemctl in https://bugzilla.redhat.com/show_bug.cgi?id=828007 and is working for me in both Fedora 12.2. Are they fungible solutions? -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Sun, Aug 05, 2012 at 03:38:41PM -0400, Felix Miata wrote:
On 2012/08/02 13:57 (GMT+0200) Michal Vyskocil composed:
You might want to create own getty-noclear@.service as a workaround. Then
cp /lib/systemd/system/getty@.service \ /etc/systemd/system/getty-noclear@.service
Add the --noclear into ExecStart and change the unit name in [Install] section And call systemctl daemon-reload to have systemd aware about new unit file - this is important and I have forgot it.
systemctl disable getty@tty1.service systemctl mask getty@tty1.service systemctl enable getty-noclear@tty1.service
That's a bit different than what was suggested to put the new file in /etc/systemd/system/getty.target.wants/ while making no changes via systemctl in https://bugzilla.redhat.com/show_bug.cgi?id=828007 and is working for me in both Fedora 12.2. Are they fungible solutions?
systemctl disable/mask/enable/unmask only creates/removes symlinks in /etc/systemd/system/getty.target.wants/, so both ways are compatible. I use systemctl, as it do some checking before. Regards Michal Vyskocil
On 2012-08-06 13:40 (GMT+0200) Michal Vyskocil composed:
Felix Miata wrote:
On 2012/08/02 13:57 (GMT+0200) Michal Vyskocil composed:
You might want to create own getty-noclear@.service as a workaround. Then
cp /lib/systemd/system/getty@.service \ /etc/systemd/system/getty-noclear@.service
Add the --noclear into ExecStart and change the unit name in [Install] section
And call systemctl daemon-reload to have systemd aware about new unit file - this is important and I have forgot it.
systemctl disable getty@tty1.service systemctl mask getty@tty1.service systemctl enable getty-noclear@tty1.service
That's a bit different than what was suggested to put the new file in /etc/systemd/system/getty.target.wants/ while making no changes via systemctl in https://bugzilla.redhat.com/show_bug.cgi?id=828007 and is working for me in both Fedora 12.2. Are they fungible solutions?
systemctl disable/mask/enable/unmask only creates/removes symlinks in /etc/systemd/system/getty.target.wants/, so both ways are compatible. I use systemctl, as it do some checking before.
I tried your method again, and still get Failed to issue method call: No such file or directory when I try. :-( Can you try again to provide the complete procedure? -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Op zondag 5 augustus 2012 15:38:41 schreef Felix Miata:
On 2012/08/02 13:57 (GMT+0200) Michal Vyskocil composed:
You might want to create own getty-noclear@.service as a workaround. Then
cp /lib/systemd/system/getty@.service \
/etc/systemd/system/getty-noclear@.service
Add the --noclear into ExecStart and change the unit name in [Install] section
It is unclear to me what has to be changed in the [Install] section. Please elaborate.
systemctl disable getty@tty1.service systemctl mask getty@tty1.service systemctl enable getty-noclear@tty1.service
That's a bit different than what was suggested to put the new file in /etc/systemd/system/getty.target.wants/ while making no changes via systemctl in https://bugzilla.redhat.com/show_bug.cgi?id=828007 and is working for me in both Fedora 12.2. Are they fungible solutions? -- fr.gr.
Freek de Kruijf -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 2012/08/02 13:57 (GMT+0200) Michal Vyskocil composed:
You might want to create own getty-noclear@.service as a workaround. Then
cp /lib/systemd/system/getty@.service \ /etc/systemd/system/getty-noclear@.service
check
Add the --noclear into ExecStart and change the unit name in [Install] section
check
systemctl disable getty@tty1.service
Failed to issue method call: No such file or directory
systemctl mask getty@tty1.service
ln -s '/dev/null/ '/etc/systemd/system/getty@tty1.service'
systemctl enable getty-noclear@tty1.service
Failed to issue method call: No such file or directory -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (6)
-
Carlos E. R.
-
Carlos E. R.
-
Felix Miata
-
Frederic Crozat
-
Freek de Kruijf
-
Michal Vyskocil