* Re: [sisyphus] systemd & /var/run @ 2019-03-14 12:36 ` Alexey Shabalin 0 siblings, 1 reply; 2+ messages in thread From: Alexey Shabalin @ 2019-03-14 12:36 UTC (permalink / raw) To: ALT Linux Sisyphus discussions чт, 14 мар. 2019 г. в 14:37, Vadim Gusev <kopilo4ka@gmail.com>: > > Добрый день. > Сейчас система использует systemd и монтирует разделы так: > > $ mount|grep run > runfs on /run type tmpfs (rw,nosuid,relatime,mode=755) > runfs on /var/run type tmpfs (rw,nosuid,relatime,mode=755) > runfs on /var/lock type tmpfs (rw,nosuid,relatime,mode=755) > > При установке пакета, например nagios, создается pid файл: > /var/run/nagios/nagios.pid > > После перезагрузки /var/run очищается и приложение уже не может стартовать, т. к. не может создать pid. > > Таких приложений много, баги висят, в том числе и "замените /var/run -> /run". На nagios я не увидел бага. > Вопрос - что делать? Чинить пакеты. Все пакеты, которые pid файлы размещают не просто в /run (или в /var/run, а во вложенной директории (/run/nagios/ или /var/run/nagios) должны еще содержать tmpfiles конфиг, который будет создавать эту директорию. Простой перенос /var/run в /run не поможет, если вложенную директорию никто не создаст. -- Alexey Shabalin ^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <CAATpADUYkkbXYFE+8Y9_oA_sxDWGaBDPS-ODyUFUL8JRJV+vrQ@mail.gmail.com>]
* Re: [sisyphus] systemd & /var/run @ 2019-03-14 13:37 ` Anton V. Boyarshinov 0 siblings, 0 replies; 2+ messages in thread From: Anton V. Boyarshinov @ 2019-03-14 13:37 UTC (permalink / raw) To: Vadim Gusev; +Cc: ALT Linux Sisyphus discussions > > Инструкция написана где-то? Не нашел. man tmpfiles.d ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-03-14 13:37 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2019-03-14 12:36 ` [sisyphus] systemd & /var/run Alexey Shabalin 2019-03-14 13:37 ` Anton V. Boyarshinov
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git