Bug#315327: [Pkg-xfce-devel] Bug#315327: xfce4-mcs-manager: don't launch the xfce-mcs-manager

Simon Huggins 315327@bugs.debian.org, 315327@bugs.debian.org
Wed, 22 Jun 2005 15:09:40 +0100

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

severity 315327 important
retitle 315327 Don't die when .config is not a directory

On Wed, Jun 22, 2005 at 02:57:49PM +0200, Cyril Mougel wrote:
> Cyril Brulebois wrote:
> >Cyril Mougel <cyril.mougel@gmail.com> (22/06/2005):
> >>	(xfce-mcs-manager:5371): libxfce4util-WARNING **: Invalid
> >>	XDG_CONFIG_HOME directory `/home/shingara/.config', program may
> >>	behave incorrectly.
> >>	** (xfce-mcs-manager:5371): CRITICAL **: backdrop_settings.c:
> >>	Unable to migrate settings/backdrop.xml to new location (error
> >>	opening target file for writing)
> >>	zsh: segmentation fault  xfce-mcs-manager

It shouldn't segfault certainly but I don't agree that this is RC.

> >since .config is a file in the present case, and not a directory, it
> >causes different troubles as mentionned above.
> >
> >I then suggest that:
> > * check the type of files with a `test`-like function: regular files,
> >   symlinks, directory...
> > * be more explicit in the second message. Example: tell the (full)
> >   location of the target file, which could help finding out the
> >   problem. And indicate the error number/description could help too
> >   (then no more use playing with strace ;-)).
> I found with Cyril Brulebois where the problem was. In fact my file
> .config is my kernel config. This name is the default name of a kernel
> config. Since it's a hidden file, it can easily be forgotten in the
> home directory. I moved this file and my problem was then closed, a
> directory .config/ made with the xfce file's configuration.

> This problem can be frequent, and I agree with Cyril Brulebois's
> proposition.

I'll forward this upstream later today.

Thanks for the report.


=2E.. debian-legal "consensus" is worth approximately all of the lint
    currently residing in my belly button. -- Brian Nelson

Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

Version: GnuPG v1.4.1 (GNU/Linux)