Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 338837 - x11-base/xorg-server-1.9.0: couldn't start xserver (problem with nox on boot)
Summary: x11-base/xorg-server-1.9.0: couldn't start xserver (problem with nox on boot)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard: x11
Keywords: InOverlay, InVCS
Depends on:
Blocks:
 
Reported: 2010-09-26 17:50 UTC by Oskar Wrobel
Modified: 2010-09-28 19:34 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oskar Wrobel 2010-09-26 17:50:40 UTC
New /etc/init.d/xdm script checks for presence of /etc/.noxdm AND nox bootparam. This logic is IMHO broken because there is no way to remove nox bootparam (from /proc/cmdline I suppose). This is annoying because nox bootparm is useful to supress starting xserver for once on init (e.g. when upgrading nvidia-drivers) and not necessarily for whole session till next reboot.

Reproducible: Always

Steps to Reproduce:
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-09-26 18:40:30 UTC
Hm, that was fine with 1.8.2, I don't know why the init.d mechanism was changed in 1.9.0.
Comment 2 Oskar Wrobel 2010-09-26 19:36:30 UTC
Bug #338257 mentions xdm-setup script that was previously used to setup .noxdm file when nox bootpatm was given. No reason why it was removed though. Guess somebody just wanted to simplify things and reduce amount of init scripts. Changelog mentions:
12 Sep 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>                                                           
+files/xdm.initd-2, +files/xorgsets.conf:                                                             Add missing files, bug #336997
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-09-27 08:26:46 UTC
commit 14b924c04edc884f888a74a222ea33207b729f8b
Author: Tomáš Chvátal <scarabeus@gentoo.org>
Date:   Thu Aug 26 23:00:26 2010 +0200

    Remove xdm-setup init file. Less files better life :)
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-09-27 09:28:23 UTC
I've restored the scripts in the overlay (for xorg-server-9999).

commit 8e905287cbd54dc10d1b52dd971ea493f87d51a7
Author: Michał Górny <gentoo@mgorny.alt.pl>
Date:   Mon Sep 27 11:09:52 2010 +0200

    x11-base/xorg-server: Restore xdm-setup init.d script and cleanup the main xdm script a little.
    
    (Portage version: 2.2_rc87_p1/git/Linux x86_64, RepoMan options: --force, signed Manifest commit)
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2010-09-28 12:43:35 UTC
Added to main tree. Thx Michal.
Comment 6 toogle 2010-09-28 19:34:33 UTC
# qlist -Iv xorg-server
x11-base/xorg-server-1.9.0-r1
# rc-service <something> start
 * Caching service dependencies ...
Service `xdm' needs non existant service `xdm-setup'
 * Starting <something> ...
# grep 'xdm-setup' /etc/init.d/xdm
        need localmount xdm-setup

Maybe you want to fix that.