GNU bug report logs - #33537
guix system error: In procedure swapon: "/dev/sda2": Invalid argument

Previous Next

Package: guix;

Reported by: <znavko <at> tutanota.com>

Date: Wed, 28 Nov 2018 07:32:01 UTC

Severity: normal

Tags: notabug

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: ludo <at> gnu.org (Ludovic Courtès)
To: <znavko <at> tutanota.com>
Cc: 33537 <at> debbugs.gnu.org
Subject: bug#33537: guix system error: In procedure swapon: "/dev/sda2": Invalid argument
Date: Wed, 28 Nov 2018 14:27:32 +0100
Hi,

<znavko <at> tutanota.com> skribis:

> # guix system reconfigure /etc/config.scm
> ...
> guix system: error: exception caught while executing 'start' on service 'swap-/dev/sda2':
> In procedure swapon: "/dev/sda2": Invalid argument...

According to swapon(2), there are 3 conditions that can lead to this
error:

       EINVAL The file path exists, but refers neither to a regular  file  nor  to  a
              block device;

       EINVAL (swapon())  The  indicated path does not contain a valid swap signature
              or resides on an in-memory filesystem such as tmpfs(5).

       EINVAL (since Linux 3.4)
              (swapon()) An invalid flag value was specified in flags.

Did you run “mkswap /dev/sda2” beforehand?

Thanks,
Ludo’.




This bug report was last modified 6 years and 176 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.