[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#847325: marked as done (Unable to copy symlinks with copy_file)



Your message dated Thu, 15 Dec 2016 23:33:34 +0000
with message-id <E1cHfWo-000HPU-0b@fasolo.debian.org>
and subject line Bug#847325: fixed in initramfs-tools 0.126
has caused the Debian Bug report #847325,
regarding Unable to copy symlinks with copy_file
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 owner@bugs.debian.org
immediately.)


-- 
847325: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=847325
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools-core
Version: 0.125
Severity: normal
File: /usr/share/initramfs-tools/hook-functions

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

Hey!

Today, new firmware-misc-nonfree package contains some symlinks:

lrwxrwxrwx 1 root root   26 déc.   3 22:20 /lib/firmware/nvidia/gm206/gr/fecs_bl.bin -> ../../gm200/gr/fecs_bl.bin
- -rw-r--r-- 1 root root 1968 déc.   3 22:20 /lib/firmware/nvidia/gm206/gr/fecs_data.bin
lrwxrwxrwx 1 root root   28 déc.   3 22:20 /lib/firmware/nvidia/gm206/gr/fecs_inst.bin -> ../../gm200/gr/fecs_inst.bin
- -rw-r--r-- 1 root root   76 déc.   3 22:20 /lib/firmware/nvidia/gm206/gr/fecs_sig.bin
lrwxrwxrwx 1 root root   27 déc.   3 22:20 /lib/firmware/nvidia/gm206/gr/gpccs_bl.bin -> ../../gm200/gr/gpccs_bl.bin
- -rw-r--r-- 1 root root 2056 déc.   3 22:20 /lib/firmware/nvidia/gm206/gr/gpccs_data.bin
lrwxrwxrwx 1 root root   29 déc.   3 22:20 /lib/firmware/nvidia/gm206/gr/gpccs_inst.bin -> ../../gm200/gr/gpccs_inst.bin
- -rw-r--r-- 1 root root   76 déc.   3 22:20 /lib/firmware/nvidia/gm206/gr/gpccs_sig.bin
lrwxrwxrwx 1 root root   33 déc.   3 22:20 /lib/firmware/nvidia/gm206/gr/sw_bundle_init.bin -> ../../gm200/gr/sw_bundle_init.bin
lrwxrwxrwx 1 root root   25 déc.   3 22:20 /lib/firmware/nvidia/gm206/gr/sw_ctx.bin -> ../../gm200/gr/sw_ctx.bin
lrwxrwxrwx 1 root root   33 déc.   3 22:20 /lib/firmware/nvidia/gm206/gr/sw_method_init.bin -> ../../gm200/gr/sw_method_init.bin
lrwxrwxrwx 1 root root   28 déc.   3 22:20 /lib/firmware/nvidia/gm206/gr/sw_nonctx.bin -> ../../gm200/gr/sw_nonctx.bin

I have this error on update-initramfs -u -vv:

Adding firmware /lib/firmware/nvidia/gm206/gr/gpccs_data.bin
Adding firmware-link /lib/firmware/nvidia/gm206/gr/gpccs_inst.bin
Adding firmware /usr/lib/firmware/nvidia/gm200/gr/gpccs_inst.bin
Adding firmware-link /lib/firmware/nvidia/gm206/gr/gpccs_bl.bin
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
Removing /boot/initrd.img-4.8.0-2-amd64.dpkg-bak
update-initramfs: failed for /boot/initrd.img-4.8.0-2-amd64 with 1.

I have traced to this:

