Bug ID 1201046
Summary yast2-users cmdline error
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.4
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component YaST2
Assignee yast2-maintainers@suse.de
Reporter msvec@suse.com
QA Contact jsrain@suse.com
Found By ---
Blocker ---

Adding a user using yast2-users cmdline interface throws an error:

bash# yast2 users add username=someuser uid=12345

Password for New User:
Confirm the password:
Warning: unable to close filehandle properly: Bad file descriptor, <STDIN> line
        9 during global destruction (#1)
    (S io) There were errors during the implicit close() done on a filehandle
    when its reference count reached zero while it was still open, e.g.:

        {
            open my $fh, '>', $file  or die "open: '$file': $!\n";
            print $fh $data or die "print: $!";
        } # implicit close here

    Because various errors may only be detected by close() (e.g. buffering
could
    allow the print in this example to return true even when the disk is full),
    it is dangerous to ignore its result.  So when it happens implicitly, perl
    will signal errors by warning.

    Prior to version 5.22.0, perl ignored such errors, so the common idiom
shown
    above was liable to cause silent data loss.


You are receiving this mail because: