X2Go Bug report logs - #676
Nightly RPM transaction check failed on /etc/sudoers.d

version graph

Package: x2goserver; Maintainer for x2goserver is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goserver is src:x2goserver.

Reported by: Jasmin Lévesque <jasminlevesque@gmail.com>

Date: Mon, 17 Nov 2014 02:45:02 UTC

Severity: normal

Tags: pending

Found in version 4.1.0.0-0.0x2go1.0.git20141116.1181.heuler.el7

Fixed in version 4.0.1.19

Done: X2Go Release Manager <git-admin@x2go.org>

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#676: [X2Go-Dev] Bug#676: Nightly RPM transaction check failed on /etc/sudoers.d
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 676@bugs.x2go.org
Resent-From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Sat, 29 Nov 2014 13:20:02 +0000
Resent-Message-ID: <handler.676.B676.14172670785834@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 676
X-X2Go-PR-Package: x2goserver
X-X2Go-PR-Keywords: pending
Received: via spool by 676-submit@bugs.x2go.org id=B676.14172670785834
          (code B ref 676); Sat, 29 Nov 2014 13:20:02 +0000
Received: (at 676) by bugs.x2go.org; 29 Nov 2014 13:17:58 +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=-1.9 required=5.0 tests=BAYES_00,
	RCVD_IN_DNSWL_BLOCKED,URIBL_BLOCKED autolearn=ham version=3.3.2
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 152355DEC3
	for <676@bugs.x2go.org>; Sat, 29 Nov 2014 14:17:56 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id A2F7C2E66;
	Sat, 29 Nov 2014 14:17:55 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id C667D3B9D9;
	Sat, 29 Nov 2014 14:17:54 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id oFL5fUQiNkyG; Sat, 29 Nov 2014 14:17:54 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id 930CC3B9B9;
	Sat, 29 Nov 2014 14:17:54 +0100 (CET)
Received: from p5B3B890B.dip0.t-ipconnect.de (p5B3B890B.dip0.t-ipconnect.de
 [91.59.137.11]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP;
 Sat, 29 Nov 2014 13:17:54 +0000
Date: Sat, 29 Nov 2014 13:17:54 +0000
Message-ID: <20141129131754.Horde.exREEBbGer-hMy_8xCP28Q4@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Jasmin Lévesque <jasminlevesque@gmail.com>,
 676@bugs.x2go.org
In-Reply-To: <CAJzfp8mQoOfx33m5c5cqz2uzoP9Nx9WJotYQyi03PsjPQytiSA@mail.gmail.com>
User-Agent: Internet Messaging Program (IMP) H5 (6.2.2)
Accept-Language: en,de
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 91.59.137.11
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101
 Firefox/32.0 Iceweasel/32.0
Content-Type: multipart/signed; boundary="=_Qwe2cDkiU-L4gDkkTHkLhA7";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0
[Message part 1 (text/plain, inline)]
Hi Jasmin

On  Mo 17 Nov 2014 03:43:03 CET, Jasmin Lévesque wrote:

> 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=x2goserver.git;a=blob_plain;f=x2goserver.spec;hb=HEAD
> 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.

I have dropped the %dir lines now and get this with our nightly builds  
(against openSUSE 12.3 / 13.1) from rpmlint:

"""
[  141s]  
x2goserver-4.1.0.0-0.0x2go1.0.git20141128.1197.heuler.x86_64.rpm:  
directories not owned by a package:
[  141s]  - /etc/logcheck
[  141s]  - /etc/logcheck/ignore.d.server
[  141s]  - /etc/sudoers.d
"""

This seems to be conflicting with each other, right? I guess I have to  
add some lines to x2goserver-rpmlintrc to render builds as working  
again...

Any input from your side?

Thanks,
Mike



-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Mon Feb 26 08:10:17 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.