[sisyphus] systemd и syslogd

Dmitriy Khanzhin dmitriy.khanzhin на gmail.com
Вс Авг 26 22:25:25 MSK 2012


26.08.2012 21:40, Aleksey Novodvorsky пишет:
> 26 августа 2012 г., 21:35 пользователь Alexey Borisenkov
> <grizlik78 на gmail.com> написал:
>> 26.08.2012 21:29, Dmitriy Khanzhin пишет:
>>
>>> 26.08.2012 21:09, Aleksey Novodvorsky пишет:
>>>>
>>>> 26 августа 2012 г., 21:10 пользователь Dmitriy Khanzhin
>>>> <dmitriy.khanzhin на gmail.com> написал:
>>>>>
>>>>> Привет!
>>>>> Давно собираюсь спросить, а заметил ли кто,
>>>>> что после переезда на systemd и перезагрузки, через несколько минут
>>>>> умирает syslogd, пытаясь самостоятельно перезапуститься.
>>>>
>>>>
>>>> На свежем Сизифе не наблюдаю.
>>>>
>>> Специально перезагрузился- наблюдаю.
>>
>>
>> Я тоже наблюдаю уже некоторое время. На десктопе и на нетбуке. Причём нетбук
>> перевёл на systemd довольно давно, а неполадки с syslogd.service замечаться
>> стали в общем-то недавно.
>>
>> Вот с него только что:
>>
>> $ systemctl status syslogd.service
>> syslogd.service - SYSV: Syslog is the facility by which many daemons use to
>> log messages to various system log files. It is a good idea to always run
>> syslog.
>>           Loaded: loaded (/etc/rc.d/init.d/syslogd)
>>           Active: active (exited) since Sun, 26 Aug 2012 18:58:48 +0400; 2h
>> 30min ago
>>          Process: 5503 ExecReload=/etc/rc.d/init.d/syslogd reload
>> (code=exited, status=0/SUCCESS)
>>          Process: 1485 ExecStart=/etc/rc.d/init.d/syslogd start
>> (code=exited, status=0/SUCCESS)
>>           CGroup: name=systemd:/system/syslogd.service
>>
>> $ sudo systemctl restart syslogd.service
>>
>> $ systemctl status syslogd.service
>> syslogd.service - SYSV: Syslog is the facility by which many daemons use to
>> log messages to various system log files. It is a good idea to always run
>> syslog.
>>           Loaded: loaded (/etc/rc.d/init.d/syslogd)
>>           Active: active (running) since Sun, 26 Aug 2012 21:30:20 +0400; 2s
>> ago
>>          Process: 31080 ExecStop=/etc/rc.d/init.d/syslogd stop (code=exited,
>> status=0/SUCCESS)
>>          Process: 5503 ExecReload=/etc/rc.d/init.d/syslogd reload
>> (code=exited, status=0/SUCCESS)
>>          Process: 31096 ExecStart=/etc/rc.d/init.d/syslogd start
>> (code=exited, status=0/SUCCESS)
>>           CGroup: name=systemd:/system/syslogd.service
>>                   └ 31135 /sbin/syslogd -u syslogd -j /var/resolv
> [aen на comp-atom-cpu-20159e ~]$ systemctl status syslogd.service
> syslogd.service - SYSV: Syslog is the facility by which many daemons
> use to log messages to various system log files. It is a good idea to
> always run syslog.
> 	  Loaded: loaded (/etc/rc.d/init.d/syslogd)
> 	  Active: active (running) since Sat, 25 Aug 2012 02:50:52 +0400; 1
> day and 18h ago
> 	  CGroup: name=systemd:/system/syslogd.service
> 		  └ 1861 /sbin/syslogd -u syslogd -j /var/resolv
> 
[diman на jinn ~]$ sudo systemctl enable syslogd.service
[sudo] password for diman:
syslogd.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig syslogd on
[diman на jinn ~]$ sudo systemctl start syslogd.service
[diman на jinn ~]$ sudo systemctl list-units | grep syslog
syslogd.service           loaded active exited        SYSV: Syslog is
the facility by which many daemons use to log messages to various system
log files. It is a good idea to always run syslog.

Не помогает.
Помогает только
[diman на jinn ~]$ sudo service syslogd restart
[diman на jinn ~]$ sudo systemctl list-units | grep syslog
syslogd.service           loaded active running       SYSV: Syslog is
the facility by which many daemons use to log messages to various system
log files. It is a good idea to always run syslog.
[




Подробная информация о списке рассылки Sisyphus