ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Ivan Zakharyaschev <imz@altlinux.org>
To: obirvalger@altlinux.org, devel@lists.altlinux.org
Subject: [devel] A: real PID in pidfile; was: [#197594] DONE (try 2) service.git=0.5.28-alt1 (fwd)
Date: Fri, 29 Dec 2017 01:23:29 +0300 (MSK)
Message-ID: <alpine.LFD.2.20.1712290102120.7714@imap.altlinux.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 4031 bytes --]

Hi!

Теперь можно рассчитывать на то, что в PIDFILE попадёт PID того процесса, 
который вы запускаете, при использовании --make-pidfile в init-скрипте; 
управляйте им подходящими сигналами. (Раньше при смене пользователя это 
был PID /bin/su.)

Этот же путь (минуя /bin/su) будет использоваться,
если WITHOUT_RC_COMPAT >= 2.

Если пользуетесь этим, рекомендуется выставить WITHOUT_RC_COMPAT=2 в 
любом случае и Conflicts: service < 0.5.28

(Из недоделок: в отличие от /bin/su не выставляются лимиты PAM-ом при 
использовании этого механизма, а именно start-stop-daemon --chuid; но 
можно обойти это и выставить лимиты с помощью limited, если хочется. 
Спасибо за это замечание ldv@. Из-за этой недоделки в шаблоне я пока не 
стал WITHOUT_RC_COMPAT=2 предлагать.)

2obirvalger: эти советы относятся к подготавливаемому релизу puppetdb; а 
ещё есть такие замечания к твоему puppetdb.git:

$ fgrep -i template puppetdb.init
# template	Summary of the service.
# processname: template
# config: /etc/template.conf
# pidfile: /var/run/template.pid
 	msg_reloading template
$

Это хорошо бы поменять на настоящие значения.

---------- Forwarded message ----------
Date: Thu, 28 Dec 2017 21:59:41 +0000
From: Girar Builder pender robot <girar-builder@altlinux.org>
Reply-To: imz@altlinux.org
To: Ivan Zakharyaschev <imz@altlinux.org>
Cc: Stanislav Ievlev <inger@altlinux.org>, Dmitry V. Levin <ldv@altlinux.org>,
     sisyphus-incominger@lists.altlinux.org
Subject: [#197594] DONE (try 2) service.git=0.5.28-alt1

http://git.altlinux.org/tasks/archive/done/_192/197594/logs/events.2.1.log

2017-Dec-28 21:55:51 :: task #197594 for sisyphus resumed by ldv:
#100 build 0.5.28-alt1 from /people/imz/packages/service.git
2017-Dec-28 21:55:51 :: [i586] #100 service.git 0.5.28-alt1: build start
2017-Dec-28 21:55:51 :: [x86_64] #100 service.git 0.5.28-alt1: build start
2017-Dec-28 21:56:08 :: [i586] service.git 0.5.28-alt1: remote: no need to rebuild
2017-Dec-28 21:56:08 :: [x86_64] service.git 0.5.28-alt1: remote: no need to rebuild
2017-Dec-28 21:56:08 :: [i586] #100 service.git 0.5.28-alt1: build OK
2017-Dec-28 21:56:08 :: [x86_64] #100 service.git 0.5.28-alt1: build OK
2017-Dec-28 21:56:13 :: build check OK
2017-Dec-28 21:56:13 :: noarch check OK
2017-Dec-28 21:56:14 :: plan: src +1 -1 =18227, i586 +2 -2 =33775, x86_64 +2 -2 =33771
2017-Dec-28 21:56:14 :: version check OK
2017-Dec-28 21:56:54 :: generated apt indices
2017-Dec-28 21:56:54 :: created next repo
2017-Dec-28 21:57:07 :: dependencies check OK
2017-Dec-28 21:58:02 :: ELF symbols check OK
2017-Dec-28 21:58:18 :: [x86_64] #100 service: no need to repeat, install check SKIPPED
2017-Dec-28 21:58:18 :: [i586] #100 service: no need to repeat, install check SKIPPED
2017-Dec-28 21:58:30 :: [x86_64] #100 service-debuginfo: no need to repeat, install check SKIPPED
2017-Dec-28 21:58:30 :: [i586] #100 service-debuginfo: no need to repeat, install check SKIPPED
2017-Dec-28 21:58:47 :: [x86_64-i586] generated apt indices
2017-Dec-28 21:58:47 :: [x86_64-i586] created next repo
2017-Dec-28 21:58:55 :: [x86_64-i586] dependencies check OK
2017-Dec-28 21:58:56 :: gears inheritance check OK
2017-Dec-28 21:58:56 :: srpm inheritance check OK
girar-check-perms: access to service DENIED for imz: does not belong to approved builders list: ldv inger
girar-check-perms: access to service ALLOWED for ldv: project leader
service: Update approved by ldv
2017-Dec-28 21:58:56 :: acl check OK
2017-Dec-28 21:59:07 :: created contents_index files
2017-Dec-28 21:59:15 :: created hash files: i586 src x86_64
2017-Dec-28 21:59:16 :: task #197594 for sisyphus TESTED
2017-Dec-28 21:59:16 :: task is ready for commit
2017-Dec-28 21:59:22 :: repo clone OK
2017-Dec-28 21:59:22 :: packages update OK
2017-Dec-28 21:59:23 :: [i586 x86_64] update OK
2017-Dec-28 21:59:23 :: repo update OK
2017-Dec-28 21:59:30 :: repo save OK
2017-Dec-28 21:59:32 :: updated /gears/s/service.git branch `sisyphus'
2017-Dec-28 21:59:40 :: gears update OK
2017-Dec-28 21:59:40 :: task #197594 for sisyphus DONE

                 reply	other threads:[~2017-12-28 22:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=alpine.LFD.2.20.1712290102120.7714@imap.altlinux.org \
    --to=imz@altlinux.org \
    --cc=devel@lists.altlinux.org \
    --cc=obirvalger@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