Path: csiph.com!weretis.net!feeder9.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail From: cross@spitfire.i.gajendra.net (Dan Cross) Newsgroups: comp.unix.programmer Subject: Re: OT: Firefox vs Chromium on Fedora 43 Date: Tue, 2 Jun 2026 20:34:15 -0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Message-ID: <10vneo7$an8$1@reader1.panix.com> References: <10rm63e$d0vg$1@dont-email.me> <10vm7bo$2prmk$4@dont-email.me> <10vn2ik$jj$1@reader1.panix.com> Injection-Date: Tue, 2 Jun 2026 20:34:15 -0000 (UTC) Injection-Info: reader1.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80"; logging-data="10984"; mail-complaints-to="abuse@panix.com" X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Originator: cross@spitfire.i.gajendra.net (Dan Cross) Xref: csiph.com comp.unix.programmer:17185 In article , Richard Kettlewell wrote: >cross@spitfire.i.gajendra.net (Dan Cross) writes: >> The question was how one gets output written to the standard >> error stream from some process into syslog. The `syslog` and >> related functions don't really help with that, unless you write >> a program that reads that data (presumably over a pipe) and pass >> it as an argument to `syslog` et al. > >The program has existed for years, it’s called ‘logger’. I'm aware. The point was that just linking to the POSIX definitions for `syslog` et al was, again, answering a different question than the one posed. >> But even if one does the user may not have permissions to write to the >> system log. > >Possible in principle I suppose, but it seems like a weird configuration >since it’d make it less convenient for non-root daemons to use syslog. It is actually quite common on a multi-user system. As for system daemons that don't run as root, most versions of `syslogd` these days support an option to specify the pathname to multiple Unix domain sockets that they'll accept messages on; those can be permitted differently for different daemons (many of which may well be running in their own `chroot` prisons or something similar, and thus unable to reach the standard socket path anyhow). - Dan C.