Bug#789067: initramfs-tools: if ip is specified on cmdline, networking should be brought up in initramfs
Package: initramfs-tools
Version: 0.103ubuntu15
Severity: normal
Dear Maintainer,
Originally filed in Ubuntu at http://launchpad.net/bugs/1463846
If the kernel command line has 'ip=' in it, it is arguable that
configure_networking should be run. Currently, initramfs only does this
if something thinks it should.
Ie, open-iscsi might do it, or some other things might call
'configure_networking'.
But it seems reasonable that if the user put 'ip=' on the cmdline then
they wanted that to happen in initramfs.
One possible fallout is that currently calling configure_networking
multiple times will try multiple times if unsuccessful, which could lead
to longer timeouts if we added this behavior and it was called multiple
times.
Additionally, one feature i'd like to have (admittedly for debug purposes)
is the ability to write the /run/initramfs/open-iscsi.interface file that
is used at least by open-iscsi to say "do not bring this interface down".
generically, it seems like it'd be nice to have a way to have the same
functionality that open-iscsi.interface accomplishes but not tied to
open-iscsi. Ie, the user may for any reason want to keep a network from
getting re-configured by normal OS bringup.
-- Package-specific info:
-- initramfs sizes
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-3.19.0-20-generic root=UUID=715c6da7-c111-4842-868b-7778623ead7c ro quiet splash vt.handoff=7
-- /proc/filesystems
ext3
ext2
ext4
vfat
fuseblk
-- lsmod
Module Size Used by
overlay 45056 0
xt_CHECKSUM 16384 1
iptable_mangle 16384 1
ipt_MASQUERADE 16384 1
nf_nat_masquerade_ipv4 16384 1 ipt_MASQUERADE
iptable_nat 16384 1
nf_conntrack_ipv4 16384 1
nf_defrag_ipv4 16384 1 nf_conntrack_ipv4
nf_nat_ipv4 16384 1 iptable_nat
nf_nat 28672 2 nf_nat_ipv4,nf_nat_masquerade_ipv4
nf_conntrack 106496 4 nf_nat,nf_nat_ipv4,nf_nat_masquerade_ipv4,nf_conntrack_ipv4
xt_tcpudp 16384 5
bridge 110592 0
stp 16384 1 bridge
llc 16384 2 stp,bridge
iptable_filter 16384 1
ip_tables 28672 3 iptable_filter,iptable_mangle,iptable_nat
x_tables 36864 6 xt_CHECKSUM,ip_tables,xt_tcpudp,ipt_MASQUERADE,iptable_filter,iptable_mangle
rfcomm 69632 8
bnep 20480 2
dm_crypt 24576 1
dm_multipath 24576 0
scsi_dh 16384 1 dm_multipath
snd_seq_midi 16384 0
snd_seq_midi_event 16384 1 snd_seq_midi
coretemp 16384 0
snd_hda_codec_conexant 24576 1
snd_hda_codec_generic 69632 1 snd_hda_codec_conexant
snd_rawmidi 32768 1 snd_seq_midi
pcmcia 65536 0
arc4 16384 2
snd_seq 69632 2 snd_seq_midi_event,snd_seq_midi
joydev 20480 0
serio_raw 16384 0
iwldvm 237568 0
r852 20480 0
sm_common 20480 1 r852
snd_hda_intel 32768 3
nand 69632 2 r852,sm_common
snd_hda_controller 32768 1 snd_hda_intel
mac80211 724992 1 iwldvm
thinkpad_acpi 86016 0
nand_ecc 16384 1 nand
nvram 16384 1 thinkpad_acpi
snd_hda_codec 143360 4 snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep 20480 1 snd_hda_codec
nand_bch 16384 1 nand
bch 20480 1 nand_bch
uvcvideo 90112 0
nand_ids 16384 1 nand
videobuf2_vmalloc 16384 1 uvcvideo
mtd 61440 2 nand,sm_common
lpc_ich 24576 0
yenta_socket 49152 0
videobuf2_memops 16384 1 videobuf2_vmalloc
r592 20480 0
snd_pcm 106496 3 snd_hda_codec,snd_hda_intel,snd_hda_controller
iwlwifi 196608 1 iwldvm
memstick 20480 1 r592
videobuf2_core 49152 1 uvcvideo
pcmcia_rsrc 20480 1 yenta_socket
v4l2_common 16384 1 videobuf2_core
pcmcia_core 24576 3 pcmcia,pcmcia_rsrc,yenta_socket
snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi
videodev 159744 3 uvcvideo,v4l2_common,videobuf2_core
cfg80211 540672 3 iwlwifi,mac80211,iwldvm
btusb 32768 0
media 24576 2 uvcvideo,videodev
bluetooth 491520 22 bnep,btusb,rfcomm
snd_timer 32768 2 snd_pcm,snd_seq
shpchp 40960 0
snd 90112 17 snd_hwdep,snd_timer,snd_hda_codec_conexant,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,thinkpad_acpi,snd_seq_device
mei_me 20480 0
mei 90112 1 mei_me
soundcore 16384 2 snd,snd_hda_codec
8250_fintek 16384 0
mac_hid 16384 0
kvm_intel 151552 0
kvm 483328 1 kvm_intel
parport_pc 32768 0
ppdev 20480 0
lp 20480 0
parport 45056 3 lp,ppdev,parport_pc
autofs4 40960 2
hid_generic 16384 0
usbhid 53248 0
hid 110592 2 hid_generic,usbhid
psmouse 118784 0
firewire_ohci 45056 0
sdhci_pci 24576 0
sdhci 45056 1 sdhci_pci
firewire_core 69632 1 firewire_ohci
i915 1052672 3
crc_itu_t 16384 1 firewire_core
ahci 36864 4
libahci 32768 1 ahci
wmi 20480 0
i2c_algo_bit 16384 1 i915
drm_kms_helper 122880 1 i915
video 20480 1 i915
e1000e 237568 0
drm 344064 5 i915,drm_kms_helper
ptp 20480 1 e1000e
pps_core 20480 1 ptp
pata_acpi 16384 0
-- /etc/initramfs-tools/modules
-- /etc/kernel-img.conf
# Kernel Image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = no
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
COMPCACHE_SIZE=""
COMPRESS=gzip
BOOT=local
DEVICE=
NFSROOT=auto
-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no
-- /etc/crypttab
# <name> <device> <password> <options>
cryptswap /dev/disk/by-id/ata-WDC_WD3200BEVS-08VAT2_WD-WX30A69T1600-part6 /dev/urandom swap,cipher=aes-cbc-essiv:sha256,size=256
-- /proc/mdstat
Personalities :
unused devices: <none>
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
bcache
brltty
busybox
compcache
console_setup
cryptgnupg
cryptkeyctl
cryptopenct
cryptopensc
cryptpassdev
cryptroot
dmsetup
fixrtc
framebuffer
fuse
kbd
klibc
kmod
mountall
ntfs_3g
plymouth
thermal
udev
zz-busybox
-- System Information:
Debian Release: jessie/sid
APT prefers wily-updates
APT policy: (500, 'wily-updates'), (500, 'wily-security'), (500, 'wily')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.19.0-20-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages initramfs-tools depends on:
ii busybox-initramfs 1:1.22.0-9ubuntu1
ii cpio 2.11+dfsg-4.1ubuntu1
ii findutils 4.4.2-9build1
ii initramfs-tools-bin 0.103ubuntu15
ii klibc-utils 2.0.3-0ubuntu1
ii module-init-tools 18-3ubuntu1
ii udev 220-6ubuntu1
ii util-linux 2.26.2-3ubuntu1
initramfs-tools recommends no packages.
Versions of packages initramfs-tools suggests:
ii bash-completion 1:2.1-4.1ubuntu1
-- no debconf information
Reply to: