Public bug reported:

During boot, you can see for a short time "hostname: invalid option --
'b'" and a line about busybox, and a few other lines.

Checking /usr/share/initramfs-tools/init, which is copied into the
initramfs during creation, indeed reveals a hostname call with "-b".

Also, unpacking my current initramfs and calling bin/hostname, the
following is displayed, which IIRC coincides very well with the message
displayed during boot for a short time:

$ bin/hostname -b
bin/hostname: invalid option -- 'b'
BusyBox v1.22.1 (Ubuntu 1:1.22.0-15ubuntu1) multi-call binary.

Usage: hostname [OPTIONS] [HOSTNAME | -F FILE]

Get or set hostname or DNS domain name

        -s      Short
        -i      Addresses for the hostname
        -d      DNS domain name
        -f      Fully qualified domain name
        -F FILE Use FILE's content as hostname
$ 

The initramfs should only use hostname options which busybox
understands.

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: initramfs-tools 0.120ubuntu6
ProcVersionSignature: Ubuntu 4.2.0-27.32-generic 4.2.8-ckt1
Uname: Linux 4.2.0-27-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl nvidia
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
CurrentDesktop: XFCE
Date: Sat Feb 13 16:43:48 2016
PackageArchitecture: all
SourcePackage: initramfs-tools
UpgradeStatus: Upgraded to wily on 2016-02-11 (1 days ago)

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug wily

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

Title:
  hostname: invalid option -- '-b' displayed during boot

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to