[Bug 717251] New: IniAgent ignores multiline entries with single quotes (reads just the first line)
https://bugzilla.novell.com/show_bug.cgi?id=717251 https://bugzilla.novell.com/show_bug.cgi?id=717251#c0 Summary: IniAgent ignores multiline entries with single quotes (reads just the first line) Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: mvidner@suse.com ReportedBy: locilka@suse.com QAContact: jsrain@suse.com Found By: Development Blocker: --- /etc/sysconfig/SuSEfirewall2 --- cut --- FW_SERVICES_ACCEPT_RELATED_INT='0/0,udp,427 0/0,udp,11 0/0,udp,22 0/0,udp,33 0/0,udp,44' --- cut --- /usr/share/YaST2/scrconf/sysconfig_SuSEfirewall2.scr --- cut --- sysconfig.SuSEfirewall2 `ag_ini( `SysConfigFile("/etc/sysconfig/SuSEfirewall2") ) --- cut --- echo '\`Read(.sysconfig.SuSEfirewall2.FW_SERVICES_ACCEPT_RELATED_INT)' | /usr/lib/YaST2/bin/y2base stdio scr --- cut --- ([]) ((nil)) ("'0/0,udp,427") ((nil)) --- cut --- -- 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=717251
https://bugzilla.novell.com/show_bug.cgi?id=717251#c1
Martin Vidner
https://bugzilla.novell.com/show_bug.cgi?id=717251
https://bugzilla.novell.com/show_bug.cgi?id=717251#c2
Lukas Ocilka
OK, IIUC currently this will not be triggered, because yast2-firewall uses a modified sysconfig_SuSEfirewall2.scr, which has another bug (misparsing FW_FOO='', right? after fixing bnc#712670 ?).
It's bug #716013
The severity will be much higher if they result in yast corrupting the config file (writing back the truncated value). Is that the case?
Er, yes, values are truncated. Full diff will be attached. -- 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=717251
https://bugzilla.novell.com/show_bug.cgi?id=717251#c3
--- Comment #3 from Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=717251
https://bugzilla.novell.com/show_bug.cgi?id=717251#c4
--- Comment #4 from Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=717251
https://bugzilla.novell.com/show_bug.cgi?id=717251#c5
Martin Vidner
participants (1)
-
bugzilla_noreply@novell.com