From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.2.5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to; bh=yqKd0doHPa3qiITas1P/WL3tmZja9y73BsWFyn9EPoA=; b=oIfgTEgeUWN9i4nwH0jajsrBEE16nWMTIyJLFQfPpHsFMItiKMT2PKrumvwvqlJaR9 tN6yF9oXsS3W2BeUIhn79VEekdrpdq3OVFoZFaXAm+ixf1gW/S/I279TYBjIUx+DN9r0 ZzR4ViboTIoBmkeMOSdFMpqewRJ1puqYaqhi7chjmT4jWe30Dp1e7AL47aUty+W/S0Iz d6KUbPjUu0umKE2kyqZMC5LMwqWgyms5wF2dOIYp0MG9wxMYfsug2rehcQX2MODvp+Eh 72Yy/3Wm+xV4qg1bhRM1ifFumxnUgIX3fCE1EWK6lZIqBamligRdKFMIL7/S51UWzrlp aqSA== X-Received: by 10.152.87.207 with SMTP id ba15mr15926643lab.15.1405038361970; Thu, 10 Jul 2014 17:26:01 -0700 (PDT) Sender: Denis Smirnov Date: Fri, 11 Jul 2014 04:25:59 +0400 From: =?koi8-r?B?5MXOydMg883J0s7P1w==?= To: sisyphus@lists.altlinux.org Message-ID: <20140711002559.GA3779@mw.mithraen.ru> Mail-Followup-To: sisyphus@lists.altlinux.org References: <53BED62B.3010806@mail.ru> <20140710232826.GA32071@mw.mithraen.ru> <20140710234048.GA14746@altlinux.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="i0/AhcQY5QxfSsSZ" Content-Disposition: inline In-Reply-To: <20140710234048.GA14746@altlinux.org> Subject: Re: [sisyphus] =?koi8-r?b?c3lzdGVtZCAmINXTy8/Sxc7JxSDawcfS1drLyS4=?= X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Sisyphus discussions List-Id: ALT Linux Sisyphus discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2014 00:26:10 -0000 Archived-At: List-Archive: List-Post: --i0/AhcQY5QxfSsSZ Content-Type: multipart/mixed; boundary="NzB8fVQJ5HfG6fxh" Content-Disposition: inline --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 11, 2014 at 03:40:48AM +0400, Dmitry V. Levin wrote: >>> altlinux-update_chrooted.service =C7=D2=D5=DA=C9=D4=D3=D1 ~4 =D3, =CF= =C4=CE=C1=CB=CF =C5=C7=CF =DA=C1=C7=D2=D5=DA=CB=C1 =CF=D4=CB=CC=C0=DE=C5=CE= =C1: >>> =EB=D4=CF =C5=C7=CF =C7=D2=D5=DA=C9=D4 =C9 =C4=CC=D1 =DE=C5=C7=CF =CE= =D5=D6=C5=CE =C4=C1=CE=CE=D9=CA =D3=C5=D2=D7=C9=D3? > /usr/lib/rpm/0ldconfig.filetrigger =D5=CD=C5=C5=D4 =DA=C1=D0=D5=D3=CB=C1= =D4=D8 "update_chrooted lib" > =D0=D2=C9 =CF=C2=CE=CF=D7=CC=C5=CE=C9=C9 =C2=C9=C2=CC=C9=CF=D4=C5=CB =C9= =DA /lib =C9 /lib64 =D3 =CE=CF=D1=C2=D2=D1 2008 =C7=CF=C4=C1. =EF! >> 2. =C4=CC=D1 =D2=C5=D3=CF=CC=D7=C5=D2=C1 =CD=CF=D6=CE=CF =CE=C1=D0=C9=D3= =C1=D4=D8 =D3=CF=CF=D4=D7=C5=D4=D3=D4=D7=D5=C0=DD=C9=CA =D3=C5=D2=D7=C9=D3 = systemd, =CB=CF=D4=CF=D2=D9=CA >> =C2=D5=C4=C5=D4 =CF=C2=CE=CF=D7=CC=D1=D4=D8 =C6=C1=CA=CC=D9 =D0=D2=C9 = =C9=DA =C9=DA=CD=C5=CE=C5=CE=C9=C9 > inotify(7) =C4=CC=D1 > /etc/{hosts,services,localtime,{host,nsswitch,resolv}.conf}? =E4=C1. =F7 =C1=D4=D4=C1=DE=C5 =D4=CF, =DE=D4=CF =D1 =CE=C1=D0=C9=D3=C1=CC = =C9 =D0=D2=CF=D7=C5=D2=C9=CC =D5 =D3=C5=C2=D1. =F0=D2=CF=D7=C5=D2=C9=D4=D8 = =CD=CF=D6=CE=CF =D3=CB=CF=D0=C9=D2=CF=D7=C1=D7=CC =C9=C8 =D7 /etc/systemd/system, =C9 =D7= =D9=D0=CF=CC=CE=C9=D7: systemctl mask altlinux-update_chrooted systemctl enable altlinux-libresolv.path systemctl start altlinux-libresolv.path >> 3. =C4=CC=D1 =CF=D3=D4=C1=CC=D8=CE=D9=C8 =D3=C5=D2=D7=C9=D3=CF=D7 =D7=D9= =DA=D9=D7=C1=D4=D8 /etc/chroot.d/%name.* =D0=C5=D2=C5=C4 =D3=D4=C1=D2=D4=CF= =CD >> =D3=CB=D2=C9=D0=D4=C1 > =F4=C5=CD =C2=CF=CC=C5=C5 =DE=D4=CF =D4=D2=C1=C4=C9=C3=C9=CF=CE=CE=D9=C5 = startup-=D3=CB=D2=C9=D0=D4=D9 =D4=C1=CB =C9 =C4=C5=CC=C1=C0=D4. =F7 =D4=C1=CB=CF=CD =D3=CC=D5=DE=C1=C5 =D0=D2=CF=C2=CC=C5=CD=D5 =CD=CF=D6= =CE=CF =D3=DE=C9=D4=C1=D4=D8 =D2=C5=DB=C5=CE=CE=CF=CA. --=20 =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, =E4=C5=CE=C9=D3 http://mithraen.ru/ --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="altlinux-libresolv.path" [Unit] Description=Update chrooted libresolv configs RequiresMountsFor=/etc /var/resolv Before=paths.target shutdown.target [Path] PathChanged=/etc/hosts PathChanged=/etc/services PathChanged=/etc/localtime PathChanged=/etc/host.conf PathChanged=/etc/nsswitch.conf PathChanged=/etc/resolv.conf [Install] WantedBy=default.target --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="altlinux-libresolv.service" [Unit] Description=Update chrooted libresolv configs RequiresMountsFor=/etc /var/resolv [Service] Type=oneshot ExecStart=/etc/chroot.d/resolv.conf --NzB8fVQJ5HfG6fxh-- --i0/AhcQY5QxfSsSZ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlO/LxYACgkQPuR8c4jhFKLmtgCglcKHFJiDqowYmhyiIh1xCckN jRIAoKdGqwUp9yfF00YeGpXrBTLf8lD9 =Ncj7 -----END PGP SIGNATURE----- --i0/AhcQY5QxfSsSZ--