Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#21256 - [initscripts] crypt: needs to probe partition table

Attached to Project: Arch Linux
Opened by Joe Lightning (ZKDLBNHX) - Thursday, 14 October 2010, 19:33 GMT
Last edited by Tom Gundersen (tomegun) - Thursday, 23 June 2011, 14:33 GMT
Task Type Bug Report
Category Arch Projects
Status Closed
Assigned To Thomas Bächler (brain0)
Tom Gundersen (tomegun)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: I've found a bug in /etc/rc.sysinit.

It doesn't probe partition tables after activating encrypted devices, so if you have a partition table on top of an encrypted block device it cannot use it.

fix:

partprobe /dev/mapper/<device>

Before the fsck stage.

This task depends upon

Closed by  Tom Gundersen (tomegun)
Thursday, 23 June 2011, 14:33 GMT
Reason for closing:  No response
Additional comments about closing:  If anyone can still reproduce this, please reopen.
Comment by Jan de Groot (JGC) - Thursday, 14 October 2010, 21:20 GMT
That would make initscripts depend on parted...
Comment by Gerardo Exequiel Pozzi (djgera) - Thursday, 14 October 2010, 23:22 GMT
  • Field changed: Summary (initscript partition bug → [initscripts] encrypted partition bug)
  • Field changed: Details
  • Field changed: Status (Unconfirmed → Assigned)
  • Task assigned to Thomas Bächler (brain0)
I guess can use "blockdev --rereadpt /dev/mapper/<device>" that is from util-linux-ng ;)
Comment by Tom Gundersen (tomegun) - Tuesday, 26 April 2011, 14:44 GMT
@Joe:

I'm looking into this now. My immediate reaction was that surely this is a job for udev/kernel, that's why I have not yet added Gerardo's fix.

Could you confirm that this still is a problem with the newest kernel/udev?

Do you happen to have a reference to how others have solved this? In particular I would be interested in what Debian does, if you know it.
Comment by Tom Gundersen (tomegun) - Sunday, 08 May 2011, 21:47 GMT
Anyone still seeing this? I would really rather not add a fix if the problem is gone... Intending to release next initscripts next week so would be good to have resolved this before then.

Loading...