Re: tmpfs

Andrew <[email protected]> Tue, 3 Dec 2024 11:44:53 +0200
Newsgroups gmane.linux.leaf.user
Message-ID <[email protected]>
hi.

hostapd_cli RELOG should re-open logfile (it hostapd_cli is present in system).

but it's better to use syslog...


On 12/2/24 20:15, Erich Titl wrote:
> Hi Boris
>
> Am 02.12.2024 um 17:59 schrieb Boris via leaf-user:
>> Hej Erich,
>>
>> Am 02.12.24 um 17:38 schrieb Erich Titl:
>>> Hi Boris
>>>
>>> Am 02.12.2024 um 16:36 schrieb Boris via leaf-user:
>>>> Am 25.11.24 um 17:28 schrieb KP.Kirchdoerfer:
>>>>> Hi,
>>>>>
>>> ....>
>>>> not too big but wrong as on the start of the thread....
>>>>
>>>> # lsof | grep /var/log/
>>>> [snip]
>>>> 23822    /usr/sbin/ntpd    4    /var/log/ntpd
>>>> 23822    /usr/sbin/ntpd    5 /var/log/ntpstats/loopstats.20241202 
>>>> (deleted)
>>>> 23822    /usr/sbin/ntpd    8 /var/log/ntpstats/peerstats.20241202 
>>>> (deleted)
>>>> 27345    /usr/sbin/hostapd    3    /var/log/hostapd.log (deleted)
>>>
>>> So the ntp daemon still had these files under control but they were 
>>> deleted by, maybe logrotate.
>>
>> .... and the hostapd daemon also does.
>
> Which implies that hostapd does not log to syslog. So either we change 
> this or we have to restart hostapd in the logrotate settings.
>
> ET
>

------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/