Bug 627401 - please create systemd default.target symlink pointing to /lib/systemd/system/runlevelX.target instead of /etc/systemd/system/runlevelX.target
Summary: please create systemd default.target symlink pointing to /lib/systemd/system/...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 14
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 628417 629820 633073 633087 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-25 23:19 UTC by Lennart Poettering
Modified: 2012-08-16 22:38 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-16 22:38:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
[PATCH] systemd units are in /lib, but default.target must be in /etc (1.35 KB, patch)
2010-09-03 07:57 UTC, Michal Schmidt
no flags Details | Diff

Description Lennart Poettering 2010-08-25 23:19:07 UTC
In systemd v8 we changed the location of that file, and anaconda must now write the right file.

Sorry for moving this around, I am pretty sure this is the last time we do this, though.

Comment 1 Chris Lumens 2010-08-27 14:15:36 UTC
Thanks for the heads up.

Comment 2 Michal Schmidt 2010-08-30 18:02:13 UTC
*** Bug 628417 has been marked as a duplicate of this bug. ***

Comment 3 Michal Schmidt 2010-09-03 07:54:40 UTC
*** Bug 629820 has been marked as a duplicate of this bug. ***

Comment 4 Michal Schmidt 2010-09-03 07:57:38 UTC
Created attachment 442827 [details]
[PATCH] systemd units are in /lib, but default.target must be in /etc

I reviewed the patch in anaconda git (http://git.fedorahosted.org/git/?p=anaconda.git;a=commit;h=d6996a295075b5de7d2021676e9f2a38965cd376) and found it is not correct. The default.target symlink must remain in /etc. I suppose the request wasn't entirely clear.
The attached patch fixes it.

Comment 5 Fedora Update System 2010-09-03 15:10:46 UTC
anaconda-14.17-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/anaconda-14.17-1.fc14

Comment 7 Fedora Update System 2010-09-03 16:43:08 UTC
anaconda-14.17-1.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update anaconda'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/anaconda-14.17-1.fc14

Comment 8 Adam Williamson 2010-09-03 16:47:37 UTC
Discussed at today's blocker review meeting. Accepted as a blocker under (Alpha) criteria "In most cases, the installed system must boot to a functional graphical environment without user intervention" and "When booting a system installed without a graphical environment, or when using a correct configuration setting to cause an installed system to boot in non-graphical mode, the system should boot to a state where it is possible to log in through at least one of the default virtual consoles". Need to apply Michal's corrected fix here. Thanks!

Comment 9 Chris Lumens 2010-09-07 14:38:56 UTC
Thanks for the update.

Comment 10 satellitgo 2010-09-08 19:51:48 UTC
systemd_20100907.iso anaconda install boots to bash-4# prompt:
must rm /etc/systemd/system/default.target then ln -s /lib/systemd/system/graphical.target /etc/systemd/system/default.target  then reboot.

thanks to adamw  on #fedora-test-day for fix

Comment 11 Michal Schmidt 2010-09-12 19:54:47 UTC
*** Bug 633087 has been marked as a duplicate of this bug. ***

Comment 12 Chris Lumens 2010-09-12 20:08:47 UTC
*** Bug 633073 has been marked as a duplicate of this bug. ***

Comment 13 Fedora Update System 2010-09-15 07:09:57 UTC
anaconda-14.17-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Adam Williamson 2010-09-15 12:27:16 UTC
Yes. It still persists. 14.17.1-1 or later needs to be pushed  before this is fixed, the fix in 14.17-1 was broken. However, it's not a blocker any more, as we reverted to upstart. (Does anything need to be reverted in anaconda for the upstart reversion?)

Comment 15 Michal Schmidt 2010-09-15 12:45:59 UTC
I suggest adding this fix to F14:
https://www.redhat.com/archives/anaconda-devel-list/2010-September/msg00103.html

Otherwise the missing systemd directory will cause anaconda to skip writing /etc/sysconfig/desktop.

Comment 16 Adam Williamson 2010-09-15 12:58:17 UTC
looks good to me, can you throw it in for 14.17.2?

Comment 17 Fedora Update System 2010-10-06 22:03:13 UTC
anaconda-14.18-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/anaconda-14.18-1.fc14

Comment 18 Fedora Update System 2010-10-07 19:51:13 UTC
anaconda-14.18-1.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update anaconda'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/anaconda-14.18-1.fc14

Comment 19 Fedora End Of Life 2012-08-16 22:38:21 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


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