Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286308 - app-misc/livecd-tools should not create .noxdm in /etc/init.d
Summary: app-misc/livecd-tools should not create .noxdm in /etc/init.d
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 281827
  Show dependency tree
 
Reported: 2009-09-24 21:03 UTC by William Hubbs
Modified: 2012-01-07 00:24 UTC (History)
1 user (show)

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


Attachments
0001-moved-.noxdm-to-tmp.patch (0001-moved-.noxdm-to-tmp.patch,540 bytes, text/plain)
2009-09-24 21:06 UTC, William Hubbs
Details
0001-move-.noxdm-to-etc.patch (0001-move-.noxdm-to-etc.patch,538 bytes, text/plain)
2009-10-06 16:57 UTC, William Hubbs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description William Hubbs gentoo-dev 2009-09-24 21:03:16 UTC
The autoconfig script in livecd-tools writes the .noxdm file in
/etc/init.d, which should not be written to.

The attached patch moves this file to /tmp, which I think is a better
place for it.
Comment 1 William Hubbs gentoo-dev 2009-09-24 21:06:27 UTC
Created attachment 205152 [details]
0001-moved-.noxdm-to-tmp.patch

This patch moves the .noxdm file to /tmp.

if you move the file to another place other than /tmp, please let me
know, because xinit needs to be updated again if you do that.

Thanks,

William
Comment 2 William Hubbs gentoo-dev 2009-10-06 16:57:52 UTC
Created attachment 206256 [details]
0001-move-.noxdm-to-etc.patch

All,

please use this patch instead of the previous one.
There are security issues with putting this file in /tmp, see bug #287913.
It can go in /etc however.
Comment 3 Andrew Gaffney (RETIRED) gentoo-dev 2009-12-27 00:16:12 UTC
This is fixed in git.
Comment 4 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-09-19 01:29:03 UTC
William,

is there anything left to do here? The update to bl2 change this code too.
Comment 5 William Hubbs gentoo-dev 2011-09-20 15:53:48 UTC
Jorge,

we should be able to go ahead and close this.

Thanks,

William
Comment 6 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2012-01-07 00:24:09 UTC
Closing per William's last comment.