[Pkg-xfce-devel] Bug#748944: Processed: Re: Processed (with 1 errors): on how lightdm does not like it when /etc/X11/Xsession is not executable

Yves-Alexis Perez corsac at debian.org
Wed Jul 22 18:52:14 UTC 2015


On mer., 2015-07-22 at 20:43 +0200, Josip Rodin wrote:
> On Tue, Jul 21, 2015 at 09:48:35PM +0200, Yves-Alexis Perez wrote:
> > On mar., 2015-07-21 at 15:20 +0200, Josip Rodin wrote:
> > > No, startx has also worked on my machine without the executable bit on that
> > > file. It's lightdm that seems to be depending on something others don't.
> > 
> > I had the impression that startx (without argument) would use Xsession.
> > At least the Xsession file header gives that impression.
> 
> On related note, this system executes the ~/.xsession file as a shell
> script, but it isn't executable :)

No, see 50x11-common_determine-startup, if it's not executable it'll
treat it as a shell script and run it through $SHELL (or sh).
> 
> > > If this is an actual requirement of some standard, please reassign the bug
> > > to the owner of the file (x11-common) and have them enforce the standard.
> > 
> > It's already done. x11-common ships Xsession with executable bit.
> 
> Well, then it shouldn't ship it as a conffile, because that implies they
> can't maintain the enforcement, as the user is allowed to do all sorts of
> things to conffiles (and usually expected to).

Sure, if you remove the executable bit, it won't execute. Isn't what
you wanted, then?

Anyway, end of discussion for me. It might be entertaining for you, but
it's time consuming for me.

Regards,
-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20150722/f5514e6f/attachment.sig>


More information about the Pkg-xfce-devel mailing list