Bug 4744 - Runlevel switch 3->5 not working
Summary: Runlevel switch 3->5 not working
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 2120
  Show dependency treegraph
 
Reported: 2012-02-29 11:53 CET by Herbert Poetzl
Modified: 2012-03-27 00:52 CEST (History)
3 users (show)

See Also:
Source RPM: initscripts
CVE:
Status comment:


Attachments

Description Herbert Poetzl 2012-02-29 11:53:10 CET
Description of problem:
When switching from runlevel 5 (X11) to runlevel 3(multi user) and back, X11 doesn't get started.

Version-Release number of selected component (if applicable):
systemd-43-1.mga2.x86_64

How reproducible:
always

Steps to Reproduce:
1. ssh to a newly installed and configured system (gnome3 here)
2. telinit 3
3. telinit 5

alternatively 'systemctl isolate runlevel3.target' and 'systemctl isolate runlevel5.target' can be used.
Comment 1 Manuel Hiebel 2012-03-01 15:33:51 CET
duplicate

*** This bug has been marked as a duplicate of bug 4582 ***

Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE

Comment 2 Herbert Poetzl 2012-03-01 15:37:08 CET
sorry, but that's a completely different issue, the 'service dm restart' hangs for 60 seconds but works, while in this case X11 doesn't start again, ever!

Status: RESOLVED => REOPENED
CC: (none) => herbert
Resolution: DUPLICATE => (none)

Comment 3 Manuel Hiebel 2012-03-01 15:53:53 CET
ah yes sirry wrong bug in my search list:/

CC: (none) => dmorganec, mageia
Blocks: (none) => 2120

Comment 4 D Morgan 2012-03-24 01:49:26 CET
is this bug still valid ?
if yes, is systemd-sysvinit installed ?
Comment 5 Colin Guthrie 2012-03-24 13:11:49 CET
Yeah I think this is still valid. I'm not sure it's a systemd-sysvinit problem.

One of the issues I've seen is that doing a normal graphical boot, issuing: "systemctl isolate multi-user.target" actually wipes out the dbus sockets...

I'll need to investigate.
Comment 6 Colin Guthrie 2012-03-24 20:54:47 CET
And the culprit: mandriva-clean-var-run-lock.service

This nukes all the files in /var/run and /var/lock. It's meant to do so on boot, but it happens whenever we switch runlevels.

I've got a fix that will be in the next initscripts package.

This file itself can disappear when we go to mga3 when /var/run will just be a symlink to /run (not sure about /var/lock but something similar will be done there too).
Comment 7 Colin Guthrie 2012-03-24 22:18:50 CET
OK, so should be fixed in latest initscripts.

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED
Source RPM: systemd-43-1.mga2.src.rpm => initscripts

Comment 8 Herbert Poetzl 2012-03-27 00:52:44 CEST
it has an odd 25 second delay when switching from 3->5 and it messes with the audio mixer settings when switching from 5->3 but at least it seems to work.

Note You need to log in before you can comment on or make changes to this bug.