From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH] Tor: fix permissions after updating, too Date: Wed, 12 Jun 2019 15:12:57 +0100 Message-ID: <7DFB29B5-A3AF-45E9-9940-28F18E1FA513@ipfire.org> In-Reply-To: <1046d77a-425f-bc68-e74c-9f4e7eb3312b@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4408475278992157899==" List-Id: --===============4408475278992157899== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, err, the update is closed and should be building right now. But tor is an add-on. So we can build this separately. -Michael > On 12 Jun 2019, at 14:57, Peter M=C3=BCller wr= ote: >=20 > Hello, >=20 > could somebody please merge this patch _before_ closing Core Update 133? >=20 > Thanks, and best regards, > Peter M=C3=BCller >=20 >=20 >> Fixes #12088 >>=20 >> Signed-off-by: Peter M=C3=BCller >> Reported-by: Erik Kapfer >> --- >> lfs/tor | 2 +- >> src/paks/tor/install.sh | 5 +++-- >> 2 files changed, 4 insertions(+), 3 deletions(-) >>=20 >> diff --git a/lfs/tor b/lfs/tor >> index 1e8c3889d..d918910d4 100644 >> --- a/lfs/tor >> +++ b/lfs/tor >> @@ -32,7 +32,7 @@ DL_FROM =3D $(URL_IPFIRE) >> DIR_APP =3D $(DIR_SRC)/$(THISAPP) >> TARGET =3D $(DIR_INFO)/$(THISAPP) >> PROG =3D tor >> -PAK_VER =3D 39 >> +PAK_VER =3D 40 >>=20 >> DEPS =3D "libseccomp" >>=20 >> diff --git a/src/paks/tor/install.sh b/src/paks/tor/install.sh >> index 268bccecd..1659871b6 100644 >> --- a/src/paks/tor/install.sh >> +++ b/src/paks/tor/install.sh >> @@ -32,9 +32,10 @@ if ! getent passwd tor; then >> useradd -u 119 -g tor -c "Tor daemon user" -d /var/empty -s /bin/fa= lse tor >> fi >>=20 >> +extract_files >> +restore_backup ${NAME} >> + >> # Adjust some folder permission for new UID/GID >> chown -R tor:tor /var/lib/tor /var/ipfire/tor >>=20 >> -extract_files >> -restore_backup ${NAME} >> start_service --background ${NAME} >>=20 >=20 > --=20 > The road to Hades is easy to travel. > -- Bion of Borysthenes --===============4408475278992157899==--