[Bug 807842] New: yast2-snapper does not work
https://bugzilla.novell.com/show_bug.cgi?id=807842 https://bugzilla.novell.com/show_bug.cgi?id=807842#c0 Summary: yast2-snapper does not work Classification: openSUSE Product: openSUSE 12.3 Version: RC 2 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: wstephenson@suse.com QAContact: jsrain@suse.com Found By: Development Blocker: --- Aborts with "Failed to initialize snapper library: Configuration not found." on a newly installed system. It's looking for /etc/snapper/configs/root 2013-03-06 17:36:26 <1> linux-zcqx.site(2125) [YCP] Progress.ycp:401 Progress::New(Initializing Snapper, 2, ["Read the list of snapshots"]) 2013-03-06 17:36:26 <1> linux-zcqx.site(2125) [YCP] Progress.ycp:490 No progress icons defined 2013-03-06 17:36:26 <1> linux-zcqx.site(2125) [libsnapper] Snapper.cc(getConfigs):202 Snapper get-configs 2013-03-06 17:36:26 <1> linux-zcqx.site(2125) [libsnapper] Snapper.cc(getConfigs):203 libsnapper version 0.1.2 2013-03-06 17:36:26 <1> linux-zcqx.site(2125) [libsnapper] AsciiFile.cc(reload):114 loading file /etc/sysconfig/snapper 2013-03-06 17:36:26 <1> linux-zcqx.site(2125) [libsnapper] AsciiFile.cc(getValue):208 key:SNAPPER_CONFIGS value: 2013-03-06 17:36:26 <1> linux-zcqx.site(2125) [libsnapper] Snapper.cc(Snapper):54 Snapper constructor 2013-03-06 17:36:26 <1> linux-zcqx.site(2125) [libsnapper] Snapper.cc(Snapper):55 libsnapper version 0.1.2 2013-03-06 17:36:26 <1> linux-zcqx.site(2125) [libsnapper] Snapper.cc(Snapper):56 config_name:root disable_filters:false 2013-03-06 17:36:26 <1> linux-zcqx.site(2125) [libsnapper] AsciiFile.cc(reload):114 loading file /etc/snapper/configs/root 2013-03-06 17:36:26 <2> linux-zcqx.site(2125) [libsnapper] AsciiFile.cc(AsciiFileReader):66 open for '/etc/snapper/configs/root' failed 2013-03-06 17:36:26 <3> linux-zcqx.site(2125) [agent-snapper] SnapperAgent.cc(Execute):397 Config not found. 2013-03-06 17:36:26 <2> linux-zcqx.site(2125) [YCP] Snapper.ycp:239 init failed with '$["type":"config_not_found"]' 2013-03-06 17:36:26 <3> linux-zcqx.site(2125) [YCP] Report.ycp:544 Failed to initialize snapper library: Configuration not found. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807842 https://bugzilla.novell.com/show_bug.cgi?id=807842#c1 Jon Nelson <jnelson-suse@jamponi.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jnelson-suse@jamponi.net --- Comment #1 from Jon Nelson <jnelson-suse@jamponi.net> 2013-03-12 01:18:52 UTC --- i can report similar: worklaptop:/etc # snapper list-configs Config | Subvolume -------+---------- worklaptop:/etc # snapper create-config / Creating config failed (config already exists). worklaptop:/etc # <edit /etc/sysconfig/snapper here to remove 'root' from "SNAPPER_CONFIGS"> worklaptop:/etc # snapper create-config / worklaptop:/etc # snapper list-configs Config | Subvolume -------+---------- root | / worklaptop:/etc # Now /etc/sysconfig/snapper has SNAPPER_CONFIGS="root" (again). It's not a horrible workaround, but the /etc/sysconfig file should really be advisory - the files in /etc/snapper/configs should be canonical. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807842 https://bugzilla.novell.com/show_bug.cgi?id=807842#c2 Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |aschnell@suse.com InfoProvider| |wstephenson@suse.com AssignedTo|bnc-team-screening@forge.pr |aschnell@suse.com |ovo.novell.com | --- Comment #2 from Arvin Schnell <aschnell@suse.com> 2013-03-20 16:05:46 UTC --- Snapper works for me after installing openSUSE 12.3 GM with root on btrfs. Will, do you have logs from the installation? Jon, how did you get into that situation? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807842 https://bugzilla.novell.com/show_bug.cgi?id=807842#c3 Jon Nelson <jnelson-suse@jamponi.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|wstephenson@suse.com | --- Comment #3 from Jon Nelson <jnelson-suse@jamponi.net> 2013-03-20 16:25:51 UTC --- I have no idea how it got that way. This was a new install of 12.2 at the time, and I probably converted from ext4 to btrfs via btrfs-convert (using a rescue disk). However, I still feel that the comments in comment #1 are valid. Why bother with an /etc/sysconfig at all when it's pretty easy to list the files in /etc/snapper/configs/ - having the same information in two places, especially when a difference in them seems to cause these issues, seems fragile (in addition to being unnecessary). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807842 https://bugzilla.novell.com/show_bug.cgi?id=807842#c Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |wstephenson@suse.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807842 https://bugzilla.novell.com/show_bug.cgi?id=807842#c Alberto Planas Dominguez <aplanas@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| | GOLD -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807842 https://bugzilla.novell.com/show_bug.cgi?id=807842#c4 Peter Linnell <plinnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |plinnell@suse.com --- Comment #4 from Peter Linnell <plinnell@suse.com> 2013-10-15 17:22:48 UTC --- I'm seeing a similar issue with 13.1 RC1: yast2 snapper YaST got signal 11 at YCP file /usr/share/YaST2/modules/Snapper.rb:181 /sbin/yast2: line 375: 65033 Segmentation fault $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807842 https://bugzilla.novell.com/show_bug.cgi?id=807842#c5 A E <airstrip1@ml1.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |airstrip1@ml1.net --- Comment #5 from A E <airstrip1@ml1.net> 2013-10-15 19:06:30 UTC --- I can confirm Peter Linnell's issue. Running OpenSuSE 13.1 RC1 under VirtualBox 4.2.16 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807842 https://bugzilla.novell.com/show_bug.cgi?id=807842#c6 Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|wstephenson@suse.com | Resolution| |NORESPONSE --- Comment #6 from Arvin Schnell <aschnell@suse.com> 2013-10-16 08:24:06 UTC --- The last two comments are a completely different issue (see bug #845618). I better close this one before more people find it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com