[DragonFlyBSD - Bug #3377] [svc] newsyslog fails to rotate syslog logs

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Thu Feb 27 05:47:58 PST 2025


Задача #3377 була оновлена liweitianux.

Параметр Тема змінився з newsyslog fails to rotate syslog logs на [svc] newsyslog fails to rotate syslog logs

Hi, I discussed this issue with dillon today.

The root cause is that two reapers (svc(8) uses them) are isolated, so a process (like the newsyslog) in reaper A is prevented from sending signals to another process (like the syslogd) in reaper B.

A solution is to extend svc(8)'s @kill@ directive to send the signal on behalf of the caller, which should be adjusted to explicitly use the svc(8) framework.

----------------------------------------
Bug #3377: [svc] newsyslog fails to rotate syslog logs
http://bugs.dragonflybsd.org/issues/3377#change-14580

* Автор: arcade at b1t.name
* Статус: New
* Пріоритет: Low
* Категорія: Feature request
* Версія: 6.6
* Початок: 2024-12-19
----------------------------------------
So:

newsyslog: can't notify daemon, pid 3476 = /var/run/syslog.pid: Operation not permitted

The pid is corect, `ping -1 -F /var/run/syslog.pid`, the only difference is `syslogd` is running under `svc`.



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account


More information about the Bugs mailing list