[Bug 220830] Re: hostname.sh exit status 1

Thomas Hotz thomas.hotz at gmail.com
Fri Nov 30 06:15:50 UTC 2012


Is this still an issue for you? What Ubuntu version do you use? Thank
you for telling us!

** Changed in: sysvinit (Ubuntu)
       Status: New => Incomplete

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

Title:
  hostname.sh exit status 1

Status in “sysvinit” package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: initscripts

  /etc/init.d/hostname.sh has an exit status of 1 even when all is well.

  The final line of hostname.sh's do_start() function is:

    [ "$VERBOSE" != no ] && log_action_end_msg $ES

  If VERBOSE is set to no, this results in $? being 1. Nothing else
  happens in the script to override that, so the script's overall exit
  status is 1.

  One solution would be for hostname.sh to end (overall) with "exit 0"
  like many other init scripts.

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




More information about the foundations-bugs mailing list