Debian Bug report logs - #645693
bash-completion has errors

Package: grub-common; Maintainer for grub-common is GRUB Maintainers <pkg-grub-devel@alioth-lists.debian.net>; Source for grub-common is src:grub2 (PTS, buildd, popcon).

Reported by: Thomas Mueller <thomas.mueller@tmit.eu>

Date: Mon, 17 Oct 2011 20:51:02 UTC

Severity: important

Done: Jonathan Nieder <jrnieder@gmail.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#645693; Package bash-completion. (Mon, 17 Oct 2011 20:51:05 GMT) (full text, mbox, link).


Acknowledgement sent to Thomas Mueller <thomas.mueller@tmit.eu>:
New Bug report received and forwarded. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Mon, 17 Oct 2011 20:51:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Thomas Mueller <thomas.mueller@tmit.eu>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: bash-completion files of grub and git prevent xsession to start with gdm3
Date: Mon, 17 Oct 2011 22:21:50 +0200
[Message part 1 (text/plain, inline)]
Package: bash-completion
Version: 1:1.3-1
Severity: important

Dear Maintainer,

due to *possible* errors within /etc/bash_completion.d/git and /etc/bash_completion.d/grub, gdm3
cannot start the xsession.

After purging bash_completion logon works find.

The issue is could be within:
 - bash_completion, which maybe is not that fail safe on script execution
 - git and grub, because the scripts have errors
 - gdm3, because it isn't that fail safe as well
 - *any other suspect*

 
I have no idea what the root cause is, please try to find a solution.

Thanks alot,

Thomas


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bash-completion depends on:
ii  bash  4.1-3

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information
[bash_completion-error.txt (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#645693; Package bash-completion. (Mon, 17 Oct 2011 20:57:03 GMT) (full text, mbox, link).


Acknowledgement sent to dapal@debian.org:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Mon, 17 Oct 2011 20:57:03 GMT) (full text, mbox, link).


Message #10 received at 645693@bugs.debian.org (full text, mbox, reply):

From: David Paleino <dapal@debian.org>
To: Thomas Mueller <thomas.mueller@tmit.eu>
Cc: 645693@bugs.debian.org, grub-common@packages.debian.org, git@packages.debian.org
Subject: Re: Bug#645693: bash-completion files of grub and git prevent xsession to start with gdm3
Date: Mon, 17 Oct 2011 22:55:12 +0200
[Message part 1 (text/plain, inline)]
retitle 645693 bash-completion has errors
clone 645693 -1
reassign 645693 grub-common
reassign -1 git
thanks

Hello Thomas,

On Mon, 17 Oct 2011 22:21:50 +0200, Thomas Mueller wrote:

> Dear Maintainer,
> 
> due to *possible* errors within /etc/bash_completion.d/git
> and /etc/bash_completion.d/grub, gdm3 cannot start the xsession.

Those files are not provided by us. Next time, please report your bugs to the
correct packages ;)

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
[signature.asc (application/pgp-signature, attachment)]

Changed Bug title to 'bash-completion has errors' from 'bash-completion files of grub and git prevent xsession to start with gdm3' Request was from David Paleino <dapal@debian.org> to control@bugs.debian.org. (Mon, 17 Oct 2011 20:57:05 GMT) (full text, mbox, link).


Bug 645693 cloned as bug 645694. Request was from David Paleino <dapal@debian.org> to control@bugs.debian.org. (Mon, 17 Oct 2011 20:57:05 GMT) (full text, mbox, link).


Bug reassigned from package 'bash-completion' to 'grub-common'. Request was from David Paleino <dapal@debian.org> to control@bugs.debian.org. (Mon, 17 Oct 2011 20:57:07 GMT) (full text, mbox, link).


Bug No longer marked as found in versions bash-completion/1:1.3-1. Request was from David Paleino <dapal@debian.org> to control@bugs.debian.org. (Mon, 17 Oct 2011 20:57:07 GMT) (full text, mbox, link).


Reply sent to Jonathan Nieder <jrnieder@gmail.com>:
You have taken responsibility. (Tue, 18 Oct 2011 21:51:11 GMT) (full text, mbox, link).


Notification sent to Thomas Mueller <thomas.mueller@tmit.eu>:
Bug acknowledged by developer. (Tue, 18 Oct 2011 21:51:11 GMT) (full text, mbox, link).


Message #23 received at 645693-done@bugs.debian.org (full text, mbox, reply):

From: Jonathan Nieder <jrnieder@gmail.com>
To: Thomas Müller <thomas.mueller@tmit.eu>
Cc: 645694-done@bugs.debian.org, 645693-done@bugs.debian.org
Subject: Re: bash-completion files of grub and git prevent xsession to start with gdm3
Date: Tue, 18 Oct 2011 16:48:03 -0500
Hi Thomas,

Thanks for the quick response.

Thomas Müller wrote:

> /etc/bash.bashrc:if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
> /etc/bash.bashrc:    . /etc/bash_completion

This part looks sane.

[...]
> /etc/profile:if [ -f /etc/bash_completion ]; then
> /etc/profile:    . /etc/bash_completion

This looks broken.  You can see the default /etc/profile in
/usr/share/base-files/profile.  It relies on bash.bashrc to source the
bash completion scripts, doing so only when the "$BASH" envvar is nonempty
(so it does not get run by other shells).

It would be possible for /etc/bash_completion to give a more specific
error message when it is being run by something other than bash, but
that would have the downside of hindering development of bash-style
completion scripts meant to be run by other shells that handle most of
bash's features (like zsh).

Hence closing.  Where did those lines in /etc/profile come from?

Hope that helps,
Jonathan




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 16 Nov 2011 07:39:14 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 09:48:43 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.