Feature Request: Include bash syslog package

Bug #534179 reported by Nom
54
This bug affects 10 people
Affects Status Importance Assigned to Milestone
bash (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: bash

Bash 4.1 includes a feature which is disabled by default:

config-top.h
        - new define SYSLOG_HISTORY, disabled by default

bashhist.c
        - if SYSLOG_HISTORY is defined, call bash_syslog_history with the
          line added to the history in bash_add_history.
        - new function, bash_syslog_history(line), sends line to syslog at
          user.info. The line is truncated to send no more than 600
          (SYSLOG_MAXLEN) bytes to syslog. Feature requested by many, and
          required by some national laws

It would be advantageous if we could make a package which compile a bash binary including this option turned on so system administrators can use this without having to maintain their own version of bash.

This change could also be coordinated with syslog changes to have the entries logged to a file such as /var/log/bash.log by default.

The new package could perhaps be called: bash-syslog, and would of course not be installed by default.

Tags: patch bash syslog
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in bash (Ubuntu):
status: New → Confirmed
Revision history for this message
Hans-Joachim Kliemeck (bj7u6139zdyf-info-jjcftv6wldnz) wrote :

any progress on this issue? it would be very helpful to include this

Revision history for this message
r.stricklin (bear-q) wrote :

This is what I do. I've successfully applied it to the bash source package from precise, trusty, and wily. It will create an extra package called 'logbash'.

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

The attachment "logbash-pkg.patch" 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
Revision history for this message
Austin Parker (aparker82) wrote :

Any progress on this? It's still an issue in 18.04(bash 4) and 20.04(bash 5)

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.