[Bug 1704190] [NEW] Headache breaks shell script files

2017-07-13 Thread Jason Morgan
Public bug reported:

This seems to have been covered by a previous bug, see 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440442
However in the current headache (1.03-25) this is not the case.

The patch 02_skip_begin is mentioned at revision 1.03-13 but there is no
diff and AFAIK no public repository going back that far.

Running headache on a file with a shebang '#!' places the copyright
message at the start of the file, rather than after the shebang line.
For some shells this breaks the script.

My workround is a sed script that looks for shebang start of the file
and fixes it up after headache has done it's thing, this leaves 'dead'
shebangs in the file but as they are not the first line they have no
effect.

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1704190

Title:
  Headache breaks shell script files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1269113] [NEW] isc-dhcpd does not play niceley with diskless boot

2014-01-14 Thread Jason Morgan
Public bug reported:

In Ubuntu 12.04.3 the isc-dhcp-server (v4.1) does not work properly with
diskless boot and ddns.

During diskless boot the server issues an IP.

The machine boots and the OS loads, during loading and to keep ddns
happy the isc-dhcp-client (dhclient) needs to be loaded even though the
machine already has an address.

Because the machine has just booted it has no /var/lib/dhcp/dhclient.leases file
so dhclient does a DISCOVER with the current ip for that interface.

The server has already issued an address (it issued it during boot) so
it does a ping which succeeds as the address is correct.

However dhcpd does not check the MAC so it assumes the address is
already allocated (which it is, correctly) so it issues another new
address and does a DDNS update.  It has now created a DDNS entry to the
wrong address.

This cycle continues until all the addresses for a range are exhausted.

Correct operation:
It should check the MAC resolution after the ping-check and if the MAC matches 
the UID and/or MAC of a previous lease it should change it's usual behaviour.  
It should re-issue the address that was requested and previously allocated and 
behave as though the client did a REQUEST instead of a DISCOVER.

Work round, add
ping-check false;
to the /etc/dhcpd.conf

Though this is not ideal as a ping-check is a good sanity check.

** Affects: isc-dhcp (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: dhcp diskless nfs-root

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1269113

Title:
  isc-dhcpd does not play niceley with diskless boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1269113/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1251274] [NEW] Kernel command line does not correctly parse ip field if nfsroot

2013-11-14 Thread Jason Morgan
Public bug reported:

Kernel image linux-image-3.8.0.31-generic
Ubuntu 12.04.3 LTS

I'm setting up machines with nfsroot.
dhcp works fine, but a static address fails to set resolvconf. 

The document 
https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt
states that there are between one and nine fields in the kernel command line 
option 'ip=' separated by colons.

The last two are dns0 and dns1
e.g.
APPEND root=/dev/nfs nfsroot=10.0.0.1:/exports/nfsroot initrd=boot/initrd.img 
ip=10.0.0.200:10.0.0.1:10.0.0.1:255.0.0.0:itx1c:eth0:off:10.0.0.1:0.0.0.0 
rootwait=1 nfsdebug=1 nfsrootdebug=1 rw

I find that if I supply one or both dns addresses, then the boot fails
with the message

ipconfig: too many options for eth0
and then when configure_networking (from scripts/functions in 
/usr/share/initramsfs-tools/) runs (called by scripts/nfs) says it can't create 
it's temp file 
/tmp/net-eth0:off:10.0.0.1:0.0.0.0
After that we get a kernel panic as init completes badly.

Clearly the command line parsing does not meet the spec in the above
reference.

I'm sure I can work round this by not supplying dns addresses in the
command line and re-writing /etc/resolv.conf elsewhere, but this needs
fixing properly.

I'm not sure if the ip= line is parsed elsewhere so I don't have enough
information to offer a proper fix.

** Affects: ubuntu
 Importance: Undecided
 Status: New


** Tags: initramfs-tools nfsroot

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1251274

Title:
  Kernel command line does not correctly parse ip field if nfsroot

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1251274] Re: Kernel command line does not correctly parse ip field if nfsroot

2013-11-14 Thread Jason Morgan
More info:

I've found the current git for ipconfig (part of klibc) in 
http://git.kernel.org/cgit/libs/klibc/klibc.git/tree/usr/kinit/ipconfig/README.ipconfig?id=HEAD
simply does not support the dns parameters that are specified.

It looks like initramfs-tools assumes it does, rather than pruning the
dns entries (if supplied) and passing them to resolvconf.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1251274

Title:
  Kernel command line does not correctly parse ip field if nfsroot

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1251274] Re: Kernel command line does not correctly parse ip field if nfsroot

2013-11-14 Thread Jason Morgan
** Also affects: klibc
   Importance: Undecided
   Status: New

** Also affects: initramfs-tools
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1251274

Title:
  Kernel command line does not correctly parse ip field if nfsroot

To manage notifications about this bug go to:
https://bugs.launchpad.net/initramfs-tools/+bug/1251274/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1054122] Re: ir-keytable for imon_pad missing some scancodes

2012-09-21 Thread Jason Morgan
** Attachment added: Veris RM200 as supplied with Antec Fusion Black
   
https://bugs.launchpad.net/bugs/1054122/+attachment/3328586/+files/RM200%20MythTV%20Translation.xlsx

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1054122

Title:
  ir-keytable for imon_pad missing some scancodes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/v4l-utils/+bug/1054122/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1054122] [NEW] ir-keytable for imon_pad missing some scancodes

2012-09-21 Thread Jason Morgan
Public bug reported:

In the package ir-keytable version Ubuntu 0.8.6-1ubuntu2 the file
/lib/udev/rc_keymaps/imon_pad is missing some key scancodes as defined
in rc_imon_pad.c driver for the Veris RM200 remote.  This means some
buttons on the remote have no action, ir-keytable -t does not report
them being pressed. Appending the following to the file makes the
remaining buttons work. I think this highlights another bug; ir-
keytable should, optionally and in concert with the rc_imon_pad driver,
report key events that are unprocessed.

0x29b195b7 KEY_EJECTCD
0x299395b7 KEY_EJECTCLOSECD
0x2a9395b7 KEY_CYCLEWINDOWS
0x2b8395b7 KEY_TIME
0x29b715b7 KEY_DASHBOARD
0x0280 KEY_CONTEXT_MENU
0x2b8195b7 KEY_CONTEXT_MENU
0x0265 KEY_COMPOSE
0x28b715b7 KEY_COMPOSE
0x2ab195b7 KEY_PROG1
0x0101 BTN_LEFT
0x01010080 BTN_LEFT
0x688301b7 BTN_LEFT
0x0102 BTN_RIGHT
0x01020080 BTN_RIGHT
0x688481b7 BTN_RIGHT
0x289115b7 KEY_POWER

Install is latest MythBuntu
Description:Ubuntu 12.04.1 LTS
Release:12.04

The attached spreadsheet (MSExcel, sorry) details the button mappings.

** Affects: v4l-utils (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1054122

Title:
  ir-keytable for imon_pad missing some scancodes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/v4l-utils/+bug/1054122/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs