Bug#330812: Xsession snipped runs init script without checking permissions

2005-09-30 Thread Drew Parsons
On Fri, 2005-09-30 at 15:05 +0200, Eduard Bloch wrote: > Because we (Debian) do not have a consistent and easy useable system for > enabling and disabling daemons. So users come with different "easy" ways > to make them "go away". > Almost true. We do have a consistent system for it, it's just

Bug#330812: Xsession snipped runs init script without checking permissions

2005-09-30 Thread Eduard Bloch
#include * Drew Parsons [Fri, Sep 30 2005, 10:50:10PM]: > > More robust, but not much more. If some error happens in the script the > > Xsession is broken again (see other bug report). > > > > OK. I'll probably use XPSERVERLIST="`/etc/init.d/xprint > get_xpserverlist || true`" then I think, on

Bug#330812: Xsession snipped runs init script without checking permissions

2005-09-30 Thread Drew Parsons
On Fri, 2005-09-30 at 09:49 +0200, Eduard Bloch wrote: > > > > You mean change > > XPSERVERLIST="`/etc/init.d/xprint get_xpserverlist`" > > to > > XPSERVERLIST="`/etc/init.d/xprint get_xpserverlist || true`" > > ? > > Of course. Or foo=`bar` || true, or foo=`bar || :` or whatever. > > >

Bug#330812: Xsession snipped runs init script without checking permissions

2005-09-30 Thread Eduard Bloch
#include * Drew Parsons [Fri, Sep 30 2005, 10:48:13AM]: > On Thu, 2005-09-29 at 22:50 +0200, Eduard Bloch wrote: > > Package: xprint-common > > Version: 1:0.1.0.alpha1-12 > > Severity: grave > > > > Hello, > > > > the Xsession.d file tries run the init script but it cannot rely on its > > exista

Bug#330812: Xsession snipped runs init script without checking permissions

2005-09-29 Thread Drew Parsons
On Thu, 2005-09-29 at 22:50 +0200, Eduard Bloch wrote: > Package: xprint-common > Version: 1:0.1.0.alpha1-12 > Severity: grave > > Hello, > > the Xsession.d file tries run the init script but it cannot rely on its > existance since it is a conffile. I know of cases where the file was > _not_ exec

Bug#330812: Xsession snipped runs init script without checking permissions

2005-09-29 Thread Eduard Bloch
Package: xprint-common Version: 1:0.1.0.alpha1-12 Severity: grave Hello, the Xsession.d file tries run the init script but it cannot rely on its existance since it is a conffile. I know of cases where the file was _not_ executable which made Xsession fail because Overfiend insists on using "set -