[Bug 366867] New: ag_anyxml doesn't handle current /etc/security/pam_mount. conf.xml
https://bugzilla.novell.com/show_bug.cgi?id=366867 Summary: ag_anyxml doesn't handle current /etc/security/pam_mount.conf.xml Product: openSUSE 11.0 Version: Alpha 2 Platform: Other OS/Version: Other Status: ASSIGNED Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: jsuchome@novell.com ReportedBy: jsuchome@novell.com QAContact: jsrain@novell.com CC: anicka@novell.com Found By: --- /etc/security/pam_mount.conf.xml on 11.0 has more comments for some nodes, and perl-XML-Bare is not able to read such file correctly. Solution: 1. use different parser 2. fix perl-XML-Bare if there's a bug in it. Yes, it does support only one comment per node, but according to http://search.cpan.org/dist/XML-Bare/Bare.pm I thought that the result with more comments should be dropped comments, not dropped rest of the file. Anicka, what is the correct behavior? -- 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=366867
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=366867
User anicka@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366867#c1
--- Comment #1 from Anna Bernathova
https://bugzilla.novell.com/show_bug.cgi?id=366867
User anicka@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366867#c2
Anna Bernathova
https://bugzilla.novell.com/show_bug.cgi?id=366867
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366867#c3
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=366867
Anna Bernathova
https://bugzilla.novell.com/show_bug.cgi?id=366867
User anicka@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366867#c4
Anna Bernathova
https://bugzilla.novell.com/show_bug.cgi?id=366867
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366867#c5
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=366867
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366867#c6
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=366867
User locilka@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366867#c7
Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=366867
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366867#c8
--- Comment #8 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=366867
User anicka@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366867#c9
Anna Bernathova
https://bugzilla.novell.com/show_bug.cgi?id=366867
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366867#c10
--- Comment #10 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=366867
User anicka@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366867#c11
--- Comment #11 from Anna Bernathova
https://bugzilla.novell.com/show_bug.cgi?id=366867
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366867#c12
--- Comment #12 from Jiří Suchomel
BTW, what is wrong with using XML::Simple for kiwi's config?
Initially I thought it produces a hash which doesn't distinguish between attributes and content values. Now I see that it could be influenced with ForceContent option.... I still didn't read whole documentation, I'm just experimenting :-) -- 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=366867
User locilka@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366867#c13
--- Comment #13 from Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=366867
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366867#c14
--- Comment #14 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=366867
User locilka@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366867#c15
--- Comment #15 from Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=366867
User anicka@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366867#c16
--- Comment #16 from Anna Bernathova
https://bugzilla.novell.com/show_bug.cgi?id=366867
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366867#c17
--- Comment #17 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=366867
User locilka@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366867#c18
Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=366867
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366867#c19
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=366867
User mvidner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366867#c20
Martin Vidner
https://bugzilla.novell.com/show_bug.cgi?id=366867
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366867#c21
--- Comment #21 from Jiří Suchomel
yast2.rpm requires yast2-xml.rpm, nice try ;-) What are we trying to achieve here? How big are the respective packages and their dependencies?
Yes, I have realized it just minutes ago... The required package is perl-XML-Simple. It requires perl-XML-Parser, which is required by perl-XML-Bare as well. perl-XML-Simple.rpm has 67K, perl-XML-Bare.rpm has 23K. Basically, we need xml agent able to read /etc/security/pam_mount.conf.xml. The one based on Perl-XML-Bare doesn't handle it the one based on perl-XML-Simple does. yast2-users needs such agent, and in future possibly other modules (yast2-product-creator). For installation time, the Bare-based agent is sufficient. -- 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=366867
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=366867
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366867#c22
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=366867
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366867#c23
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=366867
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366867#c24
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=366867
User locilka@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366867#c25
Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=366867
User snwint@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366867#c26
Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=366867
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366867#c27
--- Comment #27 from Jiří Suchomel
I'm including basically all of yast2 anyway.
Maybe it doesn't make sense, if the size of yast2 is too small, but here could be a place for enhancement: they are pats of yast2.rpm that are not needed in inst-sys. -- 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=366867
User snwint@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=366867#c28
--- Comment #28 from Steffen Winterfeldt
participants (1)
-
bugzilla_noreply@novell.com