Comments (2)
On a second thought - preventing the deletion of wtmp
and btmp
files will record the current active session - which is not desired... and on reboot these files are recreated so last
command starts working again...
I will close this as non-bug after a feedback from the sponsor.
from addon-context-linux.
IMHO
This was not an actual error to be fixed - the behavior is correct as is - upon running the onesysprep command the aforementioned files are deleted, the system then should be power-offed and image saved.
Upon a reboot these files are correctly recreated and last command functions correctly.
If this workaround would be merged then it would leave the last session before power-off baked in the image and therefore it would not be properly cleaned up.
It can be reopened if it really does help on some systems which do fail to create these files on reboot.
from addon-context-linux.
Related Issues (20)
- Add EL9 support
- Debian 12 has issue on boot with `systemd-networkd-wait-online`
- Live VCPU resize does not enable the new cores inside the VM HOT 1
- Improve Default Gateway selection when dual NICs HOT 1
- Growfs fails on Debian 11 with btrfs
- Option to add static routes to the network contextualization HOT 1
- Handle network services
- Automatically add static route for onegate-proxy HOT 2
- El8/El9 sometimes fails to contextualize network using NetworkManager HOT 2
- context fails to detect newly attached disk
- Drop testing/rolling releases
- Document keepalived notify script
- Disk Resize might break FreeBSD HOT 1
- Fedora random boot freeze, Fedora 38 pending HOT 3
- CONTEXT->SSH_PUBLIC_KEY set via updateconf API call causes VM template vs authorized_keys discrepancy
- Setting SECURETTY=YES in the context does not appear to work to enable the console
- Add static routes HOT 1
- Deb package depends ifupdown or ifupdown2 even if netplan is installed instead HOT 2
- AlmaLinux 9 and Opennebula 6.4.x HOT 2
- Upgrading Ubuntu 2204 marketplace appliance causes slow boot
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from addon-context-linux.