Fix for:
systemd[1]: local-fs.target: Found ordering cycle on var-log.mount/start
systemd[1]: local-fs.target: Found dependency on local-fs-pre.target/start
systemd[1]: local-fs.target: Found dependency on systemd-tmpfiles-setup-dev.service/start
systemd[1]: local-fs.target: Found dependency on machine-id.service/start
systemd[1]: local-fs.target: Found dependency on local-fs.target/start
systemd[1]: local-fs.target: Job var-log.mount/start deleted to break ordering cycle starting with local-fs.target/start
Add support for neighbor commands to "ip".
Using ip neigh:
The ip neigh command provides information very similar to what you get
using arp. (The neigh option to the ip command can be spelled out as
"neighbor" or "neighbour" if you don't mind typing a few more letters.)
One of the reasons for using ip neigh in place of arp is that arp
is among a number of Linux commands that are now deprecated (not
recommended), and the net-tools package from which it derives is no
longer under active development. The newer ip commands should provide
the same basic information, but arp is still a popular tool because
of its many features.
Here is an example of the ip neigh command:
$ ip neigh
192.168.0.33 dev enp0s25 lladdr 7c:67:a2:cf:9f:ef REACHABLE
192.168.0.1 dev enp0s25 lladdr f8:8e:85:35:7f:b9 STALE
192.168.0.7 dev enp0s25 lladdr 20:ea:16:01:55:eb REACHABLE
192.168.0.23 dev enp0s25 FAILED
192.168.0.20 dev enp0s25 FAILED
192.168.0.14 dev enp0s25 lladdr 04:ed:33:7c:44:c6 STALE
192.168.0.8 dev enp0s25 FAILED
192.168.0.17 dev enp0s25 lladdr 00:25:00:4e:9e:35 STALE
192.168.0.15 dev enp0s25 lladdr 38:30:f9:29:f8:a4 STALE
192.168.0.13 dev enp0s25 lladdr 44:65:0d:43:ed:44 STALE
fe80::fa8e:85ff:fe35:7fb9 dev enp0s25 lladdr f8:8e:85:35:7f:b9 router STALE
FAILED indicates that the system could not be reached.
STALE indicates that the connection hasn't been recently verified.
The ip neigh command offers additional options as well. For example,
to add or remove an address from your arp table, you could use commands
like these:
$ sudo ip neigh add 192.168.0.21 dev emp0s25 add an entry
$ sudo ip neigh del 192.168.0.8 dev enp0s25 delete an entry
log:
- https://git.busybox.net/busybox/log/?h=1_36_stable
Bug fix release. 1.36.1 has fixes for line editing, detection of
hardware sha1/sha256 support, unzip (do not create suid/sgid files
unless -K), shell (printf and sleep with no args, handing of SIGINT
in sleep), ed.
release notes:
- https://busybox.net
For the logfiles share, the createlog script will create /storage/logfiles
before moving the zipped logs there.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
Only create a logfile for the previous boot if persistent journal
is being used.
Also applies some changes for shellcheck warnings:
`...` to $(...)
Verifying variable is set ${var:?} before rm'ing
Useless use of cat
Command grouping when the commands redirect to the same file
Use of == in [...]
[ test1 -a test2 ] to [ test1 ] && [ test2 ]
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
busybox:host installs two binaries into $TOOLCHAIN:
arch - the same as "uname -m"
cryptpw - generates password hashes - replaced with python
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
Python3's crypt module is capable of generating password hashes. Use that
instead of busybox:host's cryptpw function.
Move password hashing into config/function's add_user(), so one need not
remember to generate the hash and then pass it into add_user().
Signed-off-by: Ian Leonard <antonlacon@gmail.com>