[Bug 1095180] Re: command / directory mixup for completion of args to meta-commands like sudo

2014-11-30 Thread Peter Cordes
** Summary changed:

- incorrect bash-completion for sudo
+ command / directory mixup for completion of args to meta-commands like sudo

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to etckeeper in Ubuntu.
https://bugs.launchpad.net/bugs/1095180

Title:
  command / directory mixup for completion of args to meta-commands like
  sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1095180/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1095180] Re: incorrect bash-completion for sudo

2014-11-29 Thread Peter Cordes
It's a corner case of a directory in the current directory having the
same name as a command.  The directory entry is superseding the command
completion.

 If you  sudo ettab  you get a list of completions.  In /etc, the only
entry for etckeeper is with a trailing /, rather than having an entry
for the command AND an entry for the directory.  If you are cded to
somewhere without an etckeeper directory present, etckeeper is fine.

 This happens with completion for any commands flagged to take another command 
as their first argument.  simple testcase:
mkdir apt-g{,et}
nice apt-gtab  =  lists apt-g/   apt-get/
nice apt-getab = nice apt-get/

Probably fixable without disabling completing filenames as a fallback,
IDK.  _command_offset() is pretty complex, I'm prob. not going to try to
fix it myself.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to etckeeper in Ubuntu.
https://bugs.launchpad.net/bugs/1095180

Title:
  incorrect bash-completion for sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1095180/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1095180] Re: incorrect bash-completion for sudo

2014-11-29 Thread Peter Cordes
The bug is in the core code of bash_completion, in the functions that
handle commands that take other commands as their arguments, e.g. sudo,
nice, and so on.  Marked invalid for the etckeeper package, but still
confirmed for bash-completion.  (I hope I'm doing this right.  If
there's a way to un-assign it from etckeeper altogether, that would be
best).

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to etckeeper in Ubuntu.
https://bugs.launchpad.net/bugs/1095180

Title:
  incorrect bash-completion for sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1095180/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1095180] Re: incorrect bash-completion for sudo

2014-11-29 Thread Peter Cordes
reported upstream as
https://alioth.debian.org/tracker/index.php?func=detailaid=314893group_id=100114atid=413095


** Bug watch added: alioth.debian.org/ #314893
   http://alioth.debian.org/support/tracker.php?aid=314893

** Changed in: etckeeper (Ubuntu)
   Status: Confirmed = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to etckeeper in Ubuntu.
https://bugs.launchpad.net/bugs/1095180

Title:
  incorrect bash-completion for sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1095180/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 106975] Re: mysqldump lacks bash completion script

2014-11-29 Thread Peter Cordes
reassigning this to mysql.  Packages can provide their own completion
rules and install them with dh_bash-completion.  Not every tool needs to
have its completions shipped in bash-completions to be installed on
every system regardless of whether the tool is installed or not.

 There's already a script that someone wrote, just toss that into the
mysql packaging, or submit it upstream.


** Tags added: patch

** Package changed: bash-completion (Ubuntu) = mysql-5.5 (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.5 in Ubuntu.
https://bugs.launchpad.net/bugs/106975

Title:
  mysqldump lacks bash completion script

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.5/+bug/106975/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1395269] [NEW] ethtool -t eth0 offline loses routing table

2014-11-21 Thread Peter Cordes
Public bug reported:

ethtool -t eth0 offline does the tests, but leaves the routing table
with only the entry for the local network.  I had to sudo route add
default gw 10.0.0.1, in my case.  The online test didn't do this.

Ubuntu 14.04, ethtool 1:3.13-1

Linux tesla 3.13.0-39-generic #66-Ubuntu SMP Tue Oct 28 13:30:27 UTC
2014 x86_64 x86_64 x86_64 GNU/Linux

ethtool -i eth0: 
driver: e1000e
version: 2.3.2-k
firmware-version: 1.1-0
bus-info: :00:19.0

relevant kernel log:
[637008.472410] e1000e :00:19.0 eth0: offline testing starting
[637009.077985] e1000e :00:19.0 eth0: testing unshared interrupt
[637022.468941] e1000e :00:19.0: irq 45 for MSI/MSI-X
[637022.572094] e1000e :00:19.0: irq 45 for MSI/MSI-X
[637022.572257] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[637037.432893] e1000e: eth0 NIC Link is Up 10 Mbps Full Duplex, Flow Control: 
Rx/Tx
[637037.433003] e1000e :00:19.0 eth0: Link Speed was downgraded by 
SmartSpeed
[637037.433005] e1000e :00:19.0 eth0: 10/100 speed: disabling TSO
[637037.433035] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[637037.982611] net_ratelimit: 3 callbacks suppressed
[637037.982623] IPv4: martian source 10.0.0.17 from 80.73.161.44, on dev eth0
[637037.982628] ll header: : 00 19 d1 11 b4 9b 00 03 6d 11 34 1b 08 00  
  m.4...

(the martian packets are from TCP connections that my router is still
NATing to this machine, even though without its routing table, it's not
happy to see them.)

 And yes, my e1000e is autonegotiating to 10baseT/Full on the same
