Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #64063 > unrolled thread

Bug#928689: initramfs-tools: Fails with "cp: failed to access '/var/tmp/mkinitramfs_URATxd//usr/bin/touch': Too many levels of symbolic links"

Started byAxel Beckert <abe@debian.org>
First post2019-05-09 00:50 +0200
Last post2019-08-23 10:10 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.debian.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#928689: initramfs-tools: Fails with "cp: failed to access '/var/tmp/mkinitramfs_URATxd//usr/bin/touch': Too many levels of symbolic links" Axel Beckert <abe@debian.org> - 2019-05-09 00:50 +0200
    Bug#928689: marked as done (initramfs-tools: Fails with "cp:  failed to access '/var/tmp/mkinitramfs_URATxd//usr/bin/touch': Too many  levels of symbolic links") "Debian Bug Tracking System" <owner@bugs.debian.org> - 2019-07-28 03:00 +0200
    Bug#928689: marked as done (initramfs-tools: Fails with "cp:  failed to access '/var/tmp/mkinitramfs_URATxd//usr/bin/touch': Too many  levels of symbolic links") "Debian Bug Tracking System" <owner@bugs.debian.org> - 2019-08-23 10:10 +0200

#64063 — Bug#928689: initramfs-tools: Fails with "cp: failed to access '/var/tmp/mkinitramfs_URATxd//usr/bin/touch': Too many levels of symbolic links"

FromAxel Beckert <abe@debian.org>
Date2019-05-09 00:50 +0200
SubjectBug#928689: initramfs-tools: Fails with "cp: failed to access '/var/tmp/mkinitramfs_URATxd//usr/bin/touch': Too many levels of symbolic links"
Message-ID<xVDxU-6p3-3@gated-at.bofh.it>
Package: initramfs-tools
Version: 0.133
Severity: serious
Control: affects -1 + fsprotect

On an i386 Sid system (non-usrmerge and sysvinit-core), generating the
initramfs fails as follows for at least every kernel installed or
upgraded since the problem appeared the first time a while ago:

/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.19.0-4-686-pae
cp: failed to access '/var/tmp/mkinitramfs_URATxd//usr/bin/touch': Too many levels of symbolic links
E: /usr/share/initramfs-tools/hooks/fsprotect failed with return 1.
update-initramfs: failed for /boot/initrd.img-4.19.0-4-686-pae with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-4.19.0-4-686-pae (--configure):
 installed linux-image-4.19.0-4-686-pae package post-installation script subprocess returned error exit status 1

According to Ben Hutchings in
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915830#54 this is an
issue in initramfs-tools and not in fsprotect:

> This is a bug in initramfs-tools.  The copy_file function applies two
> transformations to the target filename:
> 
> 1. If it matches /bin/*, /lib*, or /sbin/*, add /usr to the beginning
>    since the initramfs is usrmerged.
> 2. If it refers a directory, add the basename of the source filename.
> 
> These need to be done in the opposite order, to handle a target
> filename of "/bin" correctly.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

[toc] | [next] | [standalone]


#64570 — Bug#928689: marked as done (initramfs-tools: Fails with "cp: failed to access '/var/tmp/mkinitramfs_URATxd//usr/bin/touch': Too many levels of symbolic links")

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2019-07-28 03:00 +0200
SubjectBug#928689: marked as done (initramfs-tools: Fails with "cp: failed to access '/var/tmp/mkinitramfs_URATxd//usr/bin/touch': Too many levels of symbolic links")
Message-ID<yoFHA-1TM-5@gated-at.bofh.it>
In reply to#64063

[Multipart message — attachments visible in raw view] — view raw

Your message dated Sun, 28 Jul 2019 00:50:51 +0000
with message-id <E1hrXOl-0009Ar-IP@fasolo.debian.org>
and subject line Bug#928689: fixed in initramfs-tools 0.134
has caused the Debian Bug report #928689,
regarding initramfs-tools: Fails with "cp: failed to access '/var/tmp/mkinitramfs_URATxd//usr/bin/touch': Too many levels of symbolic links"
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.)


-- 
928689: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=928689
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#64890 — Bug#928689: marked as done (initramfs-tools: Fails with "cp: failed to access '/var/tmp/mkinitramfs_URATxd//usr/bin/touch': Too many levels of symbolic links")

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2019-08-23 10:10 +0200
SubjectBug#928689: marked as done (initramfs-tools: Fails with "cp: failed to access '/var/tmp/mkinitramfs_URATxd//usr/bin/touch': Too many levels of symbolic links")
Message-ID<yycNX-11G-1@gated-at.bofh.it>
In reply to#64063

[Multipart message — attachments visible in raw view] — view raw

Your message dated Fri, 23 Aug 2019 07:57:03 +0000
with message-id <E1i14RT-00065X-GP@fasolo.debian.org>
and subject line Bug#928689: fixed in initramfs-tools 0.133+deb10u1
has caused the Debian Bug report #928689,
regarding initramfs-tools: Fails with "cp: failed to access '/var/tmp/mkinitramfs_URATxd//usr/bin/touch': Too many levels of symbolic links"
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.)


-- 
928689: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=928689
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web