From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 1 Sep 2014 21:08:28 +0400 From: "Dmitry V. Levin" To: ALT Linux Team development discussions Message-ID: <20140901170828.GB28393@altlinux.org> Mail-Followup-To: ALT Linux Team development discussions References: <20140901162149.GA28295@altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5I6of5zJg18YgZEa" Content-Disposition: inline In-Reply-To: X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [devel] polkit without systemd X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2014 17:08:28 -0000 Archived-At: List-Archive: List-Post: --5I6of5zJg18YgZEa Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 01, 2014 at 08:45:51PM +0400, Alexey Shabalin wrote: > 1 =D3=C5=CE=D4=D1=C2=D2=D1 2014 =C7., 20:21 =D0=CF=CC=D8=DA=CF=D7=C1=D4= =C5=CC=D8 Dmitry V. Levin > =CE=C1=D0=C9=D3=C1=CC: > > On Mon, Sep 01, 2014 at 05:02:42PM +0400, Alexey Shabalin wrote: > >> - =D7=CD=C5=D3=D4=CF =D0=D2=D1=CD=CF=C7=CF =DA=C1=D0=D5=D3=CB=C1 syste= md-logind =DA=C1=D0=D5=D3=CB=C1=D4=D8 =D3=CB=D2=C9=D0=D4 systemd-logind-lau= nch: > >> -------------------- > >> if ! mountpoint -q /sys/fs/cgroup; then > >> mount -t tmpfs -o uid=3D0,gid=3D0,mode=3D0755 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=3Dsystemd systemd > >> /sys/fs/cgroup/systemd > >> fi > >> mkdir -p /run/systemd > > > > =F0=D2=CF=D7=C5=D2=D8=D4=C5, =D7=D3=C5 =CC=C9 =DA=C4=C5=D3=D8 =D0=D2=C1= =D7=C9=CC=D8=CE=CF =D3 =D0=D2=C1=D7=C1=CD=C9. > > =F3=CB=CF=D2=C5=C5 =D7=D3=C5=C7=CF, 0755 =CE=C1 /run/systemd - =DC=D4= =CF =CE=C5=D0=D2=C1=D7=C9=CC=D8=CE=CF. >=20 > # mount| grep /sys/fs/cgroup > tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=3D755) > cgroup on /sys/fs/cgroup/systemd type cgroup > (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=3D/lib/systemd/syste= md-cgroups-agent,name=3Dsystemd) > cgroup on /sys/fs/cgroup/cpuset type cgroup > (rw,nosuid,nodev,noexec,relatime,cpuset) >=20 > =D7 mount-setup.c =DC=D4=CF =CF=D0=D2=C5=C4=C5=CC=C5=CE=CF =D4=C1=CB: >=20 > { "tmpfs", "/sys/fs/cgroup", "tmpfs", > "mode=3D755", MS_NOSUID|MS_NOEXEC|MS_NODEV|MS_STRICTATIME, > NULL, MNT_FATAL|MNT_IN_CONTAINER }, =E1 =CB=C1=CB=C9=C5 =D0=D2=C1=D7=C1 =C4=CF=CC=D6=CE=D9 =C2=D9=D4=D8 =D5 /ru= n/systemd? > >> exec /lib/systemd/systemd-logind > >> ------------------------ > >> > >> - =D7 =DC=D4=CF=CD =D3=CB=D2=C9=D0=D4=C5,=D0=D2=C9 =CD=CF=CE=D4=C9=D2= =CF=D7=C1=CE=C9=C9 /sys/fs/cgroup, > >> /sys/fs/cgroup/systemd, =CD=D9 =CF=C2=CD=C1=CE=D9=D7=C1=C5=CD logind, = =CB=C1=CB =C2=D5=C4=D4=CF =CF=CE =D2=C1=C2=CF=D4=C1=C5=D4 > >> =D0=CF=C4 systemd. =EE=CF =C9=DA =DC=D4=CF=C7=CF =CF=C2=CD=C1=CE=C1 = =CE=C1=C4=CF =C9=D3=CB=CC=C0=DE=C9=D4=D8 =D4=C5=C8, =CB=CF=C7=CF =CD=D9 =CF= =C2=CD=C1=CE=D9=D7=C1=D4=D8 > >> =CE=C5 =C8=CF=D4=C9=CD - service, chkconfig > >> service =C9=D3=D0=CF=CC=D8=DA=D5=C5=D4 =D5=D4=C9=CC=C9=D4=D5 sd_booted= . =C5=A3 =CC=D5=DE=DB=C5 =D0=C5=D2=C5=D0=C9=D3=C1=D4=D8, =C9 =CE=C1=D5=DE= =C9=D4=D8 > >> =C9=D3=D0=CF=CC=D8=DA=CF=D7=C1=D4=D8 =C6=D5=CE=CB=C3=C9=C0 sd_booted = =C9=DA libsystemd (=CE=C1=D0=D2=C9=CD=C5=D2 =D4=C1=CB > >> http://git.pld-linux.org/?p=3Dpackages/systemd.git;a=3Dblob;f=3Dsystem= d_booted.c) > > > > =F0=CF=D3=CC=C5 =CB=CF=CD=CD=C9=D4=C1 > > http://cgit.freedesktop.org/systemd/systemd/commit/?id=3Dv198-67-g66e41= 18 > > =D7 =C6=D5=CE=CB=C3=C9=C9 sd_booted =C9=DA libsystemd =CF=D3=D4=C1=CC= =C1=D3=D8 =D4=CF=CC=D8=CB=CF =CF=C4=CE=C1 =D0=D2=CF=D7=C5=D2=CB=C1: > > test -d /run/systemd/system/ > > =EE=C1=D7=C5=D2=CE=CF=C5, =CD=D9 =D4=CF=D6=C5 =CD=CF=D6=C5=CD =D4=C1=CB= =D3=C4=C5=CC=C1=D4=D8. > =F7 =CF=C2=DD=C5=CD =D1 =DC=D4=CF =C9 =C9=CD=C5=CC =D7=D7=C9=C4=D5, =D0= =D2=CF=D7=C5=D2=D1=D4=D8 =D4=CF=CC=D8=CB=CF /run/systemd/system. > =F4=CF=CC=D8=CB=CF =D7=C4=D2=D5=C7 =DC=D4=CF =C9=DA=CD=C5=CE=C9=D4=D3=D1 = =D7 =C2=D5=C4=D5=DD=C5=CD, =D0=CF=DC=D4=CF=CD=D5 =C9 =D0=D2=C5=C4=CC=CF=D6= =C9=CC =CC=C9=CE=CB=CF=D7=C1=D4=D8=D3=D1 > =D3 libsystemd. =EE=C5 =C8=CF=DE=D5 =CC=C9=CE=CB=CF=D7=C1=D4=D8=D3=D1 =D3 libsystemd. :) --=20 ldv --5I6of5zJg18YgZEa Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlQEqAsACgkQfKvmrJ41Nh5ZUQCfaC6CU4Dha4NlKCGYp+A3bt8e 3koAnAwdYQU3q8syCwEBPHbwbdpbvIP9 =z3fB -----END PGP SIGNATURE----- --5I6of5zJg18YgZEa--