From: "Денис Смирнов" <mithraen@freesource.info> To: devel@lists.altlinux.org Subject: Re: [devel] polkit without systemd Date: Mon, 1 Sep 2014 18:28:16 +0400 Message-ID: <20140901142816.GA23696@mw.mithraen.ru> (raw) In-Reply-To: <CAEdvWkS=+vp=NS=gJ1HFcwmXH=PTZeP-JJPkhGiaZuJgXS1Zpw@mail.gmail.com> [-- Attachment #1: Type: text/plain, Size: 1404 bytes --] 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 > ------------------------ Этот вариант лучше, чем что-либо патчить. > - в этом скрипте,при монтировании /sys/fs/cgroup, > /sys/fs/cgroup/systemd, мы обманываем logind, как будто он работает > под systemd. Но из этого обмана надо исключить тех, кого мы обманывать > не хотим - service, chkconfig > service использует утилиту sd_booted. её лучше переписать, и научить > использовать функцию sd_booted из libsystemd (например так > http://git.pld-linux.org/?p=packages/systemd.git;a=blob;f=systemd_booted.c) > Или я могу в systemd-utils положить эту утилиту systemd_booted и > переключиться на её использование. Этот вариант мне кажется правильнее. > Аналогично надо поправить chkconfig. > У кого есть какие предложения, пожелания, возражения? -- С уважением, Денис http://mithraen.ru/ [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 181 bytes --]
next prev parent reply other threads:[~2014-09-01 14:28 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 ` Денис Смирнов [this message] 2014-09-02 12:45 ` Mikhail Efremov 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=20140901142816.GA23696@mw.mithraen.ru \ --to=mithraen@freesource.info \ --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