Hi guys, i needed to edit /usr/share/containers/containers.conf so for some reason i have done sudo ostree admin unlock --hotfix, now how if i check the status i get:
I have done sudo ostree admin --help and it give me:
Builtin "admin" Commands:
cleanup Delete untagged deployments and repository objects
config-diff Diff current /etc configuration versus default
deploy Checkout revision REFSPEC as the new default deployment
lock-finalization Change the finalization locking state of the staged deployment
init-fs Initialize a root filesystem
os-init Initialize empty state for given operating system
stateroot-init Initialize empty state for given operating system
pin Change the "pinning" state of a deployment, INDEX can be >= 0 or one of booted, pending or rollback strings
post-copy Update the repo and deployments as needed after a copy
set-origin Set Origin and create a new origin file
status List deployments
switch Construct new tree from REFSPEC and deploy it
undeploy Delete deployment INDEX
set-default Make deployment INDEX the default
unlock Make the current deployment mutable (as a hotfix or development)
upgrade Construct new tree from current origin and deploy it, if it changed
kargs Change kernel arguments
I think is the lock-finalization that i should do? I have tryed with that byt i get error: No staged deployment
Doing an update or a rollback to a previous deployment should do it. As others said, you should copy the file in /etc and edit it there instead of modifying files in /usr.