Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 710510

Summary: x11-apps/xinit-1.4.1: /etc/X11/startDM.sh installed with incorrect permissions
Product: Gentoo Linux Reporter: Scott Alfter <scott>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED WORKSFORME    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: revised ebuild

Description Scott Alfter 2020-02-22 18:17:46 UTC
/etc/X11/startDM.sh is installed without execute permission.  When the xdm service is started, this produces an error something like this:

/etc/init.d/xdm: line 180: /etc/X11/startDM.sh: Permission denied

sudo chmod +x /etc/X11/startDM.sh fixes this, but the ebuild should do this.

Reproducible: Always
Comment 1 Scott Alfter 2020-02-22 18:29:24 UTC
Created attachment 615148 [details]
revised ebuild
Comment 2 Piotr Karbowski (RETIRED) gentoo-dev 2020-02-23 20:50:55 UTC
I am unable to reproduce it, even with purging xinit package and emerging it again.

Can you reproduce it localle? I wonder if perhaps you did something locally that could make it that way, maybe with etc-update or dispatch-config?

Also spliting it into two lines does not change anything, as the doexe ebuild helper runs loop over "$@".
Comment 3 Piotr Karbowski (RETIRED) gentoo-dev 2020-02-24 11:39:07 UTC
Feel free if you can reproduce it.