> /var/swap is there but uswsusp runs from inside a chroot. It shouldn't
> assume swap is going to be directly accessible when it is a file (for a
> dev I guess it's fine since /dev has to be bind-mounted anyway).
>
> S'està configurant uswsusp (0.8-1.1+b1) ...
> stat: ha fallat stat() sobre /var/swap: El fitxer o directori no existeix
> dpkg: s'ha produït un error en processar uswsusp (--configure):
> el subprocés post-installation script retornà el codi d'eixida d'error 1
> S'han trobat errors en processar:
> uswsusp

Do you have any more specific suggestions as to how this would work, or a pointer on why this is a grave issue?

It seems reasonable to expect that the swapfile can be accessed as listed in /etc/fstab. The problem isn't really unique to uswsusp; e.g. "swapoff -a; swapon -a" isn't going to work either.

You already have to do a bit of namespace manipulation and careful thinking. You can bind mount individual files. What's wrong with adding /var/swap to the list of things you have to bind-mount?

Regards
Alan

Reply via email to