|
Bugzilla – Full Text Bug Listing |
| Summary: | yast2 snapper fails if root config is unavailable but other configs are | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 12.1 | Reporter: | Arvin Schnell <aschnell> |
| Component: | YaST2 | Assignee: | Jiří Suchomel <jsuchome> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | aschnell, jamesrome |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Customer | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Arvin Schnell
2011-11-21 11:26:44 UTC
Do you have a setup to test it?
I guess this patch should be enough:
--- Snapper.ycp (revision 66878)
+++ Snapper.ycp (working copy)
@@ -206,6 +206,10 @@
Report::Error (_("File /etc/sysconfig/snapper is not available."));
configs = [ "root" ];
}
+ if (!contains (configs, "root") && size (configs) > 0)
+ {
+ current_config = configs[0]:"root";
+ }
I don't have a full setup. After manually editing the configs and installing the patch it seems ok. It's relevant for SP2: created request id 16512 I wonder if it deserves update for 12.1. ... Maybe we should wait for other bugs to come and release a big patch? Not only is this all true, but I had tried to make / btrfs, and the install program told me not to because things would fail. So the configuration with root should NEVER be present! This is an autogenerated message for OBS integration: This bug (731687) was mentioned in https://build.opensuse.org/request/show/92881 Factory / yast2-snapper Fixed for Factory This is an autogenerated message for OBS integration: This bug (731687) was mentioned in https://build.opensuse.org/request/show/93493 12.1 / yast2-snapper |