I think both files come from Debian. I did an 'apt-get source
x11-common' and I see that debian/x11-common.install installs stuff from
debian/local/Xsession.d. I see both files there:

stefan@spuiu-vm:~/src/ubuntu/xorg-7.7+19ubuntu14$ grep -rn xhost 
debian/local/Xsession.d/
debian/local/Xsession.d/35x11-common_xhost-local:3:# If xhost (from 
x11-xserver-utils) is installed, use it to give access 
debian/local/Xsession.d/35x11-common_xhost-local:5:# Unlike other uses of 
xhost, this is safe since the kernel can check 
debian/local/Xsession.d/35x11-common_xhost-local:8:if type xhost >/dev/null 
2>&1; then
debian/local/Xsession.d/35x11-common_xhost-local:9:  xhost +si:localuser:$(id 
-un) || :
debian/local/Xsession.d/60x11-common_localhost:3:[ -x /usr/bin/xhost ] && [ -x 
/usr/bin/id ] &&
debian/local/Xsession.d/60x11-common_localhost:4:    xhost +si:localuser:`id 
-un` > /dev/null

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1576454

Title:
  Superfluous Xsession.d script: 60x11-common_localhost

Status in xorg package in Ubuntu:
  Confirmed

Bug description:
  Both of these scripts do the same thing, and both are installed by
  x11-common:

  /etc/X11/Xsession.d/35x11-common_xhost-local
  /etc/X11/Xsession.d/60x11-common_localhost

  35x11-common_xhost-local is present in debian, while
  60x11-common_localhost is not. I suspect the latter should be removed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1576454/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to