Package: dropbear-initramfs
Version: 2016.72-1
Severity: normal

hi,
I have configured IP=<options> in /etc/initramfs-tools/initramfs.conf to get
the network configured by initramfs. I've tried to override the setting with ip=
during boot but it doesn't seem to work, defaulting to the configuration file
contents when calling 'ipconfig'.

When ran with set -x I noticed
/usr/share/initramfs-tools/scripts/init-premount/dropbear sourcing
/conf/initramfs.conf.
This undoes the /proc/cmdline parsing done by /usr/share/initramfs-tools/init
earlier though and sets IP= from the config. It is easy enough to work around 
in the
config with sth like [ -z "$IP" ] || IP="..." but not obvious at first.

thanks,
filippo
-- System Information:
Debian Release: 8.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.3.0-0.bpo.1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to