ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sergey Afonin <asy@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] OpenVZ/p8, bin/tar: Too many levels of symbolic links
Date: Mon, 12 Apr 2021 10:59:25 +0400
Message-ID: <202104121059.25933.asy@altlinux.org> (raw)
In-Reply-To: <20210330100722.GA27387@altlinux.org>

On Tuesday 30 March 2021, Dmitry V. Levin wrote:

> Интересно, на каком системном вызове это происходит, и как он выглядит?

Как раз подвернулся архив, на котором при распаковке вылезло:

В strace это выглядит как-то так:

newfstatat(AT_FDCWD, "inn/.git/hooks/pre-rebase.sample", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0
unlinkat(AT_FDCWD, "inn/.git/hooks/pre-rebase.sample", 0) = 0
symlinkat("/usr/share/git-core/hooks/pre-rebase", AT_FDCWD, "inn/.git/hooks/pre-rebase.sample") = 0
utimensat(AT_FDCWD, "inn/.git/hooks/pre-rebase.sample", [UTIME_OMIT, {tv_sec=1618208993, tv_nsec=0} /* 2021-04-12T06:29:53+0000 */], AT_SYMLINK_NOFOLLOW) = 0
newfstatat(AT_FDCWD, "inn/.git/hooks/pre-rebase.sample", {st_mode=S_IFLNK|0777, st_size=36, ...}, AT_SYMLINK_NOFOLLOW) = 0
openat(AT_FDCWD, "inn/.git/hooks/pre-rebase.sample", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH) = -1 ELOOP (Too many levels of symbolic links)
write(2, "tar: ", 5tar: )                    = 5
write(2, "inn/.git/hooks/pre-rebase.sample"..., 65inn/.git/hooks/pre-rebase.sample: Cannot change mode to rwxr-xr-x) = 65
write(2, ": Too many levels of symbolic li"..., 35: Too many levels of symbolic links) = 35
write(2, "\n", 1
)                       = 1

-- 
С уважением, Сергей Афонин.


  reply	other threads:[~2021-04-12  6:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-29  8:29 [devel] Сборка и OpenVZ/p8 =?utf-8?b?INC60L7QvdGC0LXQudC90LXRgA==?=, " Sergey Afonin
2021-03-30  9:43 ` Vitaly Lipatov
2021-03-30 10:07 ` Dmitry V. Levin
2021-04-12  6:59   ` Sergey Afonin [this message]
2021-04-12  7:48     ` [devel] OpenVZ/p8, " Alexey Sheplyakov
2021-04-12  9:31       ` Sergey Afonin
2021-04-12  9:41         ` Sergey Afonin
2021-06-01  5:53       ` [devel] symlinks in .git/hooks/ (OpenVZ/p8, bin/tar: Too many levels of symbolic links) Sergey Afonin
2021-06-01  6:00         ` Sergey Afonin
2021-04-12 10:48 ` [devel] OpenVZ/p8 и контейнеры Sergey Afonin
2021-04-12 11:22   ` Sergey Afonin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202104121059.25933.asy@altlinux.org \
    --to=asy@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git