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


Groups > gnu.bash.bug > #14114 > unrolled thread

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

Started byChet Ramey <chet.ramey@case.edu>
First post2018-05-20 15:19 -0400
Last post2018-05-20 15:19 -0400
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

FromChet Ramey <chet.ramey@case.edu>
Date2018-05-20 15:19 -0400
SubjectRe: [PATCH] Add shopt to enable writing history to syslog at runtime
Message-ID<mailman.128.1526843990.1292.bug-bash@gnu.org>
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/

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web