Bug#752563: [bash] Enable syslogging to a separate option or a package
On Fri, 14 Dec 2018 16:41:55 +1100 Dean Hamstead wrote: > +1 to this request, and related > > redhat has sent a patch that makes bash logging configuration via shopt, see > > https://lists.gnu.org/archive/html/bug-bash/2017-01/msg00053.html > > > also, this person maintains a script which builds bash with syslog > enabled, but also tweaks the log message to send the login user rather > than uid, which stays the same when a user sudo's > > https://github.com/Mickaelh51/bash-autoinstaller-active-syslog Hi, This patch has been merged upstream in bash 5.0, and enabling it is just a simple change to the config file which I provided in #901438. That will allow to optionally enable it at runtime (it's disabled by default) via shopt. I have tested it by rebuilding the 5.0-beta2 from experimental with that change and it does work just fine, so it would be great if it could be enabled for the next 5.0~ upload. Thanks! > On Tue, 24 Jun 2014 14:10:36 -0400 Tim Sattarov > wrote: > > > Package: bash > > Version: 4.3-7.1 > > Severity: wishlist > > Tags: security > > X-Debbugs-CC: secure-testing-t...@lists.alioth.debian.org > > > > --- Please enter the report below this line. --- > > Hello, > > > > I wonder if you can enable syslog feature in bash > > i.e. uncomment line in config-top.h > > #define SYSLOG_HISTORY > > > > and make it configurable through a separate config option in ini file or > > compile it to a seperate package. > > > > Thanks > > Tim > > > > --- System information. --- > > Architecture: amd64 > > Kernel: Linux 3.14-1-amd64 > > > > Debian Release: jessie/sid > > 800 unstable http.us.debian.org > > 800 unstable deb-multimedia.org > > 500 stable dl.google.com > > 1 experimental http.us.debian.org > > > > --- Package information. --- > > Depends (Version) | Installed > > ===-+- > > base-files (>= 2.1.12) | 7.3 > > debianutils (>= 2.15) | 4.4 > > > > > > Recommends (Version) | Installed > > ===-+- > > bash-completion (>= 20060301-0) | 1:2.1-4 > > > > -- Kind regards, Luca Boccassi signature.asc Description: This is a digitally signed message part
Bug#752563: [bash] Enable syslogging to a separate option or a package
+1 to this request, and related redhat has sent a patch that makes bash logging configuration via shopt, see https://lists.gnu.org/archive/html/bug-bash/2017-01/msg00053.html also, this person maintains a script which builds bash with syslog enabled, but also tweaks the log message to send the login user rather than uid, which stays the same when a user sudo's https://github.com/Mickaelh51/bash-autoinstaller-active-syslog On Tue, 24 Jun 2014 14:10:36 -0400 Tim Sattarov wrote: > Package: bash > Version: 4.3-7.1 > Severity: wishlist > Tags: security > X-Debbugs-CC: secure-testing-t...@lists.alioth.debian.org > > --- Please enter the report below this line. --- > Hello, > > I wonder if you can enable syslog feature in bash > i.e. uncomment line in config-top.h > #define SYSLOG_HISTORY > > and make it configurable through a separate config option in ini file or > compile it to a seperate package. > > Thanks > Tim > > --- System information. --- > Architecture: amd64 > Kernel: Linux 3.14-1-amd64 > > Debian Release: jessie/sid > 800 unstable http.us.debian.org > 800 unstable deb-multimedia.org > 500 stable dl.google.com > 1 experimental http.us.debian.org > > --- Package information. --- > Depends (Version) | Installed > ===-+- > base-files (>= 2.1.12) | 7.3 > debianutils (>= 2.15) | 4.4 > > > Recommends (Version) | Installed > ===-+- > bash-completion (>= 20060301-0) | 1:2.1-4 > > > Suggests (Version) | Installed > ===-+-=== > bash-doc |
Bug#752563: [bash] Enable syslogging to a separate option or a package
Is it an option at all or I'd better maintain my own local package with logging enabled ? Thanks Tim
Bug#752563: [bash] Enable syslogging to a separate option or a package
Package: bash Version: 4.3-7.1 Severity: wishlist Tags: security X-Debbugs-CC: secure-testing-t...@lists.alioth.debian.org --- Please enter the report below this line. --- Hello, I wonder if you can enable syslog feature in bash i.e. uncomment line in config-top.h #define SYSLOG_HISTORY and make it configurable through a separate config option in ini file or compile it to a seperate package. Thanks Tim --- System information. --- Architecture: amd64 Kernel: Linux 3.14-1-amd64 Debian Release: jessie/sid 800 unstable http.us.debian.org 800 unstable deb-multimedia.org 500 stable dl.google.com 1 experimental http.us.debian.org --- Package information. --- Depends (Version) | Installed ===-+- base-files (= 2.1.12) | 7.3 debianutils (= 2.15) | 4.4 Recommends (Version) | Installed ===-+- bash-completion (= 20060301-0) | 1:2.1-4 Suggests (Version) | Installed ===-+-=== bash-doc |