|
Bugzilla – Full Text Bug Listing |
| Summary: | swap is not activated by default | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 12.1 | Reporter: | Michal Svec <msvec> |
| Component: | Basesystem | Assignee: | Frederic Crozat <fcrozat> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Major | ||
| Priority: | P3 - Medium | CC: | fcrozat, msvec |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
/etc/fstab
/var/log/messages dmesg systemctl show dev-md0.swap |
||
|
Description
Michal Svec
2012-02-11 17:25:35 UTC
Please post your /etc/fstab and /var/log/messages after reboot. Thx Created attachment 475756 [details]
/etc/fstab
Created attachment 475757 [details]
/var/log/messages
Thanks for the logs. Could you please try with Frederic's latest systemd package: https://bugzilla.novell.com/show_bug.cgi?id=731230#c11 ? New systemd maintenance update has been released. Could you please recheck? Thanks The behavior is still the same (all latest updates installed):
bash# free
total used free shared buffers cached
Mem: 1019532 949184 70348 0 5884 179332
-/+ buffers/cache: 763968 255564
Swap: 0 0 0
bash# grep -i swap /etc/fstab
/dev/md0 swap swap defaults 0 0
bash# grep -i swap /var/log/messages
bash# grep -i swap /var/log/boot.*
bash# rpm -q systemd
systemd-37-3.8.1.x86_64
OK, thanks for testing. I'll try to reproduce myself and see what I can do. hmm, /var/log/messages isn't really useful. Better to reboot with "systemd.log_level=debug systemd.log_target=kmsg" and attach dmesg output. Created attachment 481606 [details]
dmesg
Frederic: missing dependency between swapon and MD assembly? from the logs, swapon is started when /dev/md0 become available through udev but probably not before md.service (ie boot.md) is done.. Michal, could you attach output of "systemctl show dev-md0.swap" ? I'm not sure if I can easily dependency on md.service on the fly (I'd prefer to avoid it if no swap is on md). bash# systemctl status dev-md0.swap
dev-md0.swap - /dev/md0
Loaded: loaded
Active: failed since Thu, 15 Mar 2012 14:23:20 +0100; 46s ago
What: /dev/md0
Process: 664 ExecActivate=/sbin/swapon -p 0 /dev/md0 (code=exited, status=255)
CGroup: name=systemd:/system/dev-md0.swap
careful : systemctl show dev-md0.swap (not status) ;) Created attachment 482128 [details]
systemctl show dev-md0.swap
This seems to have been fixed meanwhile, probably with one of the recent updates, not sure exactly when that happened. . just for the record, on 12.1 or on Factory ? I didn't fix anything on 12.1 regarding this (it was still on my TODO list) but on Factory, maybe needed kernel events are set now. 12.1. There have been like two (or more) systemd package updates lately and I assume one of them fixed that. ok, thanks :) |