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

Bug#337225: marked as done (kontact: breaks hard links)



Your message dated Sun, 11 May 2014 17:44:02 +0100
with message-id <201405111744.03015.jims@silentasylum.co.uk>
and subject line Re: korganizer: breaks hard links
has caused the Debian Bug report #337225,
regarding kontact: breaks hard links
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
337225: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=337225
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: kontact
Version: 4:3.3.2-3
Severity: normal

When you close kontact and it has accessed read-write, even if not
written in it, a file that has more than one hard link, kontact creates
a new file at the path it has accessed, with a new inode, thus
"breaking" the hard links (their content wil not be updated anymore).

Here's my steps to reproduce the bug:

$ cat > foo.ics <<EOF
BEGIN:VCARD
CLASS:PUBLIC
FN:John Smith
N:Smith;John;;Mr;
TEL;TYPE=CELL:+123456789
VERSION:3.0
END:VCARD
EOF
$ stat -c "%i %n" *
1917526 foo.ics
$ ln foo.ics bar.ics
$ stat -c "%i %n" *
1917526 bar.ics
1917526 foo.ics
$ kontact

Add foo.ics as a new address book, read-only, quit kontact.

$ stat -c "%i %n" *
1917526 bar.ics
1917526 foo.ics
$ kontact

Remove foo.ics address book. Quit kontact.

$ stat -c "%i %n" *
1917526 bar.ics
1917526 foo.ics
$ kontact

Add foo.ics as a new address book, read-write, quit kontact.

$ stat -c "%i %n" *
1917526 bar.ics
1918815 foo.ics
1918812 foo.ics_4

OK, link's broken...

I had the same bug with my calendar, thus the bug filed on kontact. I
suspect it is a general KDE bug.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-k7
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

Versions of packages korganizer depends on:
ii  kdelibs4                  4:3.3.2-6.2    KDE core libraries
ii  ktnef                     4:3.3.2-3      KDE TNEF viewer
ii  libart-2.0-2              2.3.17-1       Library of functions for 2D graphi
ii  libc6                     2.3.5-6        GNU C Library: Shared libraries an
ii  libgcc1                   1:4.0.2-2      GCC support library
ii  libice6                   6.8.2.dfsg.1-7 Inter-Client Exchange library
ii  libidn11                  0.5.18-1       GNU libidn library, implementation
ii  libkcal2a                 4:3.3.2-3      KDE calendaring library
ii  libkdepim1                4:3.3.2-3      KDE PIM library
ii  libkgantt0                4:3.3.2-3      KDE gantt charting library
ii  libkpimexchange1          4:3.3.2-3      KDE PIM Exchange library
ii  libkpimidentities1        4:3.3.2-3      KDE PIM user identity information 
ii  libpng12-0                1.2.8rel-1     PNG library - runtime
ii  libqt3c102-mt             3:3.3.4-3      Qt GUI Library (Threaded runtime v
ii  libsm6                    6.8.2.dfsg.1-7 X Window System Session Management
ii  libstdc++5                1:3.3.6-7      The GNU Standard C++ Library v3
ii  libx11-6                  6.8.2.dfsg.1-7 X Window System protocol client li
ii  libxext6                  6.8.2.dfsg.1-7 X Window System miscellaneous exte
ii  libxrender1               1:0.9.0-2      X Rendering Extension client libra
ii  perl                      5.8.7-6        Larry Wall's Practical Extraction 
ii  xlibs                     6.8.2.dfsg.1-7 X Window System client libraries m
ii  zlib1g                    1:1.2.3-4      compression library - runtime

Versions of packages korganizer recommends:
ii  kghostview                    4:3.3.2-2  PostScript viewer for KDE

-- no debconf information

-- 
nowhere.man@levallois.eu.org
OpenPGP 0xD9D50D8A

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
I have been unable to replicate this in wheezy

I followed the instructions in the test case and was able to open the vCard 
file as read/write and add a new entry without the link being broken:

$ stat -c "%i %n" *
301275 bar.vcf
301275 foo.vcf

If this issue still exists please accept my apologies and re-open the bug

-- 

Jim Scadden

--- End Message ---

Reply to: