Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710510 - x11-apps/xinit-1.4.1: /etc/X11/startDM.sh installed with incorrect permissions
Summary: x11-apps/xinit-1.4.1: /etc/X11/startDM.sh installed with incorrect permissions
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-22 18:17 UTC by Scott Alfter
Modified: 2020-02-24 11:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
revised ebuild (xinit-1.4.1.ebuild,2.19 KB, text/plain)
2020-02-22 18:29 UTC, Scott Alfter
Details

Note You need to log in before you can comment on or make changes to this bug.
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.