util: should include filename in errors

Bug #400241 reported by Scott James Remnant (Canonical) on 2009-07-16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Scott James Remnant (Canonical)

Bug Description

Errors printed by things like runlevel, telinit, shutdown, etc. that involve a file like /var/run/utmp should include the filename that caused the error.


   runlevel:/var/run/utmp: No such file or directory


  runlevel: No such file or directory

Changed in upstart:
status: Triaged → Fix Committed
Changed in upstart:
assignee: nobody → Scott James Remnant (scott)
milestone: none → 0.6.1

Fixed in Upstart 0.6.1:

0.6.1 2009-07-16 "Born in the wagon of a travelling show"

        * D-Bus 1.2.16 is now required.

        * Updated ptrace() code to handle receiving the trapped stopped
          child _before_ we receive the trapped fork() syscall, which
          seems to be the most common way the race goes when running
          as init. This seems to make "expect fork/daemon" largely work.
          (Bug: #264711)

        * runlevel will now output "unknown" and exit with an error when
          called before the first telinit call. (Bug: #400248)

        * runlevel will prefix error messages with the utmp filename being
          used. (Bug: #400241)

Changed in upstart:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers