Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1111385

Bug#1011284: popularity-contest: d/postinst: remove bash dependency, fix shellcheck

From наб <nabijaczleweli@nabijaczleweli.xyz>
Newsgroups linux.debian.bugs.dist
Subject Bug#1011284: popularity-contest: d/postinst: remove bash dependency, fix shellcheck
Date 2022-07-29 20:10 +0200
Message-ID <EOCAV-eF1P-9@gated-at.bofh.it> (permalink)
References <EoPWN-gxRQ-5@gated-at.bofh.it> <EOydX-eCms-7@gated-at.bofh.it> <EoPWN-gxRQ-5@gated-at.bofh.it> <EOydX-eCms-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi!

On Fri, Jul 29, 2022 at 03:25:12PM +0200, Bill Allombert wrote:
> There should be a provision to work on systems when /dev/urandom is not 
> available, as there is for MY_HOSTID.
It seemed like /dev/urandom was the universal fallback,
so I didn't write a fallback originally.

Attaching updated patchset, which tries:
  * /dev/urandom
  * uuidgen                      (as a hexadecimal number)
  * /proc/sys/kernel/random/uuid (likewise)
  * a constant

basenc is part of coreutils since 8.31 (bullseye),
so this should work on every system.

Best,
наб

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1011284: popularity-contest: d/postinst: remove bash dependency, fix shellcheck Bill Allombert <ballombe@debian.org> - 2022-07-29 15:30 +0200
  Bug#1011284: popularity-contest: d/postinst: remove bash dependency, fix shellcheck наб <nabijaczleweli@nabijaczleweli.xyz> - 2022-07-29 20:10 +0200
    Bug#1011284: popularity-contest: d/postinst: remove bash dependency, fix shellcheck наб <nabijaczleweli@nabijaczleweli.xyz> - 2022-08-01 13:50 +0200

csiph-web