Debian Bug report logs - #461154
libcvs getcwd is broken with some types of mounts

version graph

Package: cvs; Maintainer for cvs is Thorsten Glaser <tg@mirbsd.de>; Source for cvs is src:cvs (PTS, buildd, popcon).

Reported by: Ryan Underwood <nemesis@icequake.net>

Date: Wed, 16 Jan 2008 22:51:01 UTC

Severity: important

Found in version cvs/1:1.12.13-9

Fixed in version cvs/1:1.12.13-10

Done: Steve McIntyre <93sam@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Steve McIntyre <93sam@debian.org>:
Bug#461154; Package cvs. (full text, mbox, link).


Acknowledgement sent to Ryan Underwood <nemesis@icequake.net>:
New Bug report received and forwarded. Copy sent to Steve McIntyre <93sam@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Ryan Underwood <nemesis@icequake.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libcvs getcwd is broken with some types of mounts
Date: Wed, 16 Jan 2008 16:49:43 -0600
[Message part 1 (text/plain, inline)]
Package: cvs
Version: 1:1.12.13-9
Severity: important


Please see the following mail archive post:
http://www.mail-archive.com/bug-cvs@nongnu.org/msg01497.html

Some mount types have semantics that render libcvs's getcwd broken.  I
encountered this problem on an AFS filesystem.

I have attached a patch that disables use of the internal getcwd and
prevents it from building, which fixes the problem, but I don't know
what's the "right" way to do this.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-k7 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages cvs depends on:
ii  debconf [debconf-2.0]   1.5.17           Debian configuration management sy
ii  libc6                   2.7-5            GNU C Library: Shared libraries
ii  libpam-runtime          0.99.7.1-5       Runtime support for the PAM librar
ii  libpam0g                0.99.7.1-5       Pluggable Authentication Modules l
ii  update-inetd            4.27-0.6         inetd.conf updater
ii  zlib1g                  1:1.2.3.3.dfsg-8 compression library - runtime

Versions of packages cvs recommends:
ii  emacs20 [info-browser]     20.7-13.1     The GNU Emacs editor.
ii  info [info-browser]        4.11.dfsg.1-3 Standalone GNU Info documentation 
ii  netbase                    4.30          Basic TCP/IP networking system

-- debconf information:
  cvs/rotatekeep: 7
* cvs/badrepositories: ignore
  cvs/pserver_warning:
  cvs/rotatekeep_nondefault: no
  cvs/read_cvsconf: false
  cvs/rotate_individual: true
  cvs/pserver_repos_individual: true
  cvs/pserver_setspawnlimit: false
  cvs/rotatekeep_individual: 7
  cvs/pserver_repos: some
* cvs/pserver: false
  cvs/cvs_conf_is_dead:
* cvs/repositories: /var/cvs
  cvs/pserver_spawnlimit: 400
* cvs/rotatehistory: no
[libc.getcwd.patch (text/x-c, attachment)]

Reply sent to Steve McIntyre <93sam@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Ryan Underwood <nemesis@icequake.net>:
Bug acknowledged by developer. (full text, mbox, link).


Message #10 received at 461154-close@bugs.debian.org (full text, mbox, reply):

From: Steve McIntyre <93sam@debian.org>
To: 461154-close@bugs.debian.org
Subject: Bug#461154: fixed in cvs 1:1.12.13-10
Date: Sun, 27 Jan 2008 23:32:02 +0000
Source: cvs
Source-Version: 1:1.12.13-10

We believe that the bug you reported is fixed in the latest version of
cvs, which is due to be installed in the Debian FTP archive:

cvs_1.12.13-10.diff.gz
  to pool/main/c/cvs/cvs_1.12.13-10.diff.gz
cvs_1.12.13-10.dsc
  to pool/main/c/cvs/cvs_1.12.13-10.dsc
cvs_1.12.13-10_i386.deb
  to pool/main/c/cvs/cvs_1.12.13-10_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 461154@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Steve McIntyre <93sam@debian.org> (supplier of updated cvs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 27 Jan 2008 19:08:02 +0000
Source: cvs
Binary: cvs
Architecture: source i386
Version: 1:1.12.13-10
Distribution: unstable
Urgency: low
Maintainer: Steve McIntyre <93sam@debian.org>
Changed-By: Steve McIntyre <93sam@debian.org>
Description: 
 cvs        - Concurrent Versions System
Closes: 197473 284710 351690 365078 422128 430415 455257 455496 456164 461154 495641
Changes: 
 cvs (1:1.12.13-10) unstable; urgency=low
 .
   * Fix the internal getcwd() function to cope with working inside a
     bindmount/chroot. Thanks to Colin Watson for the patch.
     Closes: #456164,#461154,#495641
   * Add a fix from Petr Salinger so that cvs will work on
     GNU/kFreeBSD. Closes: #455496 . Looks related to the getcwd()
     changes above, but belt and braces won't hurt.
   * Add a Finnish Debconf translation, hanks to Esko Arajärvi.
     Closes: #455257
   * Updated the download URL in debian/copyright. Closes: #351690
   * Check for /etc/cvs-cron.conf before using it. Closes: #197473
   * Move the default repository location from /var/lib/cvs to /srv/cvs for
     better FHS compliance. Closes: #284710, thanks to Pierre THIERRY for
     the patch.
   * LOTS of fixes for silly mistakes in the auto-generated CVS man page.
     Closes: #365078 (and then some)
   * Break "tag" and "rtag" in the cvs.5 man page. Closes: #422128
   * Added IPV6 support, thanks to a patch from KIMURA Yasuhiro.
     Closes: #430415
   * Minor rules file cleanup (old commented lines removed)
Files: 
 9b0c6aec8f89b63aea389b3eb042e69c 748 devel optional cvs_1.12.13-10.dsc
 6a16f72ceb7a0c265cb82548021df269 102156 devel optional cvs_1.12.13-10.diff.gz
 19fcfb8cc72abcc9d98ad7b5ee7aede9 1681442 devel optional cvs_1.12.13-10_i386.deb

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

iD8DBQFHnRNGfDt5cIjHwfcRAvk/AJ9nRIPVx4OjB25p5kdcjBoOrnKpKwCeLZcg
96GzDIE9Tdse/C4LHouK0Y8=
=0TK8
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 15 Jun 2008 07:33:34 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jul 24 03:55:24 2024; Machine Name: bembo

Debian 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.