https://bugzilla.novell.com/show_bug.cgi?id=891065 https://bugzilla.novell.com/show_bug.cgi?id=891065#c1 Martin Vidner <mvidner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High CC| |jreidinger@suse.com --- Comment #1 from Martin Vidner <mvidner@suse.com> 2014-08-08 15:18:24 CEST --- My proposed fix is to extend the agent initialization protocol. Current state: Before YaST starts sending SCR commands to the agent, it initializes it, passing it the arguments of the initialization term. That is, if we have --- foo.scr --- .foo `ag_foo(`File("/etc/foo"), `File("/etc/bar")) --- then, assuming ag_foo is implemented in a separate process, SCR.Read(path(".foo.hello")) will result in YaST running ag_foo and sending it `File("/etc/foo") `File("/etc/bar") `Read(.hello) Note that all existing agents have zero or one initialization term, not two like here. Proposed fix: After sending the initialization commands, before sending the SCR commands, send a `SetRoot(string) command to inform the agent of the root it should operate on. I have checked that ag_uid logs this command as unknown but does not crash. -- 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.