guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

swap activation of guix system when swap is already active


From: ng0
Subject: swap activation of guix system when swap is already active
Date: Tue, 16 May 2017 00:07:34 +0000

Imagine you create a swap(file,partition). You forget to activate it
for some time in the system. Then you activate it manually. In the same
session you add it to the system config as (swap-devices '("/dev/sda5")).
Then you run reconfigure.
Now you experience this, because obviously the device is busy.

guix system: loading new services: swap-/dev/sda5 user-homes git-daemon...
shepherd: Evaluating user expression (register-services (primitive-load "/gn...") ...). guix system: error: exception caught while executing 'start' on service 'swap-/dev/sda5':
ERROR: In procedure swapon: "/dev/sda5": Device or resource busy


Shouldn't we 'swapoff' before 'swapon' so that the device can be 'swapon' in the system generation?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]