From: Alexey Shabalin <a.shabalin@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] systemd vs. NM
Date: Sat, 14 May 2011 03:38:00 +0400
Message-ID: <BANLkTimyqc8BwxUiBGe4UGzxV7vSMp6DWg@mail.gmail.com> (raw)
In-Reply-To: <BANLkTinG25myp8NEmQzBB598OWKFnh_GPA@mail.gmail.com>
13 мая 2011 г. 21:25 пользователь Alexey Shabalin написал:
>>> Получается вот что. chkconfig acpid в хэшере говорит вот так:
>>>
>>> Note: Forwarding request to 'systemctl enable acpid.service'.
>>> ln -s '/lib/systemd/system/acpid.service'
>>> '/etc/systemd/system/multi-user.target.wants/acpid.service'
>>>
>>> А chkconfig rpcbind говорит так:
>>>
>>> Note: Forwarding request to 'systemctl enable rpcbind.service'.
>>> ln -s '/lib/systemd/system/rpcbind.service'
>>> '/etc/systemd/system/rpcbind.target.wants/rpcbind.service'
>>>
>>> При загрузке с этого образа - acpid запускается, rpcbind не запускается.
>>
>> :) выглядит правильно :)
>> acpid ставится в multi-user.target (и видимо он используется как цель
>> для загрузки) и стартует,
>> а rpcbind ставится в rpcbind.target, и на этот таргет нет зависимости
>> у multi-user.target.
>> Я посмотрю, что лучше сделать.
> Вариантов пара:
> 1) добавить .socket файл по подобию
> http://0pointer.de/public/systemd-units/rpcbind.socket
> тогда порт 111 будет слушать systemd и при обращении на него будет
> стартовать сервис (напоминает xinetd). Вот только как прикрутить наш
> control к этому - не знаю.
>
> 2) в WantedBy добавить multi-user.target (запуллить в этот таргет).
> Вот только правильно ли это? может лучше network.target?
>
> 3) можно целиком rpcbind.target запуллить в multi-user.target(или в
> network.target). Опять же не знаю, насколько это правильно.
Выбрал 3 вариант.
Отправил в сизиф новую сборку systemd. Пробуйте с ней.
--
Alexey Shabalin
prev parent reply other threads:[~2011-05-13 23:38 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-13 14:09 Mykola S. Grechukh
2011-05-13 14:13 ` Mykola S. Grechukh
2011-05-13 15:10 ` Mikhail Efremov
2011-05-13 15:14 ` Mykola S. Grechukh
2011-05-13 15:27 ` Mikhail Efremov
2011-05-13 16:23 ` Mykola S. Grechukh
2011-05-13 14:48 ` Alexey Shabalin
2011-05-13 14:56 ` Mykola S. Grechukh
2011-05-13 15:25 ` Alexey Shabalin
2011-05-13 15:34 ` Mykola S. Grechukh
2011-05-13 16:24 ` Alexey Shabalin
2011-05-13 16:32 ` Mykola S. Grechukh
2011-05-13 16:53 ` Alexey Shabalin
2011-05-13 17:25 ` Alexey Shabalin
2011-05-13 17:33 ` Денис Смирнов
2011-05-13 17:35 ` Mykola S. Grechukh
2011-05-13 23:38 ` Alexey Shabalin [this message]
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=BANLkTimyqc8BwxUiBGe4UGzxV7vSMp6DWg@mail.gmail.com \
--to=a.shabalin@gmail.com \
--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