duplicate startup files

Bug #70609 reported by kieran
This bug report is a duplicate of:  Bug #52685: x11-common installs dup files. Edit Remove
2
Affects Status Importance Assigned to Milestone
xinit (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: xinit

# grep "x11-" /var/lib/dpkg/info/*.list | grep etc
/var/lib/dpkg/info/x11-common.list:/etc/init.d/x11-common
/var/lib/dpkg/info/x11-common.list:/etc/X11/Xsession.d/20x11-common_process-args
/var/lib/dpkg/info/x11-common.list:/etc/X11/Xsession.d/30x11-common_xresources
/var/lib/dpkg/info/x11-common.list:/etc/X11/Xsession.d/50x11-common_determine-startup
/var/lib/dpkg/info/x11-common.list:/etc/X11/Xsession.d/99x11-common_start
/var/lib/dpkg/info/x11-common.list:/etc/X11/Xsession.d/90x11-common_ssh-agent

# grep "xorg-" /var/lib/dpkg/info/*.list | grep etc
/var/lib/dpkg/info/xinit.list:/etc/X11/Xsession.d/99xorg-common_start
/var/lib/dpkg/info/xinit.list:/etc/X11/Xsession.d/90xorg-common_ssh-agent
/var/lib/dpkg/info/xinit.list:/etc/X11/Xsession.d/50xorg-common_determine-startup
/var/lib/dpkg/info/xinit.list:/etc/X11/Xsession.d/30xorg-common_xresources
/var/lib/dpkg/info/xinit.list:/etc/X11/Xsession.d/20xorg-common_process-args

duplicate files between packages cause multiple, nested wrapper applications (dbus, ssh-agent) to be invoked on X startup.

Revision history for this message
gatopeich (gatoguan-os) wrote :

Xsession.d files from xinit package are to be removed.

- 20xorg-common_process-args only one different line, unmeaningful if not wrong

- 30xorg-common_xresources just adds a _malformed_ invocation option for xrdb

- 50,90,99xorg* : exact copies of the ones in x11-common

* xinit session files are dated 2004, whereas the ones in x11-common are from 2005

My suggestion is to remove Xsession.d files from xinit if it has to live along with x11-common.

Exactly what does xinit provide today?

Revision history for this message
Jan Van Buggenhout (chipzz) wrote :

Gatopeich,

I think your last assertion is incorrect, in that the files should be removed from x11-common instead of from xinit, since a lot of library packages depend on x11-common (which may be considered a bug in itself), even though those libraries don't need these scripts (consider the case of a headless server with X11 libs installed; it won't be starting any X sessions, so these files are not needed).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.