[Bug 799660] New: yast2 ldap-server - uninitialized value $initial_skip ... /usr/lib/perl5/vendor_perl/5.16.2/Parse/RecDescent.pm line 3054
https://bugzilla.novell.com/show_bug.cgi?id=799660 https://bugzilla.novell.com/show_bug.cgi?id=799660#c0 Summary: yast2 ldap-server - uninitialized value $initial_skip ... /usr/lib/perl5/vendor_perl/5.16.2/Parse/RecDescent.pm line 3054 Classification: openSUSE Product: openSUSE Factory Version: 12.3 Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: david.bahi@emc.com QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.9) Gecko/20100101 Firefox/10.0.9 bang:~ # yast2 ldap-server Use of uninitialized value $initial_skip in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.16.2/Parse/RecDescent.pm line 3054 (#1) (W uninitialized) An undefined value was used as if it were already defined. It was interpreted as a "" or a 0, but maybe it was a mistake. To suppress this warning assign a defined value to your variables. To help you figure out what was undefined, perl will try to tell you the name of the variable (if any) that was undefined. In some cases it cannot do this, so it also tells you what operation you used the undefined value in. Note, however, that perl optimizes your program anid the operation displayed in the warning may not necessarily appear literally in your program. For example, "that $foo" is usually optimized into "that " . $foo, and the warning will refer to the concatenation (.) operator, even though there is no . in your program. Reproducible: Always Steps to Reproduce: 1. install opensuse 12.3 beta1 2. run 'yast2 ldap-server' 3. see exception in Parse/RecDescent.pm cannot use yast to configure LDAP server without this fixed. -- 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=799660 https://bugzilla.novell.com/show_bug.cgi?id=799660#c Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |suse-beta@cboltz.de AssignedTo|bnc-team-screening@forge.pr |rhafer@suse.com |ovo.novell.com | -- 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=799660 https://bugzilla.novell.com/show_bug.cgi?id=799660#c1 Jiří Suchomel <jsuchome@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsuchome@suse.com, | |rhafer@suse.com AssignedTo|rhafer@suse.com |dlovasko@suse.com --- Comment #1 from Jiří Suchomel <jsuchome@suse.com> 2013-02-07 13:04:32 UTC --- Seems like a bug in X500/DN.pm. Simple perl code with just #! /usr/bin/perl -w use X500::DN; produces this error. I do not understand the code, but maybe the line local $Parse::RecDescent::skip = undef; in /usr/lib/perl5/vendor_perl/5.16.0/X500/DN.pm is the problematic one? -- 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=799660 https://bugzilla.novell.com/show_bug.cgi?id=799660#c2 Jiří Suchomel <jsuchome@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msvec@suse.com --- Comment #2 from Jiří Suchomel <jsuchome@suse.com> 2013-02-07 13:04:59 UTC --- *** Bug 802371 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=802371 -- 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=799660 https://bugzilla.novell.com/show_bug.cgi?id=799660#c4 --- Comment #4 from Daniel Lovasko <dlovasko@suse.com> 2013-02-12 13:14:39 UTC --- It seems to be the problem. On the line mentioned in warning (unfortunately, right now I am not able to reproduce the warning) the code is: my $initial_skip = defined($self->{skip}) ? $self->{skip} : $skip; so it means $skip _always_ needs to be defined, and '\s*' seems to me as a reasonable value. I am the maintainer of the package not so long, so I have no idea right now, why somebody set the skip to 'undef'. I will work on that. -- 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=799660 https://bugzilla.novell.com/show_bug.cgi?id=799660#c5 Ralf Haferkamp <rhafer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |varkoly@suse.com --- Comment #5 from Ralf Haferkamp <rhafer@suse.com> 2013-02-13 10:05:08 CET --- *** Bug 803460 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=803460 -- 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=799660 https://bugzilla.novell.com/show_bug.cgi?id=799660#c6 Will Stephenson <wstephenson@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wstephenson@suse.com --- Comment #6 from Will Stephenson <wstephenson@suse.com> 2013-03-04 13:55:31 UTC --- Same warning on initial boot while yast is writing the initial configuration. -- 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=799660 https://bugzilla.novell.com/show_bug.cgi?id=799660#c7 Johannes Weberhofer <jweberhofer@weberhofer.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jweberhofer@weberhofer.at --- Comment #7 from Johannes Weberhofer <jweberhofer@weberhofer.at> 2013-04-02 10:59:15 CEST --- It would be great to see a fix for that issues, as it is currently impossible to configure a LDAP server via YaST. -- 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=799660 https://bugzilla.novell.com/show_bug.cgi?id=799660#c9 Jiří Suchomel <jsuchome@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|YaST2 |Basesystem AssignedTo|jsuchome@suse.com |bnc-team-screening@forge.pr | |ovo.novell.com QAContact|jsrain@suse.com |qa-bugs@suse.de --- Comment #9 from Jiří Suchomel <jsuchome@suse.com> 2013-06-10 06:14:48 UTC --- This is not YaST bug. The problem is in perl-X500-DN package, as mentioned in comments 3-4 -- 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=799660 https://bugzilla.novell.com/show_bug.cgi?id=799660#c10 --- Comment #10 from Johannes Weberhofer <jweberhofer@weberhofer.at> 2013-06-10 08:36:35 CEST --- X500-DN-0.29.tar.gz - which is used in the package - hasn't changed since 70 month; I had no problem with opensuse 12.1 before. Regarding https://build.opensuse.org/package/show?package=perl-X500-DN&project=openSUSE%3A12.3, only two version strings have been updated in the meantime. -- 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=799660 https://bugzilla.novell.com/show_bug.cgi?id=799660#c11 --- Comment #11 from Jiří Suchomel <jsuchome@suse.com> 2013-06-10 06:47:33 UTC --- I know. But look at comment 1: minimal example, totally unrelated to YaST -- 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=799660 https://bugzilla.novell.com/show_bug.cgi?id=799660#c12 --- Comment #12 from Johannes Weberhofer <jweberhofer@weberhofer.at> 2013-06-10 10:42:02 CEST --- You are right; there is also a related debian bug-report: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641796 Must be in relation to a change in the Parse-RecDescent class; I have tried to change Line 46 in /usr/lib/perl5/vendor_perl/5.16.2/X500/DN.pm to local $Parse::RecDescent::skip = ''; which results in no more problems with that messages; however some perl guru should have a look at it. -- 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=799660 https://bugzilla.novell.com/show_bug.cgi?id=799660#c15 Vitezslav Cizek <vcizek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |vcizek@suse.com --- Comment #15 from Vitezslav Cizek <vcizek@suse.com> 2013-06-18 09:07:20 CEST --- This is a bug in X500-DN (passing undef value) or Parser-RecDescent (not handling undef value as $skip) The X500-DN author wanted to reset the parser's default $skip value. (which is a regular expression describing the universal token prefix) It defaults to '\s*' meaning skipping all whitespace. There's a distinction between undef and '' in perl, (eg in test with defined()). However perl treats undef variable as either 0 or an empty string (depending on the context I guess) In this case the undef-ined skip variable is treated as '', so the suggested fix should work exactly the same as did the 'undef' before. -- 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=799660 https://bugzilla.novell.com/show_bug.cgi?id=799660#c16 Vitezslav Cizek <vcizek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #16 from Vitezslav Cizek <vcizek@suse.com> 2013-06-25 06:11:30 CEST --- Package perl-X500-DN submitted. -- 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=799660 https://bugzilla.novell.com/show_bug.cgi?id=799660#c17 Johannes Weberhofer <jweberhofer@weberhofer.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Component|Basesystem |Basesystem Version|13.1 Beta 1 |Final Resolution|FIXED | AssignedTo|vcizek@suse.com |bnc-team-screening@forge.pr | |ovo.novell.com Product|openSUSE Factory |openSUSE 12.3 --- Comment #17 from Johannes Weberhofer <jweberhofer@weberhofer.at> 2013-06-25 06:26:50 CEST --- Can you, please, request a maintenance release for opensuse 12.3, as it's also affected; one can not setup a ldap-server becaus of that issue. -- 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=799660 https://bugzilla.novell.com/show_bug.cgi?id=799660#c18 Vitezslav Cizek <vcizek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #18 from Vitezslav Cizek <vcizek@suse.com> 2013-06-25 07:34:20 CEST --- I've already done that (openSUSE:Maintenance:1797). -- 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=799660 https://bugzilla.novell.com/show_bug.cgi?id=799660#c19 --- Comment #19 from David Bahi <david.bahi@emc.com> 2013-06-25 05:38:58 UTC --- b.t.w. can we get a fix for 12.2 as well - though this has little functional impact it is "uncool" ;) bang-tan:/export # cat /etc/SuSE-release openSUSE 12.2 (x86_64) VERSION = 12.2 CODENAME = Mantis bang-tan:/export # yast2 ldap-server Use of uninitialized value $initial_skip in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.16.0/Parse/RecDescent.pm line 3054 (#1) (W uninitialized) An undefined value was used as if it were already defined. It was interpreted as a "" or a 0, but maybe it was a mistake. To suppress this warning assign a defined value to your variables. To help you figure out what was undefined, perl will try to tell you the name of the variable (if any) that was undefined. In some cases it cannot do this, so it also tells you what operation you used the undefined value in. Note, however, that perl optimizes your program anid the operation displayed in the warning may not necessarily appear literally in your program. For example, "that $foo" is usually optimized into "that " . $foo, and the warning will refer to the concatenation (.) operator, even though there is no . in your program. -- 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=799660 https://bugzilla.novell.com/show_bug.cgi?id=799660#c20 --- Comment #20 from Vitezslav Cizek <vcizek@suse.com> 2013-06-25 07:52:40 CEST --- The maintenance update includes 12.2 as well: https://build.opensuse.org/project/show?project=openSUSE%3AMaintenance%3A179... -- 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=799660 https://bugzilla.novell.com/show_bug.cgi?id=799660#c21 --- Comment #21 from Swamp Workflow Management <swamp@suse.de> 2013-06-26 05:05:01 UTC --- openSUSE-RU-2013:1078-1: An update that has one recommended fix can now be installed. Category: recommended (moderate) Bug References: 799660 CVE References: Sources used: openSUSE 12.3 (src): perl-X500-DN-0.29-100.4.1 openSUSE 12.2 (src): perl-X500-DN-0.29-98.4.1 -- 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.
participants (1)
-
bugzilla_noreply@novell.com