[Debian-ha-maintainers] Bug#625965: gfs2-tools provides invalid symlinks

Tobias Andersson tobiandersson at gmail.com
Sat May 7 12:46:58 UTC 2011


Package: gfs2-tools
Version: 3.0.12-2

When I'm trying to run gfs2_jadd, I get "command not found" as
response. It seems like the symlinks isn't pointed to the right path
for mkfs.gfs2.

lrwxrwxrwx 1 root root    9 May  7 14:29 /usr/sbin/gfs2_fsck -> fsck.gfs2
lrwxrwxrwx 1 root root    9 May  7 14:29 /usr/sbin/gfs2_grow -> mkfs.gfs2
lrwxrwxrwx 1 root root   15 May  7 14:31 /usr/sbin/gfs2_jadd -> mkfs.gfs2
lrwxrwxrwx 1 root root    9 May  4 18:21 /usr/sbin/gfs2_jadd.bkp -> mkfs.gfs2
lrwxrwxrwx 1 root root    9 May  7 14:29 /usr/sbin/gfs2_mkfs -> mkfs.gfs2

None of those commands is working after install, but by changing the
symlinks to /usr/sbin/mkfs.gfs2 they works just fine.

I suggest that the symlinks are changed to the absolute path for
mkfs.gfs2. Maybe some kind of symlink validation while packaging
packages would be a good idea.

I am using Debian GNU/Linux 6.0, amd64.





More information about the Debian-ha-maintainers mailing list