ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexei Takaseev <alexei@taf.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] systemd + logrotate + syslogd
Date: Mon, 19 Nov 2012 20:13:06 +0900 (IRKT)
Message-ID: <18529052.135.1353323583559.JavaMail.taf@taf.ilimnet.ru> (raw)
In-Reply-To: <20121119110439.GA15417@altlinux.org>


В связке ужа с ежом сбой происходит. Если syslogd дергается через /sbin/service
то большой долей вероятности демон ротацию логов не переживет. Если дергать через
/bin/systemctl restart syslogd.service, то все проходит успешно, никто не помирает.

Я так понимаю, запуск *.service это и есть поддержка init в systemd? Если да, то
поддержка вполне рабочая, а гонка где-то в недрах /sbin/service

----- Исходное сообщение -----
> От: "Dmitry V. Levin" <ldv@altlinux.org>
> Кому: "ALT Linux Team development discussions" <devel@lists.altlinux.org>
> Отправленные: Понедельник, 19 Ноябрь 2012 г 20:04:39
> Тема: Re: [devel] systemd + logrotate + syslogd
> 
> On Mon, Nov 19, 2012 at 10:01:38AM +0400, Sergei Epiphanov wrote:
> > On 17 ноября 2012 13:28 Alexei Takaseev wrote:
> > ...
> > > Дома перевел машину под systemd, и ежедневное умирание syslog при
> > > ротации
> > > логов малость поднадоело.
> > 
> > Для syslogd я нарисовал такой файл syslogd.service и положил его в
> > /etc/systemd/system:
> > 
> > [Unit]
> > Description=Syslog daemon
> > 
> > [Service]
> > EnvironmentFile=/etc/sysconfig/syslogd
> > ExecStart=/sbin/syslogd -d $SYSLOGD_OPTIONS
> > 
> > [Install]
> > WantedBy=multi-user.target
> > 
> > Работает на двух машинах, умирать не хочет. :)
> 
> Таким образом, поддержка init-скриптов в systemd оказалась
> условно рабочей? :)

  reply	other threads:[~2012-11-19 11:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-17  4:28 ` Alexei Takaseev
2012-11-17 10:37   ` Dmitry V. Levin
2012-11-20  8:33     ` Mike
2012-11-20  9:23       ` Dmitry V. Levin
2012-11-17 10:55   ` Michael Shigorin
2012-11-19  6:01   ` Sergei Epiphanov
2012-11-19 11:04     ` Dmitry V. Levin
2012-11-19 11:13       ` Alexei Takaseev [this message]
2012-11-19 11:35       ` Sergei Epiphanov
2012-11-20  8:30     ` Mike
2012-11-20  9:40       ` Sergei Epiphanov

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=18529052.135.1353323583559.JavaMail.taf@taf.ilimnet.ru \
    --to=alexei@taf.ru \
    --cc=devel@lists.altlinux.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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git