Bug 466795

Summary: Software Repository Manager - Could not write changes
Product: [openSUSE] openSUSE 11.1 Reporter: Robert Davies <rob.opensuse.linux>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED NORESPONSE QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P3 - Medium    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: /var/log/YaST2/y2log

Description Robert Davies 2009-01-16 13:17:48 UTC
Created attachment 265642 [details]
/var/log/YaST2/y2log

User-Agent:       Mozilla/5.0 (compatible; Konqueror/4.1; Linux) KHTML/4.1.3 (like Gecko) SUSE

Post Installation, tried to configure the software repositories from the initial defaults, to use a  loopback mount of DVD iso file, rather than the physical burned disk.

Simply Edit repository entry was useless, so I had to add and delete entries.
The changes could not be saved.

Re-starting the application and trying again, did work.  So I'll submit the YaST2 logfile and assume it's "glitchy" for some reason, rather than reproducibly broken.

Reproducible: Didn't try

Steps to Reproduce:
1.
2.
3.
Actual Results:  
Failed to change settings, had to abort and repeat.
This left me wishing I could simply change the repo's by editting a text file.

Expected Results:  
Flawless update of repository info.
Comment 1 Ladislav Slezák 2009-01-19 19:09:20 UTC
Please attach yast logs.
Comment 2 Robert Davies 2009-01-20 09:08:36 UTC
I already attached /var/log/YaST2/y2log
What other log do you need?

BTW I think this may have happened, when the Installation disk was not in the DVD drive initially and it was attempting to access it.
Comment 3 Ladislav Slezák 2009-01-27 14:19:55 UTC
Unfortunately the log doesn't contain any error when saving a repository.

Could you describe exactly (step by step) what did you do so I could reproduce it?

(BTW the repositories are stored in *.repo text files in /etc/zypp/repos.d directory.)
Comment 4 Robert Davies 2009-01-29 16:51:27 UTC
I've installed 11.1-rc1 on this box, and others, and this was first time I had this problem, so I'm not hopeful that it'll be easily reproducible.  It happened though, on a system that generally runs well, so I'm sure there's something there to find.

Installed 11.1 from x86_64 DVD into LVM area set aside for OS Testing.
Used a little, left a few weeks.  Will have run update, when packages available.
Tried to use YaST software manager, without DVD in drive (I generally use ISO file on disk as install source for convenience), decided to Edit Repositories.
Attempted to Edit repository, found it did not help.
Then used add & delete, but it would not save.

Gave up, restarted and this time I was able to save changes.  *shrugs*

May be it'd be a good idea to add some log information into the Software Repository Manager, especially when it's failing for unexpected reasons, there was a popup, so presumably a log entry would be relatively simple.
Comment 5 Ladislav Slezák 2009-03-10 15:07:02 UTC
Indeed, Yast writes a log entry when a error occurs. The problem is that the attached file is just part of the complete log, the log files are rotated.

Use 'save_y2logs' command to save the complete log.
Comment 6 Ladislav Slezák 2009-04-08 15:29:07 UTC
Sorry, I cannot debug it without the yast logs.

You can still reopen and attach the need file.