From: n952162 <n952162@web.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] syslogd hibernating
Date: Fri, 15 Jan 2021 16:08:15 +0100 [thread overview]
Message-ID: <b0fe1549-d45a-612c-cc3e-157d3eeaaf48@web.de> (raw)
In-Reply-To: <11686130.O9o76ZdvQC@dell_xps>
On 1/15/21 10:24 AM, Michael wrote:
> On Friday, 15 January 2021 08:47:18 GMT n952162 wrote:
>> Hello,
>>
>> can anyone explain this?
>>
>> I noticed today (15. January) that the /var/log/{messages,kern.log,etc.}
>> files on a box were last touched on 22. November.
>>
>> sysklogd was in the rc-open /started/ state and was running.
>>
>> The configuration file, /etc/syslog.conf matches completely that file on
>> another machine of mine, where the logs are properly updated.
>>
>> /etc/syslog.d/ was empty on both machines.
>>
>> I sent the process a HUP signal, as follows
>>
>> sudo kill -HUP $(cat /var/run/syslogd.pid )
>>
>> and all the log files were immediately updated and reporting.
>>
>> I rebooted my machine, and the log files are untouched, it is again
>> hibernating.
> Do you get something like this on your system?
>
> $ rc-update -s -v | grep syslog
> syslog-ng | default
>
> and,
>
> $ rc-service -v syslog-ng status
> * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/
> syslog-ng status
> * status: started
>
$ rc-service -v syslog-ng status
* rc-service: service `syslog-ng' does not exist
$ rc-service -v syslog status
* rc-service: service `syslog' does not exist
$ rc-service -v syslogd status
* rc-service: service `syslogd' does not exist
$ rc-service -v sysklogd status
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh
/etc/init.d/sysklogd status
* status: started
$ rc-update -s -v | grep syslog
$ rc-update -s -v | grep sysklog
sysklogd | default sysinit
I ran that as a script on a machine where the logs are properly updated:
01~>bash -x /tmp/test
+ rc-service -v syslog-ng status
* rc-service: service `syslog-ng' does not exist
+ rc-service -v syslog status
* rc-service: service `syslog' does not exist
+ rc-service -v syslogd status
* rc-service: service `syslogd' does not exist
+ rc-service -v sysklogd status
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh
/etc/init.d/sysklogd status
* status: started
+ rc-update -s -v
+ grep syslog
+ rc-update -s -v
+ grep sysklog
sysklogd | default
next prev parent reply other threads:[~2021-01-15 15:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-15 8:47 [gentoo-user] syslogd hibernating n952162
2021-01-15 9:24 ` Michael
2021-01-15 15:08 ` n952162 [this message]
2021-01-15 15:23 ` Peter Humphrey
2021-01-15 15:30 ` Michael
2021-01-15 15:39 ` Peter Humphrey
2021-01-15 16:29 ` n952162
2021-01-15 16:36 ` [gentoo-user] syslogd hibernating [RESOLVED] n952162
2021-01-15 16:50 ` [gentoo-user] syslogd hibernating n952162
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b0fe1549-d45a-612c-cc3e-157d3eeaaf48@web.de \
--to=n952162@web.de \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox