You are not logged in.

#1 2022-11-22 11:58:37

dcy3rka
Member
Registered: 2022-01-19
Posts: 52

[SOLVED] Random characters in /proc/cmdline

Since some days (I don't know when it starts) my

cat /proc/cmdline

shows some random characters after the kernel parameters. Because of that, salt is bricked and gives an error:

ValueError: No closing quotation

I downgraded some packages (linux, systemd, mkinitcpio), but nothing helps. I'm using systemd-boot.

What is exactly generating the /proc/cmdline?

Last edited by dcy3rka (2022-11-22 12:15:58)

Offline

#2 2022-11-22 12:03:02

seth
Member
Registered: 2012-09-03
Posts: 58,133

Offline

#3 2022-11-22 12:15:37

dcy3rka
Member
Registered: 2022-01-19
Posts: 52

Re: [SOLVED] Random characters in /proc/cmdline

Thanks for the fast answer!!

I used the following workaround to temporarly fix this issue:
* changed "grep" to "grep -a" in /usr/bin/mkinitcpio line 364
* dd if=/dev/zero bs=1 count=1 >> /etc/kernel/cmdline

Offline

Board footer

Powered by FluxBB