cables and switch that still works at 1000baseT with another machine,
hence running self-tests...  I thought this machine used to run at
1000baseT, weird if I went 5 years without noticing my desktop being
slow.  Not what this bug report is about, though.

 The e1000e hardware is on a DG965WH Intel mobo (ICH8 / g965 graphics, 
first-gen core2)
00:19.0 Ethernet controller: Intel Corporation 82566DC Gigabit Network 
Connection (rev 02)
Subsystem: Intel Corporation Device 0001
Flags: bus master, fast devsel, latency 0, IRQ 45
Memory at e030 (32-bit, non-prefetchable) [size=128K]
Memory at e0324000 (32-bit, non-prefetchable) [size=4K]
I/O ports at 20e0 [size=32]
Capabilities: [c8] Power Management version 2
Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: e1000e


$ ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes:   10baseT/Half 10baseT/Full 
100baseT/Half 100baseT/Full 
1000baseT/Full 
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes:  10baseT/Full 
100baseT/Full 
1000baseT/Full 
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: 10Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: on (auto)
Cannot get wake-on-lan settings: Operation not permitted
Current message level: 0x0007 (7)
   drv probe link
Link detected: yes


Appears to be the same problem as someone reported to Redhat a while ago, which 
got marked as fixed for the igb driver
https://bugzilla.redhat.com/show_bug.cgi?format=multipleid=661976
Not very useful info in their BTS, because the bug that it's a dup of is now 
flagged private, so nobody can even look at it.

 Possibly this is a per-driver thing, unless the right fix is to have
ethtool save/restore the routing table entries for that iface.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ethtool 1:3.13-1
ProcVersionSignature: Ubuntu 3.13.0-39.66-generic 3.13.11.8
Uname: Linux 3.13.0-39-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
Date: Sat Nov 22 03:00:35 2014
Dependencies:
 gcc-4.9-base 4.9.1-0ubuntu1
 libc6 2.19-0ubuntu6.3
 libgcc1 1:4.9.1-0ubuntu1
 multiarch-support 2.19-0ubuntu6.3
SourcePackage: ethtool
UpgradeStatus: Upgraded to trusty on 2014-07-14 (130 days ago)

** Affects: ethtool (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ethtool in Ubuntu.
https://bugs.launchpad.net/bugs/1395269

Title:
  ethtool -t eth0 offline loses routing table

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ethtool/+bug/1395269/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 472969] [NEW] installs a broken man-page symlink

2009-11-03 Thread Peter Cordes
Public bug reported:

Binary package hint: qemu-kvm

found with cruft(8)

$ find -L $(dpkg -L qemu-kvm)  -maxdepth 0 -type l -ls
31129340 lrwxrwxrwx   1 root root   10 Oct 31 15:41 
/usr/share/man/man1/kvm-nbd.1 - qemu-nbd.1

correct target is /usr/share/man/man8/qemu-nbd.8.gz
ii  qemu-kvm0.11.0-0ubuntu6.1   Full virtualization 
on i386 and amd64 hardware

** Affects: qemu-kvm (Ubuntu)
 Importance: Undecided
 Status: New

-- 
installs a broken man-page symlink
https://bugs.launchpad.net/bugs/472969
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 472080] [NEW] Installs symlinks to files in non-dependency libkadm5clnt6

2009-11-03 Thread Peter Cordes
On Tue, Nov 03, 2009 at 06:34:23PM -, Sam Hartman wrote:
 -Source: krb5
 +8Source: krb5

 Is that a typo?

 happy hacking,

-- 
#define X(x,y) x##y
Peter Cordes ;  e-mail: X(pe...@cor , des.ca)

The gods confound the man who first found out how to distinguish the hours!
 Confound him, too, who in this place set up a sundial, to cut and hack
 my day so wretchedly into small pieces! -- Plautus, 200 BC

-- 
Installs symlinks to files in non-dependency libkadm5clnt6
https://bugs.launchpad.net/bugs/472080
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to krb5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 472080] [NEW] Installs symlinks to files in non-dependency libkadm5clnt6

2009-11-02 Thread Peter Cordes
Public bug reported:

Binary package hint: libkrb5-dev

Found with cruft(8).

$ find -L $(dpkg -L libkrb5-dev)  -maxdepth 0 -type l -ls
168769880 lrwxrwxrwx   1 root root   19 Oct 31 15:35 
/usr/lib/libkadm5clnt.so - libkadm5clnt.so.6.0

$ apt-file search libkadm5clnt.so.6.0
libkadm5clnt6: /usr/lib/libkadm5clnt.so.6.0

 So probably libkrb5-dev should depend on libkadm5clnt6 as well as
libkadm5srv6.

Or maybe not, I don't know how this is supposed to work.  I only have
libkrb5-dev installed because libcurl4-openssl-dev pulls it in.

** Affects: krb5 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
Installs symlinks to files in non-dependency libkadm5clnt6
https://bugs.launchpad.net/bugs/472080
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to krb5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 446329] Re: udev output at bootup: NAME=%k is superfluous

2009-11-01 Thread Peter Cordes
I see the message too.  lvm2 is the wrong package, though.

pe...@tesla:~$ dpkg -S /etc/udev/rules.d/50-kvm.rules
kvm: /etc/udev/rules.d/50-kvm.rules


** Package changed: lvm2 (Ubuntu) = kvm (Ubuntu)

-- 
udev output at bootup: NAME=%k is superfluous
https://bugs.launchpad.net/bugs/446329
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs