From unknown Thu Mar 28 20:49:07 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#676: Nightly RPM transaction check failed on /etc/sudoers.d Reply-To: Jasmin =?UTF-8?Q?L=C3=A9vesque?= , 676@bugs.x2go.org Resent-From: Jasmin =?UTF-8?Q?L=C3=A9vesque?= Resent-To: x2go-dev@lists.x2go.org Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Mon, 17 Nov 2014 02:45:02 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: report 676 X-X2Go-PR-Package: x2goserver X-X2Go-PR-Keywords: Received: via spool by submit@bugs.x2go.org id=B.141619220419861 (code B); Mon, 17 Nov 2014 02:45:02 +0000 Received: (at submit) by bugs.x2go.org; 17 Nov 2014 02:43:24 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham version=3.3.2 Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com [74.125.82.48]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 789AF5DA2E for ; Mon, 17 Nov 2014 03:43:23 +0100 (CET) Received: by mail-wg0-f48.google.com with SMTP id y19so1500950wgg.7 for ; Sun, 16 Nov 2014 18:43:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=ULRZN6ty8zpHkWe77ipxpS/lQDnV7IpX860aCUmOSHk=; b=b4a8AmAMSWabYp3+c+KTXfpq2WO/a6mfeR/LMfdefp1sL5e08UAVCgYs5uC+i8QN/7 mW5X4nGYKN2XiO9uSGOvo2eGVtuCl/j+6UctfVTAh67N+pz7E4WQP6mA1B5JUK/yK2Ud ECnGcRDP0j0U8gft7AknB/Qv+NkjZFHJiG+3mELG+Y2Bx74p6aTHN9T6eB37mIXiMzIM 0Ib77c4yTGAIPzG/QcMrxDC/huhn5Jx6emx+Ep5WN+8w/DMv+Pki62Y7mveNCyV7W59P R+IP6nEF5BEyTQZEp6t2E6M2iX2Iznv1zjh4qGqXSLsTftTRYBUcP0OZSXcQKatZF6XN Wbew== X-Received: by 10.180.99.163 with SMTP id er3mr26858678wib.18.1416192203229; Sun, 16 Nov 2014 18:43:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.27.130.80 with HTTP; Sun, 16 Nov 2014 18:43:03 -0800 (PST) From: Jasmin =?UTF-8?Q?L=C3=A9vesque?= Date: Sun, 16 Nov 2014 21:43:03 -0500 Message-ID: To: submit@bugs.x2go.org Content-Type: multipart/alternative; boundary=f46d041825a2350e58050804f169 --f46d041825a2350e58050804f169 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Package: x2goserver Version: 4.1.0.0-0.0x2go1.0.git20141116.1181.heuler.el7 Hi, While trying to fix another issue (#675), I gave a go at the nightly packages. I had a prior install of x2go 4.0.1.18-3. After installing the x2go-nightly yum repo, a yum update gave me this error: Transaction check error: file /etc/sudoers.d from install of x2goserver-4.1.0.0-0.0x2go1.0.git20141116.1181.heuler.el7.centos.x86_64 conflicts with file from package sudo-1.8.6p7-11.el7.x86_64 When digging for the .spec file I found this: http://code.x2go.org/gitweb?p=3Dx2goserver.git;a=3Dblob_plain;f=3Dx2goserve= r.spec;hb=3DHEAD Line 563: %dir %{_sysconfdir}/sudoers.d This makes the RPM authoritative of that directory. In a update or removal, it would delete this folder. Since it's owned rightfully by the already installed sudo package, installation fails. Line 564 should be enough to get your config file in place. Best regards, Jasmin L=C3=A9vesque Senior system analyst Vlan! Technologie --f46d041825a2350e58050804f169 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Package: x2goserver
Version: 4.1.0.0-0.0x2go1.0.gi= t20141116.1181.heuler.el7

Hi,

While trying to fix another issue (#675), I gave a go at the nightly packages. I= had a prior install of x2go 4.0.1.18-3. After installing the x2go-nightly=20 yum repo, a yum update gave me this error:

Transaction check error:<= br>=C2=A0 file /etc/sudoers.d from install of x2goserver-4.1.0.0-0.0x2go1.0= .git20141116.1181.heuler.el7.centos.x86_64 conflicts with file from package= sudo-1.8.6p7-11.el7.x86_64

When digging for the .spec fi= le I found this:

http= ://code.x2go.org/gitweb?p=3Dx2goserver.git;a=3Dblob_plain;f=3Dx2goserver.sp= ec;hb=3DHEAD
Line 563: %dir %{_sysconfdir}/sudoers.d

This makes the RPM authoritative of that directory. In a update or removal,=20 it would delete this folder. Since it's owned rightfully by the already= =20 installed sudo package, installation fails.

Line 564 sho= uld be enough to get your config file in place.

Best regards,

Jasmin L=C3=A9vesque
Senior system= analyst
Vlan! Technologie --f46d041825a2350e58050804f169--