[Bug 1463023] Re: systemd Timed out waiting for device swap and file system check

2016-11-24 Thread Alexander Adam
Okay, sorry I was wrong again. The other issue just handles the
cryptswap-stuff which seems to be an issue for years in Ubuntu (and gets
closed most of the times).

However, I was finally able to boot my system and wanted to share for
others who might be run into this issue with systemd timeouts:

I added "selinux=1 enforcing=0" to kernel boot parameters.
I have no idea why this helps but I found it here:

http://unix.stackexchange.com/questions/279987/fedora-24-wont-boot-
after-dnf-upgrade#answer-280298

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1463023

Title:
  systemd Timed out waiting for device swap and file system check

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1463023/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1463023] Re: systemd Timed out waiting for device swap and file system check

2016-11-24 Thread Alexander Adam
Ah, I'm sorry. I just realized this is rather this issue:
https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/953875

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1463023

Title:
  systemd Timed out waiting for device swap and file system check

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1463023/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1463023] Re: systemd Timed out waiting for device swap and file system check

2016-11-24 Thread Alexander Adam
I just found out that running "cryptdisks_start cryptswap1" allows me to 
activate the swap with swapon.
So I guess the UUID references are fine and there is some systemd-crypto-issue 
going on.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1463023

Title:
  systemd Timed out waiting for device swap and file system check

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1463023/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1463023] Re: systemd Timed out waiting for device swap and file system check

2016-11-24 Thread Alexander Adam
I'm having the same issue now. I upgraded from Ubuntu 16.04 to 16.10.
I was able to boot twice into a running system, but I had no luck the other 
times besides from these two times.

However, this gives you the chance to, hopefully, solve this issue.
And as I'm landing in the recovery console with decrypted and mounted root 
partition I guess it may be solvable.

I can't really remember how the cryptsetup stuff worked so it may really
be related to some changed / referenced uuids?

I found posts from other people with the same issue but none of them
seem to got it solved.

** Attachment added: "logs"
   
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1463023/+attachment/4782351/+files/logs.tar.gz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1463023

Title:
  systemd Timed out waiting for device swap and file system check

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1463023/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1463023] Re: systemd Timed out waiting for device swap and file system check

2016-08-18 Thread Thomas Dreibholz
I have noticed this problem on 2 machines upgraded from Ubuntu 14.04 to Ubuntu 
16.04, when trying to boot the upgraded system for the first time. The really 
bad issue is that after timing out, the system is going to hang with messages 
like:
[58Z?Z1.5?Z840] INFO task systemd:21547 blocked for more than 120 seconds.
This is particularly bad if the system is remote.

(sysctls to consider these hangs as panics, and reboot a paniced kernel
automatically end in a loop: boot -> mount problem -> hang -> reboot ->
...)

Unfortunately, I was not able to find out what actually caused the
mounting problem (in my case: /home and swap). Booting from CD did not
reveal anything interesting (manually did fsck), and after rebooting
again it worked without problems.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1463023

Title:
  systemd Timed out waiting for device swap and file system check

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1463023/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1463023] Re: systemd Timed out waiting for device swap and file system check

2015-06-12 Thread Guy Baconniere
It could be related that ext4 was in a bad state and systemd was not able to 
use it 
then upstart executed fsck to fix it and now I can again use systemd.

# /var/log/syslog.4.gz
$ zgrep -h fsck /var/log/*.gz
Jun  8 08:43:06 mbp kernel: [1788385.038996] FAT-fs (sdb1): Volume was not 
properly unmounted. Some data may be corrupt. Please run fsck.
Jun  8 10:48:10 mbp systemd-fsck[971]: /dev/sda5: clean, 448286/17760256 files, 
35731755/71025664 blocks
Jun  8 10:48:10 mbp kernel: [4.748519] systemd[1]: Listening on fsck to 
fsckd communication Socket.
Jun  8 10:48:10 mbp kernel: [4.750175] systemd[1]: Starting fsck to fsckd 
communication Socket.
Jun  8 11:08:54 mbp systemd-fsck[943]: /dev/sda5: clean, 447436/17760256 files, 
35695088/71025664 blocks
Jun  8 11:08:54 mbp kernel: [3.809333] systemd[1]: Listening on fsck to 
fsckd communication Socket.
Jun  8 11:08:54 mbp kernel: [3.809392] systemd[1]: Starting fsck to fsckd 
communication Socket.
Jun  8 11:11:50 mbp systemd-fsck[946]: /dev/sda5: clean, 447438/17760256 files, 
35715637/71025664 blocks
Jun  8 11:11:50 mbp kernel: [3.736279] systemd[1]: Listening on fsck to 
fsckd communication Socket.
Jun  8 11:11:50 mbp kernel: [3.737878] systemd[1]: Starting fsck to fsckd 
communication Socket.

zgrep -h systemd /var/log/syslog.4.gz  systemd-2015-06-08.log


** Attachment added: systemd-2015-06-08.log
   
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1463023/+attachment/4413674/+files/systemd-2015-06-08.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1463023

Title:
  systemd Timed out waiting for device swap and file system check

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1463023/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1463023] Re: systemd Timed out waiting for device swap and file system check

2015-06-12 Thread Martin Pitt
Thanks for your report. I don't see anything immediately wrong with your
/etc/fstab, blkid looks fine and has matching UUIDs. So I'm afraid I
need a full log to see what happened.

In the grub boot menu under Advanced options, please select the one-
time boot with systemd (you don't need to change packages for that),
'e'dit that line, drop any splash or quiet and instead append debug
systemd.debug-shell, then boot with Ctrl-X.

Once it hangs, you should be able to do Ctrl-Alt-F9 and land in the
debug shell. There, run journalctl -ab  /root/journal.txt. Reboot
again (with upstart), and attach /root/journal.txt here. Thanks!

** Changed in: systemd (Ubuntu)
   Status: New = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1463023

Title:
  systemd Timed out waiting for device swap and file system check

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1463023/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1463023] Re: systemd Timed out waiting for device swap and file system check

2015-06-12 Thread Martin Pitt
The sdb1 one is most likely an USB stick (FAT, not ext4). Your ext4 root
partition is sda5 which is shown as clean now. Could still be that a
previous fsck cured it, of course -- this wouldn't appear in
/var/log/syslog as it happens very early at boot already while the root
partition is still readonly. It would be in the persistant journal, but
too late to retroactively enable that..

If it works now, then there's not much that we can do to still debug
this, I'm afraid. So I'm closing this for now.

Thanks!

** Changed in: systemd (Ubuntu)
   Status: Incomplete = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1463023

Title:
  systemd Timed out waiting for device swap and file system check

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1463023/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1463023] Re: systemd Timed out waiting for device swap and file system check

2015-06-12 Thread Guy Baconniere
 Please attach /etc/fstab from your system, and show the output of 'swapon' 
 when booted with upstart.

@vorlon content of fstab see Bug Description

$ sudo swapon
NAME  TYPE  SIZE  USED PRIO
/dev/sda6 partition 7.9G 11.5M   -1

Ok, I will try to go back to systemd for science ;-)
$ sudo apt-get install systemd-sysv

@pitti

I will try that. Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1463023

Title:
  systemd Timed out waiting for device swap and file system check

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1463023/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1463023] Re: systemd Timed out waiting for device swap and file system check

2015-06-12 Thread Guy Baconniere
@pitti

I am unable to reproduce it with 3.19.0-20 nor 3.19.0-18.
So I installed back systemd-sysv and I will do the debug stuff
next time I have the issue.

I guess the issue was related to a strange state of swap or the disk
and after booting once with upstart something fixed it. fsck??

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1463023

Title:
  systemd Timed out waiting for device swap and file system check

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1463023/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1463023] Re: systemd Timed out waiting for device swap and file system check

2015-06-08 Thread Steve Langasek
 P.S. don't ask me to go back to systemd-sysv... I am fine with
upstart

upstart is not a supported option in Ubuntu 15.04 and later.  Are you
willing to help the Ubuntu developers debug this issue?  That will
probably require you booting systemd to confirm the fix.

Please attach /etc/fstab from your system, and show the output of
'swapon' when booted with upstart.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1463023

Title:
  systemd Timed out waiting for device swap and file system check

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1463023/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1463023] Re: systemd Timed out waiting for device swap and file system check

2015-06-08 Thread Guy Baconniere
Please note that my swap is NOT encrypted so it's not related to bug
1440098 or 953875

** Package changed: cryptsetup (Ubuntu) = systemd (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1463023

Title:
  systemd Timed out waiting for device swap and file system check

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1463023/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs