ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Mikhail Efremov <sem@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] polkit without systemd
Date: Tue, 2 Sep 2014 16:45:07 +0400
Message-ID: <20140902164507.263fe638@sem.office.altlinux.ru> (raw)
In-Reply-To: <20140901142816.GA23696@mw.mithraen.ru>

On Mon, 1 Sep 2014 18:28:16 +0400 Денис Смирнов wrote:
> On Mon, Sep 01, 2014 at 05:02:42PM +0400, Alexey Shabalin wrote:
> 
> > 2) обеспечить работу logind под SysV
> > - вместо прямого запуска systemd-logind запускать скрипт systemd-logind-launch:
> > --------------------
> > if ! mountpoint -q /sys/fs/cgroup; then
> >     mount -t tmpfs -o uid=0,gid=0,mode=0755 none /sys/fs/cgroup
> > fi
> > if ! mountpoint -q /sys/fs/cgroup/systemd; then
> >     mkdir -p /sys/fs/cgroup/systemd
> >     mount -t cgroup -o nosuid,noexec,nodev,none,name=systemd systemd
> > /sys/fs/cgroup/systemd
> > fi
> > mkdir -p /run/systemd
> > exec /lib/systemd/systemd-logind
> > ------------------------
> 
> Этот вариант лучше, чем что-либо патчить.

Да, CK в любом случае мертв, насколько я понимаю.
Я так и не собрался посмотреть подробнее, но при беглом взгляде похоже,
что может сработать.
Правда нет гарантии, что апстрим systemd все не сломает. Хотя commit
message из 79d860fe78ff9e53fe3150fb55a8a8b03c4f6470, например, внушает
надежду:
It is possible to build systemd without logind or run logind without systemd
init.

Тут хоть признается, что запуск logind без systemd возможен.

-- 
WBR, Mikhail Efremov


  reply	other threads:[~2014-09-02 12:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-01 13:02 Alexey Shabalin
2014-09-01 14:28 ` Денис Смирнов
2014-09-02 12:45   ` Mikhail Efremov [this message]
2014-09-19 14:51     ` Mikhail Efremov
2014-09-19 19:15       ` Alexey Shabalin
2014-09-22  9:40         ` Mikhail Efremov
2014-09-23 10:08           ` Mikhail Efremov
2014-09-26  8:08             ` Mikhail Efremov
2014-10-02 17:27               ` Mikhail Efremov
2014-09-01 16:21 ` Dmitry V. Levin
2014-09-01 16:45   ` Alexey Shabalin
2014-09-01 17:08     ` Dmitry V. Levin
2014-09-01 17:20       ` Alexey Shabalin

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=20140902164507.263fe638@sem.office.altlinux.ru \
    --to=sem@altlinux.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