When 'console none' is specified in job files, output is still sent to the console

Bug #70782 reported by Alex Smith on 2006-11-07
2
Affects Status Importance Assigned to Milestone
upstart
Medium
Scott James Remnant (Canonical)
upstart (Ubuntu)
Medium
Scott James Remnant (Canonical)

Bug Description

I think this is a mistake, in the case CONSOLE_NONE, it sets fd to /dev/console (CONSOLE), rather than DEV_NULL.

Alex Smith (aejsmith) wrote :

Here's a patch to fix it

Alex Smith (aejsmith) wrote :

As per the HACKING file in the upstart source, here's a suggested ChangeLog entry:

 * init/process.c (process_setup_console): actually send to /dev/null instead of /dev/console when 'console none' is in a job file.

Changed in upstart:
assignee: nobody → keybuk
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Changed in upstart:
assignee: nobody → keybuk
importance: Undecided → Medium
status: Unconfirmed → Confirmed

Thanks Alex, committed.

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

Other bug subscribers