[systemd-devel] Problems with SWAP in 204

Andrey Borzenkov arvidjaar at gmail.com
Tue Jun 18 19:53:47 PDT 2013


В Wed, 19 Jun 2013 03:39:39 +0200
Tom Gundersen <teg at jklm.no> пишет:

> On Wed, Jun 19, 2013 at 12:16 AM, Henrik /KaarPoSoft
> <henrik at kaarposoft.dk> wrote:
> > When booting, I get a few errors related to swap; in particular:
> > Failed to reread /proc/swaps: File exists
> > swapon: /dev/sda3: swapon failed: Device or resource busy
> 
> The output of "systemctl --full --all --type=swap" might be useful as well.
> 

Should not path_equal() condition be reverted here?

        if (u &&
            SWAP(u)->from_proc_swaps &&
            !path_equal(SWAP(u)->parameters_proc_swaps.what, what_proc_swaps))
                return -EEXIST;


More information about the systemd-devel mailing list