Bug 9020 - 3_b2: kdmrc UserPath and SystemPath should be removed.
Summary: 3_b2: kdmrc UserPath and SystemPath should be removed.
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Nicolas Lécureuil
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-09 20:08 CET by Bit Twister
Modified: 2013-03-19 23:32 CET (History)
2 users (show)

See Also:
Source RPM: mageia-kde4-config
CVE:
Status comment:


Attachments

Description Bit Twister 2013-02-09 20:08:42 CET
Description of problem:

UserPath and SystemPath should be removed so defaults become the norm. The defaults closely match /etc/login.defs and /root/.bashrc.

That would place the /usr/local in front to match the other definitions.
 
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
$ grep -i path= /usr/share/config/kdm/kdmrc
UserPath=/usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin/
SystemPath=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin

# grep -i path= /etc/login.defs 
ENV_SUPATH      PATH=/usr/local/sbin:/usr/sbin:/usr/local/bin:/usr/bin
ENV_PATH        PATH=/usr/local/bin:/usr/bin

# grep -i path= /root/.bashrc
PATH=/usr/local/sbin:/usr/sbin:/usr/local/bin:/usr/bin
Manuel Hiebel 2013-02-10 13:49:45 CET

Assignee: bugsquad => nicolas.lecureuil
CC: (none) => balcaen.john, lmenut

Comment 1 Luc Menut 2013-02-10 23:48:10 CET
It's already fixed, UserPath and SystemPath use the same path as /etc/login.defs since mageia-kde4-config-3-0.20130206.1.mga3.
http://svnweb.mageia.org/soft?view=revision&revision=7269

As kdmrc is a config file, you will have to merge manually these changes (we can't force the change because some users can have personalized theses paths).

regards,
Luc

Hardware: x86_64 => All
Resolution: (none) => FIXED
Source RPM: kdebase4-workspace-4.10.0-1.mga3.src.rpm => mageia-kde4-config
Status: NEW => RESOLVED

Comment 2 Bit Twister 2013-02-11 11:31:43 CET
(In reply to comment #1)
> 
> As kdmrc is a config file, you will have to merge manually these changes (we
> can't force the change because some users can have personalized theses paths).

I understand. In that case, /usr/share/config/kdm/kdmrc.rpmnew should be created so the user can decide what to change when a new kdmrc is released.

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 3 Luc Menut 2013-03-19 23:32:18 CET
This bug should be fixed with mageia-kde4-config-3-0.20130317.1 .

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED


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