Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14114

Re: [PATCH] Add shopt to enable writing history to syslog at runtime

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: [PATCH] Add shopt to enable writing history to syslog at runtime
Date 2018-05-20 15:19 -0400
Organization ITS, Case Western Reserve University
Message-ID <mailman.128.1526843990.1292.bug-bash@gnu.org> (permalink)
References <20180518093442.25953-1-bluca@debian.org>

Show all headers | View raw


On 5/18/18 5:34 AM, Luca Boccassi wrote:
> Currently writing history to syslog can be enabled at compile time by
> editing config-top.h and rebuilding.
> To allow more flexibility, and to allow users of distributions to
> enable this feature at runtime without having to rebuild bash, add a
> "syslog" shopt.
> To maintain backward compatibility keep using SYSLOG_HISTORY as before
> to enable logging to syslog unconditionally.

There is already code to implement equivalent functionality in the devel
branch. It, like SYSLOG_HISTORY, has to be enabled at compile time. I
don't like the feature in general -- it's an invasion of privacy -- and
I don't think it needs to be any easier to enable.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] Add shopt to enable writing history to syslog at runtime Chet Ramey <chet.ramey@case.edu> - 2018-05-20 15:19 -0400

csiph-web