[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#954413: "I: update-initramfs is disabled" due multiple mount points



Package: live-tools
Version: current/dev
Severity: normal

Dear Maintainer,



https://sources.debian.org/src/live-tools/1:20190831/bin/live-update-initramfs/#L28

Partition detection isn't necessary here, which leads to:
https://sources.debian.org/src/live-tools/1:20190831/bin/live-update-initramfs/#L42

If there are more than one mount point available, the last one will be remounted. If the last one isn't

`/run/live/medium`

will the test at

https://sources.debian.org/src/live-tools/1:20190831/bin/live-update-initramfs/#L32

fail. So remove line 28 change:

https://sources.debian.org/src/live-tools/1:20190831/bin/live-update-initramfs/#L30

to

`mount -o remount,rw /run/live/medium > /dev/null 2>&1 || true`

will fix this issue. Due security issues, a remount to read only should done after done work. 

Best regards 

Hasan H. Gürsoy 

Reply to: