[Bug 1554795] Re: timeout on restart or shutdown with LUKS root

2021-06-30 Thread Dan Streetman
please reopen if this is still an issue

** Changed in: systemd (Ubuntu)
   Status: Confirmed => Won't Fix

** Changed in: initramfs-tools (Ubuntu)
   Status: Confirmed => Won't Fix

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

Title:
  timeout on restart or shutdown with LUKS root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1554795/+subscriptions

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

[Bug 1554795] Re: timeout on restart or shutdown with LUKS root

2017-04-13 Thread Jan Vollendorf
I had the same issue, too...
Lots of messages saying "Timed out stoppping ...".
The system never rebooted.

Here is what fixed the problem for me:

Firstly, I activated systemd's debug shell using 'systemctl enable 
debug-shell.service'.
Then I initiated a reboot and when the problem occured, I switched to debug 
shell (alt+F9 [/F10 ?] ).
Using 'systemctl list-jobs', I figured out what jobs were running while the 
system hung.

One of the jobs was an "unattended-upgrdes" job.
This job held one ore more files on my root filesystem open.
When I killed that process, the system finished its shutdown and rebooted.


After having removed the package by 'apt-get --purge remove 
unattended-upgrades' the problem didn't arise again.

I am using cron-apt on my servers - therefore I do not necessarily need
unattended-upgrades.

Hopefully this helps as workaround and to find the real cause of the
problem.


** Attachment added: "Screenshots debug shell and shutdown messages"
   
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1554795/+attachment/4861267/+files/no-reboot-with-unattended-upgrades.png

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

Title:
  timeout on restart or shutdown with LUKS root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1554795/+subscriptions

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


[Bug 1554795] Re: timeout on restart or shutdown with LUKS root

2017-04-13 Thread Ivan Kozik
In my case the LUKS stuff was unrelated and I was experiencing shutdown
hangs because I had daemonizing processes started by /etc/rc.local:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1656237

I managed to discover that by pre-killing a bunch of processes before
shutting down, which eventually narrowed down the cause.

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

Title:
  timeout on restart or shutdown with LUKS root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1554795/+subscriptions

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


[Bug 1554795] Re: timeout on restart or shutdown with LUKS root

2017-04-12 Thread Joshua Kugler
I have this problem on a system, and it *never* finishes stopping. It
prints out a bunch of "timeout" messages about stopping various disks,
then hangs forever stopping the crypt disk.  I'll try to get an image of
it.

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

Title:
  timeout on restart or shutdown with LUKS root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1554795/+subscriptions

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


[Bug 1554795] Re: timeout on restart or shutdown with LUKS root

2016-12-30 Thread Seth Arnold
I'm resetting these to Confirmed since it looks to me like Amir may have
accidentally set them to incorrect statuses.

Thanks

** Changed in: initramfs-tools (Ubuntu)
   Status: Fix Committed => Confirmed

** Changed in: systemd (Ubuntu)
   Status: Fix Released => Confirmed

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

Title:
  timeout on restart or shutdown with LUKS root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1554795/+subscriptions

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


[Bug 1554795] Re: timeout on restart or shutdown with LUKS root

2016-11-23 Thread Mason Loring Bliss
I'm curious about these two status changes:

Changed in systemd (Ubuntu):
status: Confirmed → Fix Released
Changed in initramfs-tools (Ubuntu):
status: Confirmed → Fix Committed

Would it be possible to have pointers to the commit(s) that fixed this?

Thanks!

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

Title:
  timeout on restart or shutdown with LUKS root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1554795/+subscriptions

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

[Bug 1554795] Re: timeout on restart or shutdown with LUKS root

2016-11-23 Thread amir
** Changed in: systemd (Ubuntu)
   Status: Confirmed => Fix Released

** Changed in: initramfs-tools (Ubuntu)
   Status: Confirmed => Fix Committed

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

Title:
  timeout on restart or shutdown with LUKS root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1554795/+subscriptions

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


[Bug 1554795] Re: timeout on restart or shutdown with LUKS root

2016-05-27 Thread Ian
Reboots now hang indefinitely with the laptop user. Any update on this?

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

Title:
  timeout on restart or shutdown with LUKS root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1554795/+subscriptions

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


[Bug 1554795] Re: timeout on restart or shutdown with LUKS root

2016-05-20 Thread Ian
Are there any workarounds for this for already installed Ubuntu
installs?

I have a laptop user that is  having 3+ minute shutdowns for this LUKS
timeout issue.

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

Title:
  timeout on restart or shutdown with LUKS root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1554795/+subscriptions

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


[Bug 1554795] Re: timeout on restart or shutdown with LUKS root

2016-04-08 Thread Alberto Salvia Novella
** Changed in: systemd (Ubuntu)
   Importance: Undecided => High

