Bug 799133 - update of systemd package changes /lib/systemd/system/default.target to graphical.target from multi-user.target
Summary: update of systemd package changes /lib/systemd/system/default.target to graph...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-01 20:42 UTC by kevin martin
Modified: 2012-03-02 00:11 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-02 00:11:24 UTC
Type: ---


Attachments (Terms of Use)

Description kevin martin 2012-03-01 20:42:14 UTC
Description of problem:

yum update today incorporated an update to systemd.  The update changed my default.target from multi-user.target to graphical.target.  This should not happen.

Version-Release number of selected component (if applicable):
systemd-43-2.fc18

How reproducible:
unknown but this is the second time this has happened.

Steps to Reproduce:
1.set /lib/systemd/system/default.target to point to multi-user.target
2.update systemd
3.link is changed to point to grapical.target
  
Actual results:

link changed when it shouldn't be.

Expected results:

default target remains the same.

Additional info:

Comment 1 Michal Schmidt 2012-03-02 00:11:24 UTC
(In reply to comment #0)
> 1.set /lib/systemd/system/default.target to point to multi-user.target
> 2.update systemd
> 3.link is changed to point to grapical.target

Never edit files under /lib. They are not config files and they will be overwritten by package updates.
Instead store your customizations under /etc.

cd /etc/systemd/system
ln -s /lib/systemd/system/multi-user.target default.target


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