-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Creating config failed (sysconfig-file not found). #801
Comments
I want to add, that as I could create the root config, so I was very surprised that the home config gave such a basic error. How could snapper create a root config, but not a home config? |
The error handling looks incorrect and the command used. Try |
@aschnell Thank you very much. I guess my brain was on idle while I read the first few lines of the man page (and I did read them ... several times). I guess the words just did not land (from the man page): So, I got the create-config, but not the --config part of the command. My bad. Thanks for the pointer: it works. Now to find out how snapper will make snapshots on a regular basis! Next phase!! |
When starting on my snapper adventure, I could successfully create the config for root, but subsequently creating one for the subvolume home does not work (see copy of statements) :
gbonnema ~ sudo snapper create-config / gbonnema ~ sudo snapper create-config /home Creating config failed (sysconfig-file not found). gbonnema ~ sudo vim /etc/sysconfig/snapper gbonnema ~ sudo snapper list-configs Config | Subvolume -------+---------- root | / gbonnema ~ sudo snapper create-config /home Creating config failed (sysconfig-file not found).
Below other statements that do work and show the current structure:
` gbonnema ~ sudo ls -l /etc/snapper/configs
total 4
-rw-r--r--+ 1 root root 1203 Apr 9 07:51 root
gbonnema ~ sudo ls -l /etc/sysconfig/snapper
-rw-r--r--+ 1 root root 125 Apr 9 07:51 /etc/sysconfig/snapper
gbonnema ~ sudo cat /etc/sysconfig/snapper
Path: System/Snapper
Type: string
Default: ""
List of snapper configurations.
SNAPPER_CONFIGS="root"
gbonnema ~ sudo btrfs subvol list /home
ID 256 gen 2438008 top level 5 path home
ID 257 gen 2438008 top level 5 path root
ID 262 gen 2437862 top level 257 path root/var/lib/machines
ID 887 gen 2437890 top level 256 path gbonnema/.local/share/Steam
ID 890 gen 2437948 top level 257 path root/.snapshots
gbonnema ~ sudo snapper list-configs
Config | Subvolume
-------+----------
root | /
gbonnema ~
`
I checked out an issue that appears solved, but to no avail (#733). Maybe I missed something in there? I am a new user for this utility, so the solution may be facedroppingly simple.
Guus.
The text was updated successfully, but these errors were encountered: