Description
What happened?
sysadmin@orangepione:~$ sudo armbian-config
[sudo] password for sysadmin:
The current Armbian 25.02.0-trunk user-built (bookworm) is supported.
Loaded Runtime variables...
Loaded Dialog...
Loaded Docs...
Loaded System helpers...
Loaded Network helpers...
Loaded Software helpers...
Loaded Runtime conditions...
Used Network - Basic - select adapter - Configure - Spoof - Set ip . I think I entered an invalid route ip and after entering the a gateway ip I cancelled out. Following is the session crash on cancelling. The system was still operational via the serial port but this ssh login session was unresponsive.
(process:2032): GLib-GIO-CRITICAL **: 11:59:10.745: g_file_new_for_path: assertion 'path != NU LL' failed
(process:2032): GLib-GIO-CRITICAL **: 11:59:10.745: g_file_read: assertion 'G_IS_FILE (file)' failed
(process:2032): GLib-GIO-CRITICAL **: 11:59:10.745: g_data_input_stream_new: assertion 'G_IS_I NPUT_STREAM (base_stream)' failed
(process:2032): GLib-GObject-CRITICAL **: 11:59:10.746: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(process:2032): GLib-GIO-CRITICAL **: 11:59:10.746: g_data_input_stream_read_line: assertion ' G_IS_DATA_INPUT_STREAM (stream)' failed
(process:2032): GLib-GIO-CRITICAL **: 11:59:10.746: g_data_input_stream_read_line: assertion ' G_IS_DATA_INPUT_STREAM (stream)' failed
(process:2032): GLib-GIO-CRITICAL **: 11:59:10.746: g_data_input_stream_read_line: assertion ' G_IS_DATA_INPUT_STREAM (stream)' failed
(process:2032): GLib-GIO-CRITICAL **: 11:59:10.746: g_data_input_stream_read_line: assertion ' G_IS_DATA_INPUT_STREAM (stream)' failed
(process:2032): GLib-GIO-CRITICAL **: 11:59:10.746: g_data_input_stream_read_line: assertion ' G_IS_DATA_INPUT_STREAM (stream)' failed
(process:2032): GLib-GIO-CRITICAL **: 11:59:10.746: g_data_input_stream_read_line: assertion ' G_IS_DATA_INPUT_STREAM (stream)' failed
(process:2032): GLib-GObject-CRITICAL **: 11:59:10.746: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(process:2032): GLib-GObject-CRITICAL **: 11:59:10.746: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Traceback (most recent call last):
File "/usr/sbin/netplan", line 23, in
netplan.main()
File "/usr/share/netplan/netplan/cli/core.py", line 50, in main
self.run_command()
File "/usr/share/netplan/netplan/cli/utils.py", line 241, in run_command
self.func()
File "/usr/share/netplan/netplan/cli/commands/set.py", line 50, in run
self.run_command()
File "/usr/share/netplan/netplan/cli/utils.py", line 241, in run_command
self.func()
File "/usr/share/netplan/netplan/cli/commands/set.py", line 85, in command_set
parser.load_yaml(tmp)
File "/usr/share/netplan/netplan/libnetplan.py", line 119, in load_yaml
_checked_lib_call(lib.netplan_parser_load_yaml_from_fd, self._ptr, input_file.fileno())
File "/usr/share/netplan/netplan/libnetplan.py", line 79, in _checked_lib_call
raise LibNetplanException(err.contents.message.decode('utf-8'))
netplan.libnetplan.LibNetplanException: (null):6:16: Error in network definition: invalid IP f amily '-1'
(null)
^
How to reproduce?
armbian-config
Network
Basic Network Setup
Select interface
Configure
Static Set IP Manually
Spoof (left default)
Enter IP (192.168.1.12/24)
Use default route (left default)
Enter IP for gateway (entered 192.168.1.2, which I think exists on another device)
Enter DNS server (used cancel at this point)
This time it did not crash but generated the following messages.
** (process:5586): WARNING **: 14:05:43.678: Problem encountered while validating default route consistency.Please set up multiple routing tables and use routing-policy
instead.
Error: Conflicting default route declarations for IPv4 (table: main, metric: 200), first declared in end0 but also in end0
** (process:5586): WARNING **: 14:05:43.681: Problem encountered while validating default route consistency.Please set up multiple routing tables and use routing-policy
instead.
Error: Conflicting default route declarations for IPv4 (table: main, metric: 200), first declared in end0 but also in end0
Now armbian-config no longer starts, even after a reboot and from the root account.
Problem with armbianmonitor also
root@orangepione:# armbian-config# armbianmonitor -u
^Croot@orangepione:
Collecting info and sending to paste.armbian.com, wait...
Failed grabbing info (pipe 3 result 28) and sending to server paste.armbian.com.
Collecting info and sending to paste.next.armbian.com, wait...
I might have to generate a new sd image???
On which OS are you observing this problem? (for easier diagnosis please provide logs with armbianmonitor -u
)
Armbian Debian 12 Bookworm
Code of Conduct
- I agree to follow this project's Code of Conduct