ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] start-stop-daemon (spamassassin bug #28789)
@ 2014-06-19  8:41 Sergey Y. Afonin
  2014-06-19  9:30 ` Denis G. Samsonenko
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Sergey Y. Afonin @ 2014-06-19  8:41 UTC (permalink / raw)
  To: ALT Linux Team development discussions

Приветствую.

А как start-stop-daemon обрабатывает параметры --name и --exec ?
Что с чем сравнивает ?

Есть такой вот баг: https://bugzilla.altlinux.org/28789

Вот что получается:

# ps ax|grep spamd
16321 ?        Ss     0:03 /usr/bin/spamd -d --pidfile=/var/run/spamd.pid
16322 ?        S      0:00 spamd child
16323 ?        S      0:00 spamd child

# cat /var/run/spamd.pid
16321

# start-stop-daemon --stop --name spamd --pidfile /var/run/spamd.pid --user root --test --verbose
No spamd found running; none killed.

# start-stop-daemon --stop --pidfile /var/run/spamd.pid --user root --test
Would send signal 15 to 16321.

То есть, если бы в инит-скрипте spamassassin убрать привязку к имени,
инит-скрипт начинал бы работать. Однако, попытка убрать у stop_daemon()
"--name spamd" автоматом приводит к появлению "--exec /usr/bin/spamd",
а так не работает тоже.

-- 
С уважением, Сергей Афонин
asy@altlinux.ru


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2014-06-21 18:29 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-19  8:41 [devel] start-stop-daemon (spamassassin bug #28789) Sergey Y. Afonin
2014-06-19  9:30 ` Denis G. Samsonenko
2014-06-19  9:59   ` Sergey Y. Afonin
2014-06-19 11:56     ` Sergey Y. Afonin
2014-06-20  4:17       ` Eugene Prokopiev
2014-06-20  6:56         ` Sergey Y. Afonin
2014-06-20 18:57     ` Led
2014-06-21  9:57       ` Sergey Y. Afonin
2014-06-21 10:11         ` Sergey Y. Afonin
2014-06-21 10:15           ` Dmitry V. Levin
2014-06-21 10:41             ` Sergey Y. Afonin
2014-06-21 10:47               ` Dmitry V. Levin
2014-06-21 11:03                 ` Sergey Y. Afonin
2014-06-21 17:02         ` Led
2014-06-21 18:28           ` Sergey Y. Afonin
2014-06-21 18:29             ` Led
2014-06-19  9:33 ` Dmitry V. Levin
2014-06-19  9:52   ` Sergey Y. Afonin
2014-06-19  9:36 ` Denis G. Samsonenko

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