Mailinglist Archive: opensuse-bugs (6747 mails)

< Previous Next >
[Bug 731457] New: systemd hangs when processing swap on lvm
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 18 Nov 2011 20:13:27 +0000
  • Message-id: <bug-731457-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=731457

https://bugzilla.novell.com/show_bug.cgi?id=731457#c0


Summary: systemd hangs when processing swap on lvm
Classification: openSUSE
Product: openSUSE 12.1
Version: Final
Platform: Other
OS/Version: Other
Status: NEW
Severity: Major
Priority: P5 - None
Component: Basesystem
AssignedTo: fcrozat@xxxxxxxx
ReportedBy: ms@xxxxxxxx
QAContact: qa@xxxxxxx
CC: bkutil@xxxxxxxx
Found By: ---
Blocker: ---


I build an appliance which create a swap partition on LVM on first boot
systemd hangs when trying to activate the swapspace. Later when I simply
call swapon -a the swap is there and works. the fstab looks like this

/dev/systemVG/LVSwap swap swap defaults 0 0

I will attach the dmesg output from systemd started with

--log-level=debug --log-target=kmsg

How to reproduce this:

The appliance exists as debugging install iso in my NFS home directory

~ms/LimeJeOS-openSUSE-12.1.x86_64-1.12.1.iso

to run an installation call the following:

1. qemu-img create /tmp/mydisk 4G
2. qemu-kvm -hda /tmp/mydisk \
-cdrom LimeJeOS-openSUSE-12.1.x86_64-1.12.1.iso -boot d

during the installation the system will stop with a shell right
before run-init/systemd is called. You can check the environment here
and if you simple type 'exit' the system will boot and you see
the timeout happening.

This is really important for us, the studio team and the preload team
to work. The problem does not happen if the swap space is not on an
LVM or if sysvinit is used

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >