bisdn / meta-switch Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
The switch from Yocto warrior to Yocto dunfell brought in a default wired config /lib/systemd/networkd/80-wired.network
, which configures DHCP on all interfaces starting with eth and en.
Since 80 is lower number than 99, it matches first, and thus always takes precedence before our 99-enp.network, preventing any intended management interface config from being applied.
Writing the root file system takes longer than any other step during the installation, but in the log it is not present at all and to the casual observer it looks like the system hangs for (depending on the platform) up to 3 minutes after "Writing superblocks and filesystem accounting information: done".
It seems unlikely that a NOS user would want an operating system upgrade to blow away the content of /home for them. For instance, it can be a rather unpleasant surprise if the home directories of their additional users (already preserved in /etc/passwd etc.) are suddenly gone.
There is a risk that the combined size of /home becomes too big for our backup/restore procedure. Something to consider.
On boot, the file /var/log/README
is created automatically by systemd as part of the 'legacy files'.
As we don't include systemd-doc, this symlink is broken.
The file causing this is tmpfiles.d/legacy.conf
from the systemd repo.
This is an upstream issue, which has been patched in Yocto >4.2 openembedded/openembedded-core@18d46e1 however, this change may itself be a problem.
It isn't clear to me whether that would stop systemd creating log directories at runtime in /var/log, or if it is limited to install time.
Another approach I have seen is: openembedded/openembedded-core@ac4c9f5#diff-17f6e12c28058e9bcbaddfa8ea71f60a3e16ca4b5e9a08bc67947f3ad9f7b575 which disables the legacy files creation.
When run without -d
, onie-bisdn-upgrade offers this warning:
Upgrading BISDN Linux to install-source: <URL> using Client-IP-cfg: dhcp! Please confirm system reboot: [y/N]
The reboot should be rather obvious when installing a new operating system. However, upgrading BISDN Linux will preserve files only if they are listed in /var/lib/opkg/info/*.conffiles
or /etc/default/{system,user}-backup.txt
. [1]
This is what onie-bisdn-upgrade should warn about.
$ onie-bisdn-upgrade -y http://repo.bisdn.de/pub/onie/accton-as4610/onie-bisdn-accton-as4610-v4.8.2.bin enp0
Configuration file wrong or corrupted
$ cat /etc/fw_env.config
# MTD device name Device offset Env. size Flash sector size
/dev/mtd2 0x00000000 0x00002000 0x00010000
This is a vanilla install from the 4.8.1 image.
The ofdpa-grpc server listens on port 50051, and this port is open on BOTH managment ports (named en**) and data ports (named port**).
This is a security issue, and port 50051 should be closed on all ports except managment ports.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.