From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#33537: guix system error: In procedure swapon: "/dev/sda2": Invalid argument Date: Wed, 28 Nov 2018 14:27:32 +0100 Message-ID: <87mupt49iz.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRzyu-0001Yj-4D for bug-guix@gnu.org; Wed, 28 Nov 2018 08:34:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gRzso-0000Z1-84 for bug-guix@gnu.org; Wed, 28 Nov 2018 08:28:02 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:48688) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gRzso-0000Yt-4M for bug-guix@gnu.org; Wed, 28 Nov 2018 08:28:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gRzso-00047X-0S for bug-guix@gnu.org; Wed, 28 Nov 2018 08:28:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (znavko's message of "Wed, 28 Nov 2018 08:24:21 +0100 (CET)") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: znavko@tutanota.com Cc: 33537@debbugs.gnu.org Hi, 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 =E2=80=9Cmkswap /dev/sda2=E2=80=9D beforehand? Thanks, Ludo=E2=80=99.