/tmp debug file sillyness

Bug #826672 reported by David
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dhcp3 (Ubuntu)
Expired
Medium
Unassigned

Bug Description

dhcp3 (also known as isc-dhcp) when you enable 'debug' (set RUN="yes") in the /etc/dhcp/dhclient-enter-hooks.d/debug file blindly appends data to whatever is at /tmp/dhclient-script.debug ... this seems rather silly.

Revision history for this message
Dave Walker (davewalker) wrote :

Thanks for the bug report.

Please can you clarify what the bug is, do you think it should log to /var/log/*, or that it should be a value that can be set in the debug hook.

Thanks.

Changed in dhcp3 (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
David (d--) wrote :

Well the bug is that on systems which do not run with the YAMA kernel patch(i.e. most non-ubuntu systems) the use of the debug file in the /tmp directory could result in extra unwanted data being appended to $random file(if /tmp/dhclient-script.debug is actually a symbolic link).

IMHO recording the debug output to syslog would be a better idea.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in dhcp3 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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