[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#130073: marked as done (xlibs: symlink loop created in /etc/X11/app-defaults by postinst)



Your message dated Fri, 5 Sep 2003 06:31:50 -0500
with message-id <20030905113150.GA1598@deadbeast.net>
and subject line xlibs: symlink loop created in /etc/X11/app-defaults by postinst
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 20 Jan 2002 08:11:14 +0000
>From tillman@azstarnet.com Sun Jan 20 02:11:14 2002
Return-path: <tillman@azstarnet.com>
Received: from cepheus.azstarnet.com [169.197.56.195] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 16SD4M-0007ee-00; Sun, 20 Jan 2002 02:11:14 -0600
Received: from Obsession.azstarnet.com (toff@dhcp542.mc01.dsl.fastucson.net [169.197.10.30])
	by cepheus.azstarnet.com (8.9.3/8.9.3) with SMTP id BAA24808;
	Sun, 20 Jan 2002 01:11:10 -0700 (MST)
Message-Id: <200201200811.BAA24808@cepheus.azstarnet.com>
X-Sent-via: StarNet http://www.azstarnet.com/
Received: by Obsession.azstarnet.com (sSMTP sendmail emulation); Sun, 20 Jan 2002 01:11:48 -0700
From: Chris Tillman <tillman@azstarnet.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: xlibs: symlink loop created in /etc/X11/app-defaults by postinst
X-Reportbug-Version: 1.41.1421
X-Mailer: reportbug 1.41.1421
Date: Sun, 20 Jan 2002 01:11:48 -0700
Reply-To: Chris Tillman <tillman@azstarnet.com>
Delivered-To: submit@bugs.debian.org

Package: xlibs
Version: 4.1.0-9
Severity: normal

I had a problem starting up configuring wn because as it was indexing
my folders it got caught in a symlink loop. There was a symlink in
/etc/X11/app-defaults pointing back to itself.

I tracked this down to the xlibs postinst, by first deleting the loop
symlink and then executing this ln line by itself:

----
# this can be placed in xlibs.links after woody releases
ln -sf /etc/X11/app-defaults /usr/X11R6/lib/X11/app-defaults || true

check_symlinks_and_bomb /usr/X11R6/lib/X11/xkb \
                        /usr/X11R6/lib/X11/app-defaults
----

Because my system already has a link in
/usr/X11R6/lib/X11/app-defaults pointing to /etc/X11/app-defaults,
when the subject link is created, a loop is formed.

This might have happened during the upgrade to 4.1? The original
loop symlink was created on my computer on Dec 13.

I guess maybe the check_symlinks_and_bomb subroutine doesn't look for
loops; I couldn't tell.

In my system, all works well if the original symlink is removed before
creating the new one:

rm /usr/X11R6/lib/X11/app-defaults
ln -sf /etc/X11/app-defaults /usr/X11R6/lib/X11/app-defaults || true


-- System Information
Debian Release: 3.0
Architecture: powerpc
Kernel: Linux Obsession 2.2.19 #1 Sat Apr 14 23:20:24 CDT 2001 ppc
Locale: LANG=C, LC_CTYPE=C

Versions of packages xlibs depends on:
ii  libc6                         2.2.4-7    GNU C Library: Shared libraries an
ii  libfreetype6                  2.0.5-2    FreeType 2 font engine, shared lib
ii  xfree86-common                4.1.0-9    X Window System (XFree86) infrastr
ii  xlibs                         4.1.0-9    X Window System client libraries


---------------------------------------
Received: (at 130073-done) by bugs.debian.org; 5 Sep 2003 11:31:57 +0000
>From branden@deadbeast.net Fri Sep 05 06:31:54 2003
Return-path: <branden@deadbeast.net>
Received: from dhcp065-026-182-085.indy.rr.com (redwald.deadbeast.net) [65.26.182.85] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19vEoh-00051s-00; Fri, 05 Sep 2003 06:31:51 -0500
Received: by redwald.deadbeast.net (Postfix, from userid 1000)
	id E60BE64274; Fri,  5 Sep 2003 06:31:50 -0500 (EST)
Date: Fri, 5 Sep 2003 06:31:50 -0500
From: Branden Robinson <branden@debian.org>
To: 130073-done@bugs.debian.org
Subject: Re: xlibs: symlink loop created in /etc/X11/app-defaults by postinst
Message-ID: <20030905113150.GA1598@deadbeast.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="vtzGhvizbBRQ85DL"
Content-Disposition: inline
User-Agent: Mutt/1.5.4i
Delivered-To: 130073-done@bugs.debian.org
X-Spam-Status: No, hits=-8.3 required=4.0
	tests=PGP_SIGNATURE_2,USER_AGENT_MUTT
	version=2.53-bugs.debian.org_2003_8_27
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_8_27 (1.174.2.15-2003-03-30-exp)


--vtzGhvizbBRQ85DL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

This problem was fixed in 4.2.1-3 by letting dpkg take care of this
symlink.

xfree86 (4.2.1-3) unstable; urgency=3Dlow
[...]
  * debian/xlibs.links: add app-defaults link from /usr/X11R6/lib/X11 to
    /etc/X11
  * debian/xlibs.postinst.in: stop manually creating symlink from
    /usr/X11R6/lib/X11/app-defaults to /etc/X11/app-defaults now that woody
    has released
[...]
 -- Branden Robinson <branden@debian.org>  Wed, 16 Oct 2002 14:09:15 -0500

Another correct fix, I think, would have been to use "ln -nsf" instead of "=
ln
-sf".

--=20
G. Branden Robinson                |     There's nothing an agnostic can't
Debian GNU/Linux                   |     do if he doesn't know whether he
branden@debian.org                 |     believes in it or not.
http://people.debian.org/~branden/ |     -- Graham Chapman

--vtzGhvizbBRQ85DL
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iEYEARECAAYFAj9YdCYACgkQ6kxmHytGonx9twCgiVn2kl/gueeWedOiBnpUcgYB
W24AnRbSPEbQPOUEtt/QiFF8q7jQJJKE
=ViTF
-----END PGP SIGNATURE-----

--vtzGhvizbBRQ85DL--



Reply to: