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

Launchpad Bug Tracker 220830 at bugs.launchpad.net
Wed Jan 30 04:17:42 UTC 2013


[Expired for sysvinit (Ubuntu) because there has been no activity for 60
days.]

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

-- 
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:
  Expired

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