[Bug 1545297] Re: hostname: invalid option -- '-b' displayed during boot
costinel
1545297 at bugs.launchpad.net
Thu Feb 18 16:38:05 UTC 2016
** Attachment added: "hostname.jpg"
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1545297/+attachment/4574658/+files/hostname.jpg
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1545297
Title:
hostname: invalid option -- '-b' displayed during boot
Status in initramfs-tools package in Ubuntu:
Confirmed
Bug description:
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1545297/+subscriptions
More information about the foundations-bugs
mailing list