[Touch-packages] [Bug 1983359] Re: hwrng drivers missing in initrd.img

2023-06-14 Thread Heinrich Schuchardt
** Description changed:

  [Impact]
  The initialization of the entropy buffer of the urandom device is critical 
for security.
  
  When booting Jammy 22.04.1 on QEMU riscv64 I see the following warnings:
  
  [   14.654546] random: lvm: uninitialized urandom read (4 bytes read)
  [   15.247995] random: lvm: uninitialized urandom read (2 bytes read)
  [   22.484719] random: lvm: uninitialized urandom read (4 bytes read)
  [   43.161846] random: lvmconfig: uninitialized urandom read (4 bytes read)
  [   48.862281] random: lvm: uninitialized urandom read (4 bytes read)
  
  Module virtio-rng.ko is missing in initrd.img.
  Adding virtio_rng to /etc/initramfs-tools/modules avoids the warnings.
  
  Hardware RNG drivers should generally be included in the initrd to
  provide early entropy.
  
  [Test case]
  
  * Update the initramfs-tools package.
- * Run update-initramfs with MODULES=most (defined in 
/etc/initramfs-tools/initramfs.conf or in /etc/initramfs-tools/conf.d/*.conf)
+ * Run 'update-initramfs -k $(uname -r) -u' with MODULES=most (defined in 
/etc/initramfs-tools/initramfs.conf or in /etc/initramfs-tools/conf.d/*.conf)
  * Unpack the initrd with 'unmkinitramfs /boot/initrd.img-$(uname -r)'
- * Check that main/lib/modules/$(uname -r)/kernel/drivers/char/hw_random/ 
exists and contains kernel modules. 
+ * Check that [main/]lib/modules/$(uname -r)/kernel/drivers/char/hw_random/ 
exists and contains kernel modules.
  
  [Where problems could occur]
  
  Adding more drivers increases the size of the initrd. The larger initrd
  might not fit onto the boot partition. The total size of hw_random
  drivers on amd64 is less than 150 KiB so this seem improbable.
  
  [Other Info]
  
  n/a

** Summary changed:

- hwrng drivers missing in initrd.img
+ [SRU] hwrng drivers missing in initrd.img

** Patch added: "Debdiff for Jammy"
   
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1983359/+attachment/5679603/+files/initramfs-tools-0.140ubuntu13.1..0.140ubuntu13.2.debdiff

** Changed in: initramfs-tools (Ubuntu Jammy)
 Assignee: (unassigned) => Heinrich Schuchardt (xypron)

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

** Changed in: initramfs-tools (Ubuntu Jammy)
 Assignee: Heinrich Schuchardt (xypron) => (unassigned)

** Changed in: initramfs-tools (Ubuntu Jammy)
 Assignee: (unassigned) => Heinrich Schuchardt (xypron)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1983359

Title:
  [SRU] hwrng drivers missing in initrd.img

Status in initramfs-tools package in Ubuntu:
  Fix Released
Status in initramfs-tools source package in Jammy:
  Confirmed
Status in initramfs-tools source package in Kinetic:
  Fix Released

Bug description:
  [Impact]
  The initialization of the entropy buffer of the urandom device is critical 
for security.

  When booting Jammy 22.04.1 on QEMU riscv64 I see the following
  warnings:

  [   14.654546] random: lvm: uninitialized urandom read (4 bytes read)
  [   15.247995] random: lvm: uninitialized urandom read (2 bytes read)
  [   22.484719] random: lvm: uninitialized urandom read (4 bytes read)
  [   43.161846] random: lvmconfig: uninitialized urandom read (4 bytes read)
  [   48.862281] random: lvm: uninitialized urandom read (4 bytes read)

  Module virtio-rng.ko is missing in initrd.img.
  Adding virtio_rng to /etc/initramfs-tools/modules avoids the warnings.

  Hardware RNG drivers should generally be included in the initrd to
  provide early entropy.

  [Test case]

  * Update the initramfs-tools package.
  * Run 'update-initramfs -k $(uname -r) -u' with MODULES=most (defined in 
/etc/initramfs-tools/initramfs.conf or in /etc/initramfs-tools/conf.d/*.conf)
  * Unpack the initrd with 'unmkinitramfs /boot/initrd.img-$(uname -r)'
  * Check that [main/]lib/modules/$(uname -r)/kernel/drivers/char/hw_random/ 
exists and contains kernel modules.

  [Where problems could occur]

  Adding more drivers increases the size of the initrd. The larger
  initrd might not fit onto the boot partition. The total size of
  hw_random drivers on amd64 is less than 150 KiB so this seem
  improbable.

  [Other Info]

  n/a

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1983359] Re: hwrng drivers missing in initrd.img

2023-06-14 Thread Heinrich Schuchardt
** Description changed:

  [Impact]
  The initialization of the entropy buffer of the urandom device is critical 
for security.
  
- [Test case]
  When booting Jammy 22.04.1 on QEMU riscv64 I see the following warnings:
  
  [   14.654546] random: lvm: uninitialized urandom read (4 bytes read)
  [   15.247995] random: lvm: uninitialized urandom read (2 bytes read)
  [   22.484719] random: lvm: uninitialized urandom read (4 bytes read)
  [   43.161846] random: lvmconfig: uninitialized urandom read (4 bytes read)
  [   48.862281] random: lvm: uninitialized urandom read (4 bytes read)
  
  Module virtio-rng.ko is missing in initrd.img.
  Adding virtio_rng to /etc/initramfs-tools/modules avoids the warnings.
  
  Hardware RNG drivers should generally be included in the initrd to
  provide early entropy.
  
- Best regards
+ [Test case]
  
- Heinrich
+ * Update the initramfs-tools package.
+ * Run update-initramfs with MODULES=most (defined in 
/etc/initramfs-tools/initramfs.conf or in /etc/initramfs-tools/conf.d/*.conf)
+ * Unpack the initrd with 'unmkinitramfs /boot/initrd.img-$(uname -r)'
+ * Check that main/lib/modules/$(uname -r)/kernel/drivers/char/hw_random/ 
exists and contains kernel modules. 
+ 
+ [Where problems could occur]
+ 
+ Adding more drivers increases the size of the initrd. The larger initrd
+ might not fit onto the boot partition. The total size of hw_random
+ drivers on amd64 is less than 150 KiB so this seem improbable.
+ 
+ [Other Info]
+ 
+ n/a

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1983359

Title:
  hwrng drivers missing in initrd.img

Status in initramfs-tools package in Ubuntu:
  Fix Released
Status in initramfs-tools source package in Jammy:
  Incomplete
Status in initramfs-tools source package in Kinetic:
  Fix Released

Bug description:
  [Impact]
  The initialization of the entropy buffer of the urandom device is critical 
for security.

  When booting Jammy 22.04.1 on QEMU riscv64 I see the following
  warnings:

  [   14.654546] random: lvm: uninitialized urandom read (4 bytes read)
  [   15.247995] random: lvm: uninitialized urandom read (2 bytes read)
  [   22.484719] random: lvm: uninitialized urandom read (4 bytes read)
  [   43.161846] random: lvmconfig: uninitialized urandom read (4 bytes read)
  [   48.862281] random: lvm: uninitialized urandom read (4 bytes read)

  Module virtio-rng.ko is missing in initrd.img.
  Adding virtio_rng to /etc/initramfs-tools/modules avoids the warnings.

  Hardware RNG drivers should generally be included in the initrd to
  provide early entropy.

  [Test case]

  * Update the initramfs-tools package.
  * Run update-initramfs with MODULES=most (defined in 
/etc/initramfs-tools/initramfs.conf or in /etc/initramfs-tools/conf.d/*.conf)
  * Unpack the initrd with 'unmkinitramfs /boot/initrd.img-$(uname -r)'
  * Check that main/lib/modules/$(uname -r)/kernel/drivers/char/hw_random/ 
exists and contains kernel modules. 

  [Where problems could occur]

  Adding more drivers increases the size of the initrd. The larger
  initrd might not fit onto the boot partition. The total size of
  hw_random drivers on amd64 is less than 150 KiB so this seem
  improbable.

  [Other Info]

  n/a

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1983359] Re: hwrng drivers missing in initrd.img

2023-06-05 Thread Steve Langasek
This needs the bug description completed according to
https://wiki.ubuntu.com/StableReleaseUpdates#SRU_Bug_Template ("Where
problems could occur") before it can be sponsored.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1983359

Title:
  hwrng drivers missing in initrd.img

Status in initramfs-tools package in Ubuntu:
  Fix Released
Status in initramfs-tools source package in Jammy:
  Incomplete
Status in initramfs-tools source package in Kinetic:
  Fix Released

Bug description:
  [Impact]
  The initialization of the entropy buffer of the urandom device is critical 
for security.

  [Test case]
  When booting Jammy 22.04.1 on QEMU riscv64 I see the following warnings:

  [   14.654546] random: lvm: uninitialized urandom read (4 bytes read)
  [   15.247995] random: lvm: uninitialized urandom read (2 bytes read)
  [   22.484719] random: lvm: uninitialized urandom read (4 bytes read)
  [   43.161846] random: lvmconfig: uninitialized urandom read (4 bytes read)
  [   48.862281] random: lvm: uninitialized urandom read (4 bytes read)

  Module virtio-rng.ko is missing in initrd.img.
  Adding virtio_rng to /etc/initramfs-tools/modules avoids the warnings.

  Hardware RNG drivers should generally be included in the initrd to
  provide early entropy.

  Best regards

  Heinrich

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1983359] Re: hwrng drivers missing in initrd.img

2023-06-05 Thread Steve Langasek
This needs the bug description completed according to
https://wiki.ubuntu.com/StableReleaseUpdates#SRU_Bug_Template ("Where
problems could occur") before it can be sponsored.

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

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1983359

Title:
  hwrng drivers missing in initrd.img

Status in initramfs-tools package in Ubuntu:
  Fix Released
Status in initramfs-tools source package in Jammy:
  Incomplete
Status in initramfs-tools source package in Kinetic:
  Fix Released

Bug description:
  [Impact]
  The initialization of the entropy buffer of the urandom device is critical 
for security.

  [Test case]
  When booting Jammy 22.04.1 on QEMU riscv64 I see the following warnings:

  [   14.654546] random: lvm: uninitialized urandom read (4 bytes read)
  [   15.247995] random: lvm: uninitialized urandom read (2 bytes read)
  [   22.484719] random: lvm: uninitialized urandom read (4 bytes read)
  [   43.161846] random: lvmconfig: uninitialized urandom read (4 bytes read)
  [   48.862281] random: lvm: uninitialized urandom read (4 bytes read)

  Module virtio-rng.ko is missing in initrd.img.
  Adding virtio_rng to /etc/initramfs-tools/modules avoids the warnings.

  Hardware RNG drivers should generally be included in the initrd to
  provide early entropy.

  Best regards

  Heinrich

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1983359] Re: hwrng drivers missing in initrd.img

2023-05-30 Thread Steve Langasek
** Tags removed: rls-kk-incoming

** Also affects: initramfs-tools (Ubuntu Kinetic)
   Importance: Undecided
   Status: New

** Changed in: initramfs-tools (Ubuntu Kinetic)
   Status: New => Fix Released

** Description changed:

- The initialization of the entropy buffer of the urandom device is
- critical for security.
+ [Impact]
+ The initialization of the entropy buffer of the urandom device is critical 
for security.
  
+ [Test case]
  When booting Jammy 22.04.1 on QEMU riscv64 I see the following warnings:
  
  [   14.654546] random: lvm: uninitialized urandom read (4 bytes read)
  [   15.247995] random: lvm: uninitialized urandom read (2 bytes read)
  [   22.484719] random: lvm: uninitialized urandom read (4 bytes read)
  [   43.161846] random: lvmconfig: uninitialized urandom read (4 bytes read)
  [   48.862281] random: lvm: uninitialized urandom read (4 bytes read)
  
  Module virtio-rng.ko is missing in initrd.img.
  Adding virtio_rng to /etc/initramfs-tools/modules avoids the warnings.
  
  Hardware RNG drivers should generally be included in the initrd to
  provide early entropy.
  
  Best regards
  
  Heinrich

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1983359

Title:
  hwrng drivers missing in initrd.img

Status in initramfs-tools package in Ubuntu:
  Fix Released
Status in initramfs-tools source package in Jammy:
  New
Status in initramfs-tools source package in Kinetic:
  Fix Released

Bug description:
  [Impact]
  The initialization of the entropy buffer of the urandom device is critical 
for security.

  [Test case]
  When booting Jammy 22.04.1 on QEMU riscv64 I see the following warnings:

  [   14.654546] random: lvm: uninitialized urandom read (4 bytes read)
  [   15.247995] random: lvm: uninitialized urandom read (2 bytes read)
  [   22.484719] random: lvm: uninitialized urandom read (4 bytes read)
  [   43.161846] random: lvmconfig: uninitialized urandom read (4 bytes read)
  [   48.862281] random: lvm: uninitialized urandom read (4 bytes read)

  Module virtio-rng.ko is missing in initrd.img.
  Adding virtio_rng to /etc/initramfs-tools/modules avoids the warnings.

  Hardware RNG drivers should generally be included in the initrd to
  provide early entropy.

  Best regards

  Heinrich

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1983359] Re: hwrng drivers missing in initrd.img

2022-08-22 Thread Launchpad Bug Tracker
This bug was fixed in the package initramfs-tools - 0.140ubuntu16

---
initramfs-tools (0.140ubuntu16) kinetic; urgency=medium

  * Add char/hw_random drivers (LP: #1983359)

 -- Heinrich Schuchardt   Tue, 02 Aug
2022 22:54:09 +0200

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

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1983359

Title:
  hwrng drivers missing in initrd.img

Status in initramfs-tools package in Ubuntu:
  Fix Released
Status in initramfs-tools source package in Jammy:
  New

Bug description:
  The initialization of the entropy buffer of the urandom device is
  critical for security.

  When booting Jammy 22.04.1 on QEMU riscv64 I see the following
  warnings:

  [   14.654546] random: lvm: uninitialized urandom read (4 bytes read)
  [   15.247995] random: lvm: uninitialized urandom read (2 bytes read)
  [   22.484719] random: lvm: uninitialized urandom read (4 bytes read)
  [   43.161846] random: lvmconfig: uninitialized urandom read (4 bytes read)
  [   48.862281] random: lvm: uninitialized urandom read (4 bytes read)

  Module virtio-rng.ko is missing in initrd.img.
  Adding virtio_rng to /etc/initramfs-tools/modules avoids the warnings.

  Hardware RNG drivers should generally be included in the initrd to
  provide early entropy.

  Best regards

  Heinrich

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1983359] Re: hwrng drivers missing in initrd.img

2022-08-18 Thread Ubuntu Foundations Team Bug Bot
The attachment "initramfs-tools-0.140ubuntu14..0.140ubuntu15.debdiff"
seems to be a debdiff.  The ubuntu-sponsors team has been subscribed to
the bug report so that they can review and hopefully sponsor the
debdiff.  If the attachment isn't a patch, please remove the "patch"
flag from the attachment, remove the "patch" tag, and if you are member
of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1983359

Title:
  hwrng drivers missing in initrd.img

Status in initramfs-tools package in Ubuntu:
  Fix Committed
Status in initramfs-tools source package in Jammy:
  New

Bug description:
  The initialization of the entropy buffer of the urandom device is
  critical for security.

  When booting Jammy 22.04.1 on QEMU riscv64 I see the following
  warnings:

  [   14.654546] random: lvm: uninitialized urandom read (4 bytes read)
  [   15.247995] random: lvm: uninitialized urandom read (2 bytes read)
  [   22.484719] random: lvm: uninitialized urandom read (4 bytes read)
  [   43.161846] random: lvmconfig: uninitialized urandom read (4 bytes read)
  [   48.862281] random: lvm: uninitialized urandom read (4 bytes read)

  Module virtio-rng.ko is missing in initrd.img.
  Adding virtio_rng to /etc/initramfs-tools/modules avoids the warnings.

  Hardware RNG drivers should generally be included in the initrd to
  provide early entropy.

  Best regards

  Heinrich

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1983359] Re: hwrng drivers missing in initrd.img

2022-08-18 Thread Łukasz Zemczak
Sponsored for kinetic.

** Also affects: initramfs-tools (Ubuntu Jammy)
   Importance: Undecided
   Status: New

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

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1983359

Title:
  hwrng drivers missing in initrd.img

Status in initramfs-tools package in Ubuntu:
  Fix Committed
Status in initramfs-tools source package in Jammy:
  New

Bug description:
  The initialization of the entropy buffer of the urandom device is
  critical for security.

  When booting Jammy 22.04.1 on QEMU riscv64 I see the following
  warnings:

  [   14.654546] random: lvm: uninitialized urandom read (4 bytes read)
  [   15.247995] random: lvm: uninitialized urandom read (2 bytes read)
  [   22.484719] random: lvm: uninitialized urandom read (4 bytes read)
  [   43.161846] random: lvmconfig: uninitialized urandom read (4 bytes read)
  [   48.862281] random: lvm: uninitialized urandom read (4 bytes read)

  Module virtio-rng.ko is missing in initrd.img.
  Adding virtio_rng to /etc/initramfs-tools/modules avoids the warnings.

  Hardware RNG drivers should generally be included in the initrd to
  provide early entropy.

  Best regards

  Heinrich

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1983359] Re: hwrng drivers missing in initrd.img

2022-08-18 Thread Łukasz Zemczak
** Information type changed from Private Security to Public

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1983359

Title:
  hwrng drivers missing in initrd.img

Status in initramfs-tools package in Ubuntu:
  Confirmed

Bug description:
  The initialization of the entropy buffer of the urandom device is
  critical for security.

  When booting Jammy 22.04.1 on QEMU riscv64 I see the following
  warnings:

  [   14.654546] random: lvm: uninitialized urandom read (4 bytes read)
  [   15.247995] random: lvm: uninitialized urandom read (2 bytes read)
  [   22.484719] random: lvm: uninitialized urandom read (4 bytes read)
  [   43.161846] random: lvmconfig: uninitialized urandom read (4 bytes read)
  [   48.862281] random: lvm: uninitialized urandom read (4 bytes read)

  Module virtio-rng.ko is missing in initrd.img.
  Adding virtio_rng to /etc/initramfs-tools/modules avoids the warnings.

  Hardware RNG drivers should generally be included in the initrd to
  provide early entropy.

  Best regards

  Heinrich

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp