completion for 'sudo su <user> -c' broken

Bug #783136 reported by Sylvain Rabot
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bash-completion (Fedora)
Unknown
Unknown
bash-completion (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: bash-completion

sylvain@kheops:~$ sudo su postgres -c "pg_c^TABbash: eval: line -235: unexpected EOF while looking for matching `"'
bash: eval: line -234: syntax error: unexpected end of file
^C

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: bash 4.2-0ubuntu3
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Sun May 15 20:29:11 2011
ExecutablePath: /bin/bash
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcEnviron:
 LANG=en_US.UTF-8
 LANGUAGE=en_US:en
 SHELL=/bin/bash
 PATH=(custom, user)
SourcePackage: bash
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Sylvain Rabot (sylr) wrote :
Revision history for this message
Daniel Black (daniel-black) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (5.0 KiB)

This bug was fixed in the package bash-completion - 1:2.0-1ubuntu1

---------------
bash-completion (1:2.0-1ubuntu1) quantal; urgency=low

  * debian/maintscript, debian/postinst:
    - clean etc conffiles on upgrade since completion files are in /usr
      with the new version
  * Resync with Debian, remaining diff
    * debian/patches/disable-avahi-browse.diff: Disable avahi-browse since
      it scales poorly in the current form: refresh patch
    * patches/101_bash_completion.oga_ogv.patch: Increase support for other
      OGG formats including .oga, .ogx, etc. (LP: #311525)
    * patches/103_colormake.patch: Add support for colormake to the make
      completion rules. (LP: #743208)
  * Dropped changes:
    * Add conffile upgrade handling for a run of conffiles that were dropped
      since lucid: lucid upgrades are only supported to precise.
  * Those fixes are in the new version
    * debian/patches/apt-get-changelog.patch:
    * Drop whitelists if they fail to produce any results:
    * patches/apt-get-download.patch: Add download as an apt-get
      sub-command (LP: #720541)
    * patches/102_manpager.patch: Override MANPAGER when generating perldoc
      completions.

bash-completion (1:2.0-1) unstable; urgency=low

  [ David Paleino ]
  * New upstream version
    - Recognise symlinks to directories as directories (Closes: #666055)
    - sudo -e should list filenames instead of commands (Closes: #446355)
    - ri completion: defines function outside _* namespace (Closes: #669178)
    - overrides lyx's bash-completion (Closes: #662203)
    - complete 'apt-get changelog' (Closes: #659395)
    - sudo su {user} -c "sss failing because of quotation (LP: #783136)
    - scp and rsync error on local path completion (LP: #772571)
  * Standards-Version bump to 3.9.3, no changes needed
  * Updated debian/copyright
  * Added Pre-Depends on dpkg because of dpkg-maintscript-helper

  [ Jonathan Nieder ]
  * Replace /etc/bash_completion symlink with a shim script (Closes: #669180)
  * Remove no longer needed symlink-issue patch
  * Remove /etc/bash_completion symlink to make room for shim script
    on upgrade from versions 1:1.99-2 and 1:1.99-3.

bash-completion (1:1.99-3) unstable; urgency=low

  * Fixed issue when loading completions from the /etc/bash_completion
    symlink.

bash-completion (1:1.99-2) unstable; urgency=low

  * Make /etc/bash_completion a symlink to the new location, waiting
    for bash to update its scripts (Closes: #648319)
  * Dropped debian/NEWS
  * Drop references to old triggers-mechanism (Closes: #655286)

bash-completion (1:1.99-1) unstable; urgency=low

  * Uploading to unstable
  * New upstream pre-2.x snapshot
    - correctly list purgeable packages for dpkg --listfiles and dpkg
      --purge (Closes: #647684)
    - fix bash_completion paths in README (Closes: #647941)
    - _known_hosts_real: Handle more than two hostnames per known hosts
      line (Closes: #647352)
    - _known_hosts_real: Support > 1 files per *KnownHostsFile line
      (Closes: #650514)

bash-completion (1:1.90-1) experimental; urgency=low

  * bash-completion 2 preview: dynamic loading of completions
    - optionally fallback to generic file...

Read more...

Changed in bash-completion (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.