initramfs-tools/scripts/local-bottom/clevis: ps: invalid option -- 'o'
Bug #2065149 reported by
Benjamin Drung
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
clevis (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
As seen on Ubuntu 24.04 (noble) in the logs of bug #2065037:
```
+ /scripts/
ps: invalid option -- 'o'
BusyBox v1.36.1 (Ubuntu 1:1.36.1-6ubuntu3) multi-call binary.
Usage: ps
Show list of processes
w Wide output
l Long output
```
busybox does not have the -o option on ps. Please make it work with busybox.
To post a comment you must log in.
Please be aware, not sure if relevant, that I applied a fix in attempt to speedup the boot time.
As we discussed, this was mainly due to DHCPCD, but before we got to that conclusion I had attempted to apply the fix described here (a few days ago): /github. com/latchset/ clevis/ issues/ 289#issuecommen t-1322633750
https:/
Specifically adding `--connect-timeout 15` to the `curl` command like this in `/usr/bin/ clevis- decrypt- tang`:
`if ! rep="$(curl --connect-timeout 15 -sfg -X POST -H "$ct" --data-binary @- "$rec_url" <<< "$xfr")"; then
`
I also attempted to fix `/usr/bin/ clevis- encrypt- tang`:
`elif ! jws="$(curl --connect-timeout 15 -sfg "$url/adv/$thp")"; then`
And `/usr/bin/ clevis- luks-report` :
`if ! jws="$(curl --connect-timeout 15 -sfg "${url}/adv")"; then`
(I don't know if this is relevant for this issue, but I just post it in case it might be, because it's best if you know all the Details rather than losing time hunting ghosts)