dispel and ressurect don't work if /var/cache/sorcery is a link (Bug #340)


Added by Ladislav Hagara over 2 years ago. Updated almost 2 years ago.


Status:Resolved Start date:01/19/2012
Priority:High Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

Description

LINK:

  1. gaze version lives; ls ld /var/cache/sorcery; ls -l /var/cache/sorcery/lives-1.*
    Grimoire Section Spell Grimoire Version Installed Version
    -------
    ------- ----- ---------------- -----------------
    test video lives 1.6.0 1.0.10

lrwxrwxrwx 1 root root 25 Jan 19 16:37 /var/cache/sorcery -> /var/spool/sorcery/CACHE/

rw-r--r- 1 root root 3029626 May 23 2011 /var/cache/sorcery/lives-1.0.10-i686-pc-linux-gnu.tar.bz2
rw-r--r- 1 root root 6288843 Jan 19 08:22 /var/cache/sorcery/lives-1.6.0-i686-pc-linux-gnu.tar.bz2

  1. dispel -d lives 1.6.0
    Unable to resurrect lives because no cache for version 1.6.0 was found.

DIR:

  1. gaze version lives; ls ld /var/cache/sorcery; ls -l /var/cache/sorcery/lives-1.*
    Grimoire Section Spell Grimoire Version Installed Version
    -------
    ------- ----- ---------------- -----------------
    test video lives 1.6.0 1.0.10

drwxr-xr-x 2 root root 4096 Jan 19 17:03 /var/cache/sorcery

rw-r--r- 1 root root 3029626 May 23 2011 /var/cache/sorcery/lives-1.0.10-i686-pc-linux-gnu.tar.bz2
rw-r--r- 1 root root 6288843 Jan 19 08:22 /var/cache/sorcery/lives-1.6.0-i686-pc-linux-gnu.tar.bz2

  1. dispel -d lives 1.6.0
    works like a charm
  1. ln -s /var/spool/sorcery/CACHE/ sorcery
  1. dispel -d lives 1.6.0
    Unable to resurrect lives because no cache for version 1.6.0 was found.

History

Updated by Jaka Kranjc over 2 years ago

target filesystem type?

Updated by Ladislav Hagara over 2 years ago

ext3

Updated by Ladislav Hagara over 2 years ago

With "mount -o bind /var/spool/sorcery/CACHE/ sorcery" works OK.

  1. mount | grep sorcery
    /dev/sda7 on /var/spool/sorcery type ext3 (rw)
    /var/spool/sorcery/CACHE on /var/cache/sorcery type none (rw,bind)

Updated by Jaka Kranjc almost 2 years ago

It worked for me when I tried it, but more importantly, I don't know why I didn't mention the correct way to do this back then. Just set INSTALL_CACHE to the new path, no need to symlink anything.

  • Status changed from New to Resolved

Also available in: Atom PDF