[Bug]: First login without internet: sed: -e expression #1, char 0: no previous regular expression
What happened?
When booting for the first time without internet, sed error is printed on the welcome screen:
Generating locales: en_US.UTF-8
_ _ _ _ _
/_\ _ _ _ __ | |__(_)__ _ _ _ __ ___ _ __ _ __ _ _ _ _ (_) |_ _ _
/ _ \| '_| ' \| '_ \ / _` | ' \ / _/ _ \ ' \| ' \ || | ' \| | _| || |
/_/ \_\_| |_|_|_|_.__/_\__,_|_||_|_\__\___/_|_|_|_|_|_\_,_|_||_|_|\__|\_, |
|___| |__/
v25.8 rolling for radxa cubie a5e running Armbian Linux 6.14.0-rc1-dev-sun55iw3
Packages: Debian stable (bookworm)
Updates: Kernel upgrade enabled and 2 packages available for upgrade
Support: for advanced users (rolling release)
sed: -e expression #1, char 0: no previous regular expression
Performance:
Load: 6% Uptime: 17 min
Memory usage: 7% of 1.93G
CPU temp: 54°C Usage of /: 15% of 6.7G
Commands:
Configuration : armbian-config
Upgrade : armbian-upgrade
Monitoring : htop
How to reproduce?
- Flash fresh Armbian
- Bring down internet access
- Log in for the first time
- Error printed
When logging for the second time - no error
Branch
main (main development branch)
On which host OS are you running the build script and observing this problem?
Debian 12 Bookworm
Are you building on Windows WSL2?
- [ ] Yes, my Ubuntu/Debian/OtherOS is running on WSL2
Relevant log URL
No response
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Jira ticket: AR-2710
Using Jun 26's Sid_vendor_server-kali
Debian Sid nor this hardware are supported, so this is more like an uncharted territory with unfinished software support. However this bug was noticed also elsewhere and I think we need to rewrite /etc/update-motd.d/10-armbian-header
https://github.com/armbian/build/blob/main/packages/bsp/common/etc/update-motd.d/10-armbian-header#L195-L226
This error pops up if IP is not recognized / not recognized fast enough.
I'm caught in a login loop where I can't confirm the root password
This must be related to some package missing or its broken in the Sid package repository. As sid packages are in alfa state, chasing bugs here is doing (endless and pointless) upstream job ... which is not something we will ever be able to do. This is Debian's / Ubuntu's package maintainers job.