[Pkg-libburnia-devel] Bug#738359: xorrisofs: -follow-links fails on valid symlinks
Michael Gold
michael at bitplane.org
Sun Feb 9 16:30:17 UTC 2014
Package: xorriso
Version: 1.3.2-1
Severity: important
I have a tree of symlinks, pointing into git-annex repositories, that
causes xorrisofs to fail when using the -follow-links option. strace
shows that it uses lstat and then tries to resolve the link itself,
incorrectly. It shouldn't be necessary to use lstat or readlink in
-follow-links mode; stat and open will follow links automatically.
These commands cause a similar failure:
mkdir a b root
echo data > b/test
ln -s ../b/test a/test
ln -s ../a/ root/a
# "cat root/a/test" shows the link is valid
xorrisofs -f -o test.iso root/
Output:
xorriso 1.3.2 : RockRidge filesystem manipulator, libburnia project.
Drive current: -outdev 'stdio:test.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 409g free
xorriso : FAILURE : Cannot obtain link target of : '/xr0/michael/x/lntest/root/a/test' : No such file or directory
xorriso : NOTE : Problem occured with intermediate path : '/xr0/michael/x/lntest/root/b/test'
xorriso : aborting : -abort_on 'FAILURE' encountered 'FAILURE'
- Michael
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.11-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages xorriso depends on:
ii libacl1 2.2.52-1
ii libburn4 1.3.2-1
ii libc6 2.17-97
ii libisoburn1 1.3.2-1
ii libisofs6 1.3.2-1
ii libjte1 1.19-2
ii libreadline6 6.2+dfsg-0.1
ii zlib1g 1:1.2.8.dfsg-1
xorriso recommends no packages.
Versions of packages xorriso suggests:
ii cdck 0.7.0-5
pn jigit <none>
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-libburnia-devel/attachments/20140209/4e79372a/attachment.sig>
More information about the Pkg-libburnia-devel
mailing list