+ copy_file firmware /lib/firmware/nvidia/gm206/gr/gpccs_bl.bin
+ local type src target link_target
+ type=firmware
+ src=/lib/firmware/nvidia/gm206/gr/gpccs_bl.bin
+ target=/lib/firmware/nvidia/gm206/gr/gpccs_bl.bin
+ [ -f /lib/firmware/nvidia/gm206/gr/gpccs_bl.bin ]
+ [ -d /var/tmp/mkinitramfs_S838WR//lib/firmware/nvidia/gm206/gr/gpccs_bl.bin ]
+ [ -e /var/tmp/mkinitramfs_S838WR//lib/firmware/nvidia/gm206/gr/gpccs_bl.bin ]
+ mkdir -p /var/tmp/mkinitramfs_S838WR//lib/firmware/nvidia/gm206/gr
+ [ -h /lib/firmware/nvidia/gm206/gr/gpccs_bl.bin ]
+ readlink -f /lib/firmware/nvidia/gm206/gr/gpccs_bl.bin
+ link_target=/usr/lib/firmware/nvidia/gm200/gr/gpccs_bl.bin
+ [ /usr/lib/firmware/nvidia/gm200/gr/gpccs_bl.bin != /lib/firmware/nvidia/gm206/gr/gpccs_bl.bin ]
+ [ y = y ]
+ echo Adding firmware-link /lib/firmware/nvidia/gm206/gr/gpccs_bl.bin
Adding firmware-link /lib/firmware/nvidia/gm206/gr/gpccs_bl.bin
+ ln -rs /var/tmp/mkinitramfs_S838WR//usr/lib/firmware/nvidia/gm200/gr/gpccs_bl.bin /var/tmp/mkinitramfs_S838WR//lib/firmware/nvidia/gm206/gr/gpccs_bl.bin
+ src=/usr/lib/firmware/nvidia/gm200/gr/gpccs_bl.bin
+ target=/usr/lib/firmware/nvidia/gm200/gr/gpccs_bl.bin
+ [ -e /var/tmp/mkinitramfs_S838WR//usr/lib/firmware/nvidia/gm200/gr/gpccs_bl.bin ]
+ return 1

Maybe the check should also use cmp.

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

Kernel: Linux 4.8.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages initramfs-tools-core depends on:
ii  cpio         2.11+dfsg-6
ii  klibc-utils  2.0.4-9
ii  kmod         23-1
ii  udev         232-7

Versions of packages initramfs-tools-core recommends:
ii  busybox  1:1.22.0-19

Versions of packages initramfs-tools-core suggests:
ii  bash-completion  1:2.1-4.3

- -- no debconf information

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

iQJGBAEBCAAwFiEErvI0h2bzccaJpzYAlaQv6DU1JfkFAlhH6JcSHGJlcm5hdEBk
ZWJpYW4ub3JnAAoJEJWkL+g1NSX5r14P/ReRizb2CEv6yNYqJXgwpM8BdwgRkOPJ
6xVzf/gLYuZaxEtCnH2bi9Z6Y3f1ExBJE9G5bNmfSrF9Q8Zpaignifp392a1/HS7
ZE2Q4g6O6LkOB/N29711jd9lEoJfuNYh1g3X77fFO27htZohpkR3sN39k3fJdajd
fTvlm7qnUIyeBT7iC2nq8AZMDWJuY5xZ5ziSDoYB9oxNvCGSJIg+0Q+4XTKmunvA
EcQHrM+0AvaEMkikgoM/Bg7HIEBSp0xtlHPT2hQf1R127zd8urUdpIwzxriWattg
UVdIPGY0GbpIGO8eWNEbsCaEP1oX0cQqnT+e9gqdqCkeFPbxqVGthRKfNX4IEzBc
ZnOFB38t5pt+J9DScj5ZpK2WFJTgaY1Q/ckdK2zRcnNb9hJdOHxUjDRFCI8AOvFx
ouNMxU1hnNgEf1GFri8xwYfDDyS1PoXREY6odYRsvZkrR7a0NWQV2EXf8HSQzewb
vB79DOFw5+vpkaW/RI3YHCMM7hiNOPCiIGw1JLmGA5TXRnsK++k4dtN+mZP5Eptd
ud7zpaCu2RyFaENdVca0yXvw8AenuxOXLEneGAKmElyWIIlwShGrKp5Ru0L56J0J
fz3vNvgf111CC5cQwNRV+FvqRoy+9vzgU9ZTSyAS4oVk2zwtgBfHA1xw+AN0Ub/b
qRH2Li4kr/Zq
=dZqX
-----END PGP SIGNATURE-----

--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.126

We believe that the bug you reported is fixed in the latest version of
initramfs-tools, 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 847325@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ben Hutchings <ben@decadent.org.uk> (supplier of updated initramfs-tools 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 15 Dec 2016 22:43:05 +0000
Source: initramfs-tools
Binary: initramfs-tools initramfs-tools-core
Architecture: source
Version: 0.126
Distribution: unstable
Urgency: medium
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Ben Hutchings <ben@decadent.org.uk>
Description:
 initramfs-tools - generic modular initramfs generator (automation)
 initramfs-tools-core - generic modular initramfs generator (core tools)
Closes: 822671 824385 825687 825929 829280 845581 847325
Changes:
 initramfs-tools (0.126) unstable; urgency=medium
 .
   [ Ben Hutchings ]
   * [0b2266e] bash-completion: Fix installation of update-initramfs completion
     script.  Thanks to Stephan Suerken <absurd@debian.org>.  (Closes: #824385)
   * [7d875ad] Revert "hook-functions: Add detached module signatures if present"
   * [b0a5f26] update-initramfs, hooks/resume: Use ischroot command instead of
     our own function
   * [385e3fc] hook-functions: Make copy_file return 0 on creating a link to an
     existing file (Closes: #847325)
   * [82f4bcf] Fix initramfs.conf move to ensure default values are upgraded.
     Thanks to Andreas Beckmann <anbe@debian.org> (Closes: #822671, #825929)
   * [d9f77c1] Remove obsolete bash-completion file on upgrade.
     Thanks to Andreas Beckmann <anbe@debian.org>
   * [4a10868] Remove code that prunes 'broken' symlinks and sometimes /etc/mtab
     (Closes: #845581)
   * [dc2323f] auto_add_modules: Add all I2C bus and mux drivers when
     MODULES=most (Closes: #825687)
   * [811f408] maintainer-notes.html: Update 'git buildpackage' commands to use
     gbp too
   * [cd33566] maintainer-notes.html: Fix post-clean option to gbp buildpackage
   * [f54d7f0] Use debhelper compatibility level 9
   * [5221375] debian/control: Update Standards-Version to 3.9.8; no changes
     needed
   * [c48108d] Revert "initramfs-tools: Install script to be invoked by
     linux-signed postinst"
   * [12744eb] unmkinitramfs: Rewrite command syntax
   * [c7f241f] unmkinitramfs: Unpack early and main cpio archives in separate
     directories
   * [b804348] initramfs-tools: Remove obsolete linux-signed postinst script on
     upgrade
 .
   [ Michael Prokop ]
   * [30dfbbd] mkinitramfs: consider *.conf files only, also from
     /lib/modprobe.d/ + don't complain about empty dirs (Closes: #829280)
 .
   [ Kevin Locke ]
   * [f1f18a4] Create unmkinitramfs command
Checksums-Sha1:
 464bda9e10e8c7af98134ab792100bbb64fa94da 1831 initramfs-tools_0.126.dsc
 9b4907625a3267359db479bf4e1e56f3714951ae 85592 initramfs-tools_0.126.tar.xz
Checksums-Sha256:
 0d68cf0938ae9eb12a5c4b66ba8fe29fad77f94e04f86f038ae8ad461a6e7b90 1831 initramfs-tools_0.126.dsc
 cdc4f68a1ecee26ef4c7a067ca76143cbb29643239aaa210a344a4db9501bdbb 85592 initramfs-tools_0.126.tar.xz
Files:
 6208455c21e4bfa5c5de4dc070006b66 1831 utils optional initramfs-tools_0.126.dsc
 7a8a5982ee493c3b5edd8720e1d5270e 85592 utils optional initramfs-tools_0.126.tar.xz

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

iQIzBAEBCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAlhTIcAACgkQ57/I7JWG
EQmRHA/9GuubTZbFGDr615ZoF0zIxY8cXcq3W8KGv00ikYdzX4hyVJvNHWOeWnn2
zf/xsgD6SSO2keiwLyZ59a8UD9Ipv/e7dwRSwlyXjtnC8NmfrPk0pUakJMtzH9mH
yQ3dP7Jc8L4mD8QKP4ch46rpBq0osEij7HB1ENg5Z58HQb01mRU/8CpiKqeoPm7J
aQ+pBoCE9iYVPJCnpNOPwD3VLbpFnMWWEvDvUn9WMuJozylnYh9pYpGfsenM4rK4
JxAPlqIh3LlH3G5mqlcYadsGIhGHh4dyZhnoMtgBntVI4l9LCmfSTcNttiO4eWa+
tNFsgOywtuJozoQFg6uSf55WnmhC2xdtPA1td/GbpqMMvDgDaOA9hzMGvX0wFsGN
CdvOk9OYI7ET9zDCkLwU8pWOH78RvdHmBUH7gkp7Ak6HvunDSTndZAxaY4hRRzlT
wTAGseKq3h6SZ01g/44MvUrhZbHDVWokV2GzEnckziy/2tuYRj7wszCRd5kcaK06
FFJDdEpYVuIaUosMv7qTpWlWRQBJxzUCbCStr6gq90iYLEXVQMfYGT+QobQwYEkq
CW9DZr0U9cznqci6U3osgC8VVVhm1AdbfmBrSJiRAkY6HxwEWfROqPry79mq0U2x
mZRpO4tzdO57dHS3+Q9TAfJpoXWSXwBdEzx+mdh3eK9ZF7OGVSI=
=VMuJ
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: