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)
- syslog service should be restarted after hostname is set by net-15-hostname
- Non-systemd based Debians don't periodically recontextualize on vCenter
- FreeBSD doesn't periodically recontextualize on vCenter
- growpart does not work if local is not english
- Merge/drop pending PRs in addon-context HOT 1
- Solve/Close some issues in addon-context-linux HOT 1
- Allow user to disable automatic Swap mounting HOT 1
- Any long running process started by `START_SCRIPT` will block OS boot HOT 1
- `GROW_ROOTFS` fails when rootfs is btrfs (e.g. Fedora 35) HOT 1
- Add EL9 support
- Option to add static routes to the network contextualization HOT 1
- Automatically add static route for onegate-proxy HOT 2
- Drop testing/rolling releases
- Document keepalived notify script
- Disk Resize might break FreeBSD HOT 1
- Fedora random boot freeze, Fedora 38 pending HOT 3
- 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
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.