[Bug 209119] New: Unable to stat '/etc/YaST2/ProductFeatures': No such file or directory
https://bugzilla.novell.com/show_bug.cgi?id=209119 Summary: Unable to stat '/etc/YaST2/ProductFeatures': No such file or directory Product: openSUSE 10.2 Version: Alpha 4 plus Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Installation AssignedTo: yast2-maintainers@suse.de ReportedBy: aj@novell.com QAContact: jsrain@novell.com /mnt/var/log/YaST2/y2log contains at the end of installation the above message text. This looks like a bug to me. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=209119 ------- Comment #1 from aj@novell.com 2006-09-29 09:50 MST ------- Created an attachment (id=99951) --> (https://bugzilla.novell.com/attachment.cgi?id=99951&action=view) logfiles from /mnt/var/log/YaST2 -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=209119 fehr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|yast2-maintainers@suse.de |locilka@novell.com ------- Comment #2 from fehr@novell.com 2006-10-04 05:34 MST ------- Reassigfned to maintainer of yast2-installation. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=209119 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |aj@novell.com ------- Comment #3 from locilka@novell.com 2006-10-05 11:42 MST ------- Andreas, isn't there any other YaST log file? I don't know where this comes from and the logfile is pretty short. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=209119 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|aj@novell.com | ------- Comment #4 from aj@novell.com 2006-10-06 01:55 MST ------- Those are the logfiles from the chroot /mnt used by e.g. the bootloader - not the ones from /. Does this help? I'll try to reproduce and give you all logfiles. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=209119 ------- Comment #5 from aj@novell.com 2006-10-06 03:13 MST ------- Created an attachment (id=100683) --> (https://bugzilla.novell.com/attachment.cgi?id=100683&action=view) complete log files -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=209119 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsrain@novell.com ------- Comment #6 from locilka@novell.com 2006-10-09 03:25 MST ------- There is a 'inst_kickoff.ycp' in the yast2-packager (jsrain's). This client calls ProductFeatures::Save() (jsrain's module) function that should save the default Product Features to the /etc/YaST2/ProductFeatures file. You can see the same "missing file" error more than once in the y2logs. I'll try to debug (and fix) it because jsrain is not available. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=209119 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|locilka@novell.com |jsrain@novell.com Status|ASSIGNED |NEW ------- Comment #7 from locilka@novell.com 2006-10-11 01:44 MST ------- It seems to be kind of wrong handling that leads into reporting errors into log but it seems to be safe, The file ProductFeatures is written and used, when the file is not there, deafult values are used. Reassignng to be fixed by the maintainer. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=209119 ------- Comment #8 from locilka@novell.com 2006-10-12 03:38 MST ------- I tried to fix it but then I realized that it is nearly impossible :) The problem is, that * /etc/ is a read-only system in the installation system * Agent for ProductFeatures file has a fixed path "/etc/YaST2/ProductFeatures" so you cannot write the file to another location * There is no default /etc/YaST2/ProductFeatures in the installation-system so it is impossible to copy it into the /mnt - system just being installed * ProductFeatures::Save() function should "touch $file" if it doesn't exist (warning in ini-agent). I suggest moving this ProductFeatures::Save() after the SCR is switched. Or register another agent for this purpose... -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=209119 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #10 from locilka@novell.com 2006-10-30 05:03 MST ------- - Moving ProductFeatures::Save() from inst_kickoff client to save_config_finish - client that is called after the SCR is switched to the running system (#209119). yast2-installation 2.14.6 & 2.13.156 yast2-packager 2.14.0 & 2.13.159 -- 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, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com