Bug 22964

Summary: graphical.target default symlink is somehow set in /usr/lib/systemd/system instead of in /etc/systemd/system
Product: Mageia Reporter: yoriy k <yoriy>
Component: RPM PackagesAssignee: Base system maintainers <basesystem>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: marja11, ngompa13, ouaurelien
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: systemd CVE:
Status comment:

Description yoriy k 2018-04-28 19:24:01 CEST
Description of problem:
/etc/systemd/system/default.target is a symlink to multi-user.target while /lib/systemd/system/default.target is a symlink to graphical.target

Version-Release number of selected component (if applicable):
systemd-units-236-6.mga7

How reproducible:
install Cauldron from netload iso

Steps to Reproduce:
install Cauldron and check filesystem
Marja Van Waes 2018-04-28 19:32:59 CEST

Assignee: bugsquad => basesystem
Source RPM: (none) => systemd
CC: (none) => marja11

Neal Gompa 2018-04-28 19:50:12 CEST

CC: (none) => ngompa13
Summary: graphical.target => graphical.target default symlink is somehow set in /usr/lib/systemd/system instead of in /etc/systemd/system

Comment 1 Aurelien Oudelet 2021-02-22 17:24:29 CET
$ cd /etc/systemd/system/
$ ll

lrwxrwxrwx 1 root root   36 janv. 27 17:01 default.target -> /lib/systemd/system/runlevel5.target

Under /lib/systemd/system/ :
lrwxrwxrwx 1 root root   16 févr. 13 00:14  runlevel5.target -> graphical.target

Which is (in /lib/systemd/system):
-rw-r--r-- 1 root root  598 déc.  16 18:25  graphical.target

Note also (in /lib/systemd/system):
lrwxrwxrwx 1 root root   16 févr. 13 00:14  default.target -> graphical.target

Fixed. Note that /etc/systemd/system has always a higher priority than that is in /lib/systemd/system/
Closing.

Status: NEW => RESOLVED
CC: (none) => ouaurelien
Resolution: (none) => FIXED