** Changed in: initramfs-tools (Ubuntu)
   Importance: Undecided => High

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

Title:
  timeout on restart or shutdown with LUKS root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1554795/+subscriptions

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


[Bug 1554795] Re: timeout on restart or shutdown with LUKS root

2016-03-22 Thread Mason Loring Bliss
I'm going to open a seperate ticket for the typo/cosmetic issues noted,
so that this ticket can focus on the core. I'll note the ticket number
here once I've created it, which I'll do on the other side of my
commute.

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

Title:
  timeout on restart or shutdown with LUKS root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1554795/+subscriptions

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


[Bug 1554795] Re: timeout on restart or shutdown with LUKS root

2016-03-22 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: systemd (Ubuntu)
   Status: New => Confirmed

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

Title:
  timeout on restart or shutdown with LUKS root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1554795/+subscriptions

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


[Bug 1554795] Re: timeout on restart or shutdown with LUKS root

2016-03-22 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: initramfs-tools (Ubuntu)
   Status: New => Confirmed

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

Title:
  timeout on restart or shutdown with LUKS root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1554795/+subscriptions

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


[Bug 1554795] Re: timeout on restart or shutdown with LUKS root

2016-03-22 Thread Mason Loring Bliss
In addition to the typo, there may be an issue where the new setting I
poked in is used, but the hardcoded default is still displayed on-
screen. I've not been able to capture this on camera as yet, and I have
yet to set things up such that all the generated messages are stored for
later perusal, if that's in fact possible.

The lack of a shutdown-initrd seems to be the more critical issue, in
any event. The typos and possible erroneously displayed data on-screen
are cosmetic.

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

Title:
  timeout on restart or shutdown with LUKS root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1554795/+subscriptions

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


Re: [Bug 1554795] Re: timeout on restart or shutdown with LUKS root

2016-03-22 Thread Seth Arnold
On Sun, Mar 20, 2016 at 08:09:56AM -, Mason Loring Bliss wrote:
> I just managed to time it right such that I caught the error on my
> screen, and in doing to noticed a glaring typo that's likely indicative
> of the overall code quality of the related software.

The typo looks like an easy fix:

https://github.com/systemd/systemd/blob/da9a4daa08f84db68f7620d2e926690542c31689/src/core/job.c#L648

Thanks

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

Title:
  timeout on restart or shutdown with LUKS root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1554795/+subscriptions

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


[Bug 1554795] Re: timeout on restart or shutdown with LUKS root

2016-03-21 Thread Mason Loring Bliss
I just confirmed that I see this on a laptop as well. Conveniently, the
laptop install is not using MD-RAID or ZFS - it's using LVM on LUKS on a
single disk, so it's a simpler case.

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

Title:
  timeout on restart or shutdown with LUKS root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1554795/+subscriptions

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


[Bug 1554795] Re: timeout on restart or shutdown with LUKS root

2016-03-20 Thread Mason Loring Bliss
Assuming this isn't fixed any time soon, I'm running with this:

mason@ogre /home/mason$ cat /etc/systemd/system.conf.d/expletive.conf 
# required singleton - high ceremony
[Manager]
#DefaultTimeoutStartSec=15s
DefaultTimeoutStopSec=15s

Note that while "Manager" is evidently the only possible section, declaring it 
is required, even for what would
otherwise be presumed to be config snippets in a system.conf.d/ directory.

To clarify previous notes:

1. I don't blame Canonical for systemd.
2. md1_crypt is swap and EXT4 /  → LVM → LUKS → MD-RAID1
3. luksroot1 and luksroot2 are /home and /usr/src → ZFS mirror on two LUKS

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

Title:
  timeout on restart or shutdown with LUKS root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1554795/+subscriptions

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

[Bug 1554795] Re: timeout on restart or shutdown with LUKS root

2016-03-20 Thread Mason Loring Bliss
I just managed to time it right such that I caught the error on my
screen, and in doing to noticed a glaring typo that's likely indicative
of the overall code quality of the related software.

I'd be grateful for debugging tips. I hope Canonical's not going to ship
software that punishes LUKS users with these 90-second delays each
reboot or shutdown. I'd settle for having a way to shorten the timeout,
but systemd seems hopelessly opaque and I haven't found where this is
set as yet.

Anyway, thanks in advance for fixing this annoyance.

** Attachment added: "note careless typo in error message"
   
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1554795/+attachment/4605227/+files/IMG_20160320_040026.jpg

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

Title:
  timeout on restart or shutdown with LUKS root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1554795/+subscriptions

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


[Bug 1554795] Re: timeout on restart or shutdown with LUKS root

2016-03-08 Thread Mason Loring Bliss
** Also affects: initramfs-tools (Ubuntu)
   Importance: Undecided
   Status: New

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

Title:
  timeout on restart or shutdown with LUKS root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1554795/+subscriptions

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