sysfsutils error handling

Bug #1754033 reported by scoopex
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sysfsutils (Ubuntu)
New
Undecided
Unassigned

Bug Description

If i configure incorrect values for /etc/sysfs.conf or /etc/sysfs.d/foo.conf the init script /etc/init.d/sysfsutils does not report problems correctly.

If a sysfs file does not exist or sysfs does not accept the value there is currently no feedback.
Besides of the fact that the user expects to get a feedback, this is also a bit suboptimal if you use system automation tools like puppet to configure your server systems.

/etc/init.d/sysfsutils shoul provide visual and exitcode feedback to inform the user about problems.

I added a patch to solve this problem.

Tags: patch
Revision history for this message
scoopex (ms-ubuntu) wrote :
Revision history for this message
scoopex (ms-ubuntu) wrote :

Added the file with the applied patch.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Adding error messages" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.