Your message dated Sun, 24 Feb 2019 22:51:30 +0000
with message-id <[email protected]>
and subject line Bug#923152: fixed in vim-addon-manager 0.5.10
has caused the Debian Bug report #923152,
regarding vim-addon-manager: Please don't rely on Etc.getlogin()
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
923152: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923152
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: vim-addon-manager
Version: 0.5.9
Severity: normal

Dear Maintainer,

in Line 202 (parse_cmdline) you call Etc.getlogin and Etc.getpwnam, but this
fails under certain circumstances. For example when called by a daemon.
We (vim-lastplace) use vim-addon-manager in our maintainer scripts, so this can
lead to errors with automatic updates:

https://bugs.launchpad.net/ubuntu/+source/vim-lastplace/+bug/1811935
https://launchpadlibrarian.net/406433346/DpkgTerminalLog.txt

/usr/bin/vim-addon-manager:202:in `getpwnam': no implicit conversion of nil
into String (TypeError)
        from /usr/bin/vim-addon-manager:202:in `parse_cmdline'
        from /usr/bin/vim-addon-manager:252:in `<main>'

Could you change the code not to call Etc.getlogin and Etc.getpwnam when not
needed (when using -w parameter)?

Handling the case when getlogin returns Null and throwing a useful error
message also would be great.

Yours
  David



-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=custom.UTF-8, LC_CTYPE=custom.UTF-8 (charmap=UTF-8), 
LANGUAGE=custom.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages vim-addon-manager depends on:
ii  ruby        1:2.5.1
ii  vim-common  2:8.1.0875-2

Versions of packages vim-addon-manager recommends:
ii  vim  2:8.1.0875-2

vim-addon-manager suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: vim-addon-manager
Source-Version: 0.5.10

We believe that the bug you reported is fixed in the latest version of
vim-addon-manager, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Antonio Terceiro <[email protected]> (supplier of updated vim-addon-manager 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 24 Feb 2019 19:22:54 -0300
Source: vim-addon-manager
Architecture: source
Version: 0.5.10
Distribution: unstable
Urgency: medium
Maintainer: Debian Vim Maintainers <[email protected]>
Changed-By: Antonio Terceiro <[email protected]>
Closes: 923152
Changes:
 vim-addon-manager (0.5.10) unstable; urgency=medium
 .
   * Improve usage of Etc module (Closes: #923152)
   * cucumber: run against system binaries under autopkgtest
Checksums-Sha1:
 b4f20f0b781df6922e271a8fc6fdea499c64d463 1796 vim-addon-manager_0.5.10.dsc
 6db6aedad9dace2b298c9dd1622035415155c5c7 25408 vim-addon-manager_0.5.10.tar.xz
 d40677ee47fb6e7ddcd92e30195d8d8ede445622 12956 
vim-addon-manager_0.5.10_source.buildinfo
Checksums-Sha256:
 f8eba8a1b644506d47fd4c084bd9d1d1938d7028ca28d5424d51ab02d7630e44 1796 
vim-addon-manager_0.5.10.dsc
 dfe9372ef70cc2ec2e5a8829bddf023fa8247988a138355a493d2b091b7e7a15 25408 
vim-addon-manager_0.5.10.tar.xz
 2a2562419059e38a4e8c2771b31a91163d7de0a07f11c311b1c01393f79c3362 12956 
vim-addon-manager_0.5.10_source.buildinfo
Files:
 5fe5649681ad391a630d0c209e372d41 1796 editors optional 
vim-addon-manager_0.5.10.dsc
 7bede5940142a051f3e5f22aabc840bd 25408 editors optional 
vim-addon-manager_0.5.10.tar.xz
 344e8a41f368a463172965fcbc92b9aa 12956 editors optional 
vim-addon-manager_0.5.10_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEst7mYDbECCn80PEM/A2xu81GC94FAlxzG+0ACgkQ/A2xu81G
C94fkRAA4DdAQ7UgquoSjvRQh6gbevDQDMuGVunaII3efqbCcAAoj2/etb+fwE2l
QsfzV3VTKHE1RRQCVeD431Oskj1V4e2niCiuJZotqOZqzsj0VsnH5NvpIdYarntJ
Zs01P59oY83AAM19M4kzBalFTMduGNG8RRFx0gYTxY1grJeiVN0O5LF0/FU7Jg17
6NFrIuI9DpmbcfsksTgfBkLShgr/udq94THuODQLNQWlZt35PDdbv0P5WiGagjwO
kGTIuMReFi+SLH6exsNPfnbrDwGNZWadXoE3E/tZ9I3bKSefFcR9UAwG0zsFiNqi
a+WWC7sjfEfkfTv9mvuEG1vMRhXbzm9+i0s53dorYIVDGZokR5Nt4Oj0u7yzdUxE
cAidN9xfkPbmU8TvgTcF/293VKl4EXc1LpnilsJWJ5PwnibfHgM0TKbDFNNplYQc
zLMbdtB9D1bW8+xAOykeKjsKyOLQtmoVEa87JGIBKpxL4U7e9N7hPJSAV1BqBQFu
UTExOLU2wtfu1AzgFvGDB3L4cv2y44eK81d1BPEj7G0pcv9xLR6MS38oQZLKZyH8
5pOv1Q3lveELTEF93F31klfyMqQwAUTK+z6nQgeKhWvqVlldsALVSNe8varjbFDa
qCydLIkKYPsXANNQ+DSbDhqsRhKtRdIhjhu6kafevdG6j3n42vY=
=6xjt
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to