| Summary: | Enhance installer to take care of systemd. | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | D Morgan <dmorganec> |
| Component: | Installer | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | Normal | CC: | mageia, mageia, marja11, pterjan, thierry.vignaud |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | CVE: | ||
| Status comment: | |||
| Bug Depends on: | |||
| Bug Blocks: | 2120 | ||
|
D Morgan
2011-11-03 13:43:03 CET
CC:
(none) =>
pterjan
D Morgan
2011-11-03 13:43:16 CET
CC:
(none) =>
mageia
D Morgan
2011-11-03 13:43:26 CET
CC:
(none) =>
mageia
D Morgan
2011-11-03 13:45:58 CET
CC:
(none) =>
thierry.vignaud From what I can see, the problem comes from trying to run the program inside a chroot? systemd works quite happily inside a chroot, but I've not really tried it myself. Thus it should be possible to run systemd from the installer and then start the services accordingly. We may even be able to use systemd-nspawn rather than chroot, but as I don't fully understand the needs of the installer, I cannot say for sure. Some more info on systemd and chroots: http://0pointer.de/blog/projects/changing-roots.html @ D Morgan @ Colin I suppose Version should be "cauldron" instead of "1" ? Is this bug still valid? CC:
(none) =>
marja11 There's been some changes but we still blindly run scripts with start, stop, restart. Colin: patches are welcome :-) Hardware:
i586 =>
All What is the last news?
Manuel Hiebel
2012-03-22 16:48:22 CET
Blocks:
(none) =>
2120 Patches written, reviewed and committed. Should be in next stage2 build. Blah, closing. Status:
NEW =>
RESOLVED |
In the installer some parts only handle "old" init system. Like some functions : sub _run_action { my ($service, $action) = @_; run_program::rooted($::prefix, "/etc/rc.d/init.d/$service", $action); } and some more. This can be the root issue of X not started after mageia 2 install.