[Mageia-dev] systemd vs dm

JA Magallon jamagallon at ono.com
Sun Sep 18 01:28:47 CEST 2011


On Sat, 17 Sep 2011 13:59:13 +0000
Dick Gevers <dvgevers at xs4all.nl> wrote:

> On Sat, 17 Sep 2011 14:38:56 +0100, Colin Guthrie wrote about Re:
> [Mageia-dev] systemd vs dm:
> 
> >Yeah, please open a bug against initscripts (feel free to assign it to
> >me) just so it's not forgotten.
> 
> For the record (you already found it):
> https://bugs.mageia.org/show_bug.cgi?id=2760
> 

Well, i have set SPEEDBOOT=no, installed sysvinit to replace systemd-sysvinit,
and still GDM does strange things.
Right after boot, it does not allow to switch to any vt, and even if you
do it, sometimes hangs.
I see this in messages:

Sep 18 01:14:37 one /sbin/mingetty[3285]: tty2: invalid character 0xbc in login name

If I restart gdm (via an ssh session), I can see that tty2 has a couple lines of
garbage after the login prompt.

It looks like gdm tries to use tty2, and bangs against mingetty, see that tty2
session is the last:

root      3284     1  0 01:14 tty1     00:00:00 /sbin/mingetty tty1
root      3286     1  0 01:14 tty3     00:00:00 /sbin/mingetty tty3
root      3287     1  0 01:14 tty4     00:00:00 /sbin/mingetty tty4
root      3288     1  0 01:14 tty5     00:00:00 /sbin/mingetty tty5
root      3289     1  0 01:14 tty6     00:00:00 /sbin/mingetty tty6
root      3504     1  0 01:14 tty2     00:00:00 /sbin/mingetty tty2
root      7402  7399  0 01:21 tty8     00:00:00 /etc/X11/X :0 -br -verbose -logverbose 7 -auth /var/run/gdm/auth-for-gdm-LD0qed/database -nolisten tcp

How could I add the option 'vt7' to the X server command line ? New gdm
custom.conf does not support the [servers] section I planned to use
(from what I have been able to read).

A workaround should be to hardcode, even in sources if needed, the option
to use vt7. It is no so dangerous, even systemd makes tty7 the mandatory
X target as it has a conflict in gdm for tty7...

I also have noticed that systemd uses agetty, and /etc/inittab uses mingetty.
To really compare things and rule aout any bugs, both should be the same...

Any ideas ?


More information about the Mageia-dev mailing list