logger "-n" option is ignored

Bug #1221000 reported by Nathan Stratton Treadway
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
util-linux (Debian)
Fix Released
Unknown
util-linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When I attempt to use "logger" with the -n option, the syslog messages are sent to the local
rsyslog process instead of the specified remote server:

$ logger -n log.example.com test message
$ echo "another test message" | logger -n log.example.com

Tags: patch
no longer affects: util-linux-ng
Revision history for this message
Nathan Stratton Treadway (nathanst) wrote :

(I am running bsdutils 1:2.20.1-1ubuntu3, on a Precise box.)

Looks like upstream applied a simple patch similar to the one suggested in the Debian bug:
http://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=86248cd28a27bdd9a437e389966b0415e106802e

tags: added: patch
Changed in util-linux (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in util-linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Chris Snell (chris-snell) wrote :

Would love to see this fixed in Ubuntu. It's been around for close to two years. As stated in the Debian bug, simple work-around is to pass the -u flag to a bogus socket, e.g., "-u /tmp/ignored".

Changed in util-linux (Debian):
status: New → Confirmed
Changed in util-linux (Debian):
status: Confirmed → Fix Released
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.