Bug #2929

Use of uninitialized value in numeric gt (>) at /usr/share/perl5/Authen/SASL/Perl.pm line 130.

Added by stephane de Labrusse about 5 years ago. Updated about 5 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-
Target version:nf-closed
Security class: Resolution:DUPLICATE
Affected version: NEEDINFO:No

Description

Hi All

When I create a user with a fully updated nethserver I have this error in /var/log/messages

'Use of uninitialized value in numeric gt (>) at /usr/share/perl5/Authen/SASL/Perl.pm line 130.'

the code to blame is

128 sub securesocket {
129 my $self = shift;
130 return $_[0] unless ($self->property('ssf') > 0);
131
132 local *GLOB; # avoid used only once warning
133 my $glob = \do { local *GLOB; };
134 tie(*$glob, 'Authen::SASL::Perl::Layer', $_[0], $self);
135 $glob;
136 }

Extra packages installed are : nethserver-mail-server nethserver-mail-common nethserver-directory


Related issues

Duplicates NethServer 6 - Bug #2932: Use of uninitialized value in numeric gt (>) at /usr/shar... CLOSED

History

#1 Updated by stephane de Labrusse about 5 years ago

If you want to reproduce You have to create the service user roundcube

NethServer::Directory->new()->configServiceAccount('roundcube', NethServer::Directory::FIELDS_READ) || die("Failed to register roundcube service account");

I saw that I have done the bug in the nethforge area but I guess that it is a nethserver issue...I can't change it

#2 Updated by stephane de Labrusse about 5 years ago

In fact You can simply create a user in the servermanager and you have also that errors in log

Oct 25 03:05:27 nethserver-dev /sbin/e-smith/db28051: /var/lib/nethserver/db/accounts: OLD stephane=(undefined)
Oct 25 03:05:27 nethserver-dev /sbin/e-smith/db28051: /var/lib/nethserver/db/accounts: NEW stephane=user
Oct 25 03:05:27 nethserver-dev /sbin/e-smith/db28051: /var/lib/nethserver/db/accounts: OLD stephane=user
Oct 25 03:05:27 nethserver-dev /sbin/e-smith/db28051: /var/lib/nethserver/db/accounts: NEW stephane=user|MailForwardStatus|disabled
Oct 25 03:05:27 nethserver-dev /sbin/e-smith/db28051: /var/lib/nethserver/db/accounts: OLD stephane=user|MailForwardStatus|disabled
Oct 25 03:05:27 nethserver-dev /sbin/e-smith/db28051: /var/lib/nethserver/db/accounts: NEW stephane=user|MailForwardStatus|disabled|MailSpamRetentionStatus|disabled
Oct 25 03:05:27 nethserver-dev /sbin/e-smith/db28051: /var/lib/nethserver/db/accounts: OLD stephane=user|MailForwardStatus|disabled|MailSpamRetentionStatus|disabled
Oct 25 03:05:27 nethserver-dev /sbin/e-smith/db28051: /var/lib/nethserver/db/accounts: NEW stephane=user|MailForwardStatus|disabled|MailSpamRetentionStatus|disabled|MailStatus|enabled
Oct 25 03:05:27 nethserver-dev /sbin/e-smith/db28053: /var/lib/nethserver/db/accounts: OLD stephane=user|MailForwardStatus|disabled|MailSpamRetentionStatus|disabled|MailStatus|enabled
Oct 25 03:05:27 nethserver-dev /sbin/e-smith/db28053: /var/lib/nethserver/db/accounts: NEW stephane=user|City||MailForwardStatus|disabled|MailSpamRetentionStatus|disabled|MailStatus|enabled
Oct 25 03:05:27 nethserver-dev /sbin/e-smith/db28053: /var/lib/nethserver/db/accounts: OLD stephane=user|City||MailForwardStatus|disabled|MailSpamRetentionStatus|disabled|MailStatus|enabled
Oct 25 03:05:27 nethserver-dev /sbin/e-smith/db28053: /var/lib/nethserver/db/accounts: NEW stephane=user|City||Company||MailForwardStatus|disabled|MailSpamRetentionStatus|disabled|MailStatus|enabled
Oct 25 03:05:27 nethserver-dev /sbin/e-smith/db28053: /var/lib/nethserver/db/accounts: OLD stephane=user|City||Company||MailForwardStatus|disabled|MailSpamRetentionStatus|disabled|MailStatus|enabled
Oct 25 03:05:27 nethserver-dev /sbin/e-smith/db28053: /var/lib/nethserver/db/accounts: NEW stephane=user|City||Company||Department||MailForwardStatus|disabled|MailSpamRetentionStatus|disabled|MailStatus|enabled
Oct 25 03:05:27 nethserver-dev /sbin/e-smith/db28053: /var/lib/nethserver/db/accounts: OLD stephane=user|City||Company||Department||MailForwardStatus|disabled|MailSpamRetentionStatus|disabled|MailStatus|enabled
Oct 25 03:05:27 nethserver-dev /sbin/e-smith/db28053: /var/lib/nethserver/db/accounts: NEW stephane=user|City||Company||Department||FirstName|stephane|MailForwardStatus|disabled|MailSpamRetentionStatus|disabled|MailStatus|enabled
Oct 25 03:05:27 nethserver-dev /sbin/e-smith/db28053: /var/lib/nethserver/db/accounts: OLD stephane=user|City||Company||Department||FirstName|stephane|MailForwardStatus|disabled|MailSpamRetentionStatus|disabled|MailStatus|enabled
Oct 25 03:05:27 nethserver-dev /sbin/e-smith/db28053: /var/lib/nethserver/db/accounts: NEW stephane=user|City||Company||Department||FirstName|stephane|LastName|de labrusse|MailForwardStatus|disabled|MailSpamRetentionStatus|disabled|MailStatus|enabled
Oct 25 03:05:27 nethserver-dev /sbin/e-smith/db28053: /var/lib/nethserver/db/accounts: OLD stephane=user|City||Company||Department||FirstName|stephane|LastName|de labrusse|MailForwardStatus|disabled|MailSpamRetentionStatus|disabled|MailStatus|enabled
Oct 25 03:05:27 nethserver-dev /sbin/e-smith/db28053: /var/lib/nethserver/db/accounts: NEW stephane=user|City||Company||Department||FirstName|stephane|LastName|de labrusse|MailForwardStatus|disabled|MailSpamRetentionStatus|disabled|MailStatus|enabled|PhoneNumber|
Oct 25 03:05:27 nethserver-dev /sbin/e-smith/db28053: /var/lib/nethserver/db/accounts: OLD stephane=user|City||Company||Department||FirstName|stephane|LastName|de labrusse|MailForwardStatus|disabled|MailSpamRetentionStatus|disabled|MailStatus|enabled|PhoneNumber|
Oct 25 03:05:27 nethserver-dev /sbin/e-smith/db28053: /var/lib/nethserver/db/accounts: NEW stephane=user|City||Company||Department||FirstName|stephane|LastName|de labrusse|MailForwardStatus|disabled|MailSpamRetentionStatus|disabled|MailStatus|enabled|PhoneNumber||Street|
Oct 25 03:05:27 nethserver-dev httpd-admin: [NOTICE] Nethgui\System\NethPlatform::runEvents() post-process
Oct 25 03:05:27 nethserver-dev esmith::event28055: Event: user-create-pseudonyms stephane
Oct 25 03:05:27 nethserver-dev /etc/e-smith/events/user-create-pseudonyms/S00nethserver-mail-default-pseudonyms-create28056: /var/lib/nethserver/db/accounts: OLD stephane@=(undefined)
Oct 25 03:05:27 nethserver-dev /etc/e-smith/events/user-create-pseudonyms/S00nethserver-mail-default-pseudonyms-create28056: /var/lib/nethserver/db/accounts: NEW stephane@=pseudonym|Access|public|Account|stephane|ControlledBy|system|_prevAccount|stephane
Oct 25 03:05:27 nethserver-dev esmith::event28055: Action: /etc/e-smith/events/user-create-pseudonyms/S00nethserver-mail-default-pseudonyms-create SUCCESS [0.072076]
Oct 25 03:05:27 nethserver-dev esmith::event28055: expanding /etc/postfix/internal_access
Oct 25 03:05:27 nethserver-dev esmith::event28055: expanding /etc/postfix/vmailbox
Oct 25 03:05:27 nethserver-dev esmith::event28055: expanding /etc/postfix/virtual
Oct 25 03:05:27 nethserver-dev esmith::event28055: Action: /etc/e-smith/events/actions/generic_template_expand SUCCESS [0.130655]
Oct 25 03:05:28 nethserver-dev esmith::event28055: Action: /etc/e-smith/events/user-create-pseudonyms/S30nethserver-mail-postmap-update SUCCESS [0.482287]
Oct 25 03:05:28 nethserver-dev esmith::event28055: Event: user-create-pseudonyms SUCCESS
Oct 25 03:05:28 nethserver-dev esmith::event28061: Event: user-create stephane
Oct 25 03:05:28 nethserver-dev esmith::event28061: Use of uninitialized value in numeric gt (>) at /usr/share/perl5/Authen/SASL/Perl.pm line 130.
Oct 25 03:05:28 nethserver-dev /etc/e-smith/events/user-create/S04user-create-unix28062: /var/lib/nethserver/db/configuration: OLD MinUid=5001
Oct 25 03:05:28 nethserver-dev /etc/e-smith/events/user-create/S04user-create-unix28062: /var/lib/nethserver/db/configuration: NEW MinUid=5002
Oct 25 03:05:28 nethserver-dev /etc/e-smith/events/user-create/S04user-create-unix28062: /var/lib/nethserver/db/accounts: OLD stephane=user|City||Company||Department||FirstName|stephane|LastName|de labrusse|MailForwardStatus|disabled|MailSpamRetentionStatus|disabled|MailStatus|enabled|PhoneNumber||Street|
Oct 25 03:05:28 nethserver-dev /etc/e-smith/events/user-create/S04user-create-unix28062: /var/lib/nethserver/db/accounts: NEW stephane=user|City||Company||Department||FirstName|stephane|LastName|de labrusse|MailForwardStatus|disabled|MailSpamRetentionStatus|disabled|MailStatus|enabled|PhoneNumber||Street||Uid|5001
Oct 25 03:05:29 nethserver-dev /etc/e-smith/events/user-create/S04user-create-unix28062: /var/lib/nethserver/db/accounts: OLD stephane=user|City||Company||Department||FirstName|stephane|LastName|de labrusse|MailForwardStatus|disabled|MailSpamRetentionStatus|disabled|MailStatus|enabled|PhoneNumber||Street||Uid|5001
Oct 25 03:05:29 nethserver-dev /etc/e-smith/events/user-create/S04user-create-unix28062: /var/lib/nethserver/db/accounts: NEW stephane=user|City||Company||Department||FirstName|stephane|LastName|de labrusse|MailForwardStatus|disabled|MailSpamRetentionStatus|disabled|MailStatus|enabled|PhoneNumber||Street||Uid|5001|__state|new
Oct 25 03:05:29 nethserver-dev esmith::event28061: Action: /etc/e-smith/events/user-create/S04user-create-unix SUCCESS [0.841629]
Oct 25 03:05:29 nethserver-dev esmith::event28061: expanding /etc/postfix/internal_access
Oct 25 03:05:29 nethserver-dev esmith::event28061: expanding /etc/postfix/vmailbox
Oct 25 03:05:29 nethserver-dev esmith::event28061: expanding /etc/postfix/virtual
Oct 25 03:05:29 nethserver-dev esmith::event28061: expanding /etc/postfix/aliases
Oct 25 03:05:29 nethserver-dev esmith::event28061: Action: /etc/e-smith/events/actions/generic_template_expand SUCCESS [0.131993]
Oct 25 03:05:29 nethserver-dev esmith::event28061: Action: /etc/e-smith/events/user-create/S25count-active-user-accounts SUCCESS [0.059993]
Oct 25 03:05:29 nethserver-dev esmith::event28061: Use of uninitialized value in numeric gt (>) at /usr/share/perl5/Authen/SASL/Perl.pm line 130.
Oct 25 03:05:29 nethserver-dev esmith::event28061: Action: /etc/e-smith/events/user-create/S25nethserver-directory-user-modify SUCCESS [0.346091]
Oct 25 03:05:30 nethserver-dev esmith::event28061: Action: /etc/e-smith/events/user-create/S30nethserver-mail-account-update SUCCESS [0.210091]
Oct 25 03:05:30 nethserver-dev esmith::event28061: Action: /etc/e-smith/events/user-create/S30nethserver-mail-postmap-update SUCCESS [0.342502]
Oct 25 03:05:30 nethserver-dev esmith::event28061: Action: /etc/e-smith/events/user-create/S40nethserver-directory-password-policy SUCCESS [0.187883]
Oct 25 03:05:30 nethserver-dev esmith::event28061: Action: /etc/e-smith/events/user-create/S85user-group-modify SUCCESS [0.113163]
Oct 25 03:05:30 nethserver-dev esmith::event28061: Event: user-create SUCCESS
Oct 25 03:05:51 nethserver-dev httpd-admin: [NOTICE] NethServer\Tool\ChangePassword: admin is changing password to SomeoneElse (stephane). Members of the adm group have no restriction (score = 1.00)
Oct 25 03:05:51 nethserver-dev httpd-admin: [NOTICE] Nethgui\System\NethPlatform::runEvents() post-process
Oct 25 03:05:52 nethserver-dev esmith::event28086: Event: password-modify stephane /tmp/ng-dJSZ8L
Oct 25 03:05:52 nethserver-dev esmith::event28086: Changing password for user stephane.
Oct 25 03:05:52 nethserver-dev esmith::event28086: passwd: all authentication tokens updated successfully.
Oct 25 03:05:52 nethserver-dev esmith::event28086: Action: /etc/e-smith/events/password-modify/S25password-set SUCCESS [0.153914]
Oct 25 03:05:52 nethserver-dev /sbin/e-smith/db28092: /var/lib/nethserver/db/accounts: OLD stephane=user|City||Company||Department||FirstName|stephane|LastName|de labrusse|MailForwardStatus|disabled|MailSpamRetentionStatus|disabled|MailStatus|enabled|PhoneNumber||Street||Uid|5001|__state|new
Oct 25 03:05:52 nethserver-dev /sbin/e-smith/db28092: /var/lib/nethserver/db/accounts: NEW stephane=user|City||Company||Department||FirstName|stephane|LastName|de labrusse|MailForwardStatus|disabled|MailSpamRetentionStatus|disabled|MailStatus|enabled|PhoneNumber||Street||Uid|5001|__state|active
Oct 25 03:05:52 nethserver-dev esmith::event28086: Action: /etc/e-smith/events/password-modify/S40user-activate SUCCESS [0.048349]
Oct 25 03:05:52 nethserver-dev /etc/e-smith/events/password-modify/S80count-active-user-accounts28093: /var/lib/nethserver/db/configuration: OLD ActiveAccounts=1
Oct 25 03:05:52 nethserver-dev /etc/e-smith/events/password-modify/S80count-active-user-accounts28093: /var/lib/nethserver/db/configuration: NEW ActiveAccounts=2
Oct 25 03:05:52 nethserver-dev esmith::event28086: Action: /etc/e-smith/events/password-modify/S80count-active-user-accounts SUCCESS [0.053588]
Oct 25 03:05:52 nethserver-dev esmith::event28086: Action: /etc/e-smith/events/password-modify/S90password-cleanup SUCCESS [0.563433]
Oct 25 03:05:52 nethserver-dev esmith::event28086: Event: password-modify SUCCESS

#3 Updated by stephane de Labrusse about 5 years ago

  • Status changed from NEW to CLOSED
  • % Done changed from 0 to 100

#4 Updated by Davide Principi about 5 years ago

  • Resolution set to DUPLICATE

Duplicate of #2932

#5 Updated by Davide Principi about 5 years ago

  • Duplicates Bug #2932: Use of uninitialized value in numeric gt (>) at /usr/share/perl5/Authen/SASL/Perl.pm line 130. added

Also available in: Atom PDF