Bug 799133

Summary: update of systemd package changes /lib/systemd/system/default.target to graphical.target from multi-user.target
Product: [Fedora] Fedora Reporter: kevin martin <ktmdms>
Component: systemdAssignee: systemd-maint
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: johannbg, metherid, mschmidt, notting, plautrba, systemd-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-02 00:11:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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