From: Anton Farygin <rider@altlinux.com>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] mkimage and fs.protected_hardlinks
Date: Wed, 16 Apr 2014 15:36:14 +0400
Message-ID: <lilpve$dsk$1@ger.gmane.org> (raw)
In-Reply-To: <20140416105502.56315189@table.localdomain>
On 16.04.2014 10:55, Anton V. Boyarshinov wrote:
> Добрый день
>
> В Mon, 19 Aug 2013 10:01:29 +0400
> Alexey Gladkov <legion@altlinux.ru> пишет:
>
>> 14.05.2013 08:01, Dmitry V. Levin wrote:
>>> Скорее всего, на mkimage:
>>> HEAD:tools/mki-image-prepare:ln -- "$chroot"/.fakedata
>>> "$chroot"/.image/.fakedata
>>
>> Те проблемы для решения которых предназначен protected_hardlinks не
>> касаются mkimage. Ошибка возникает лишь тогда, когда пользователь,
>> запустивший mkimage, делает линк на данные псевдопользователей.
>> Он создаёт хардлинки для экономии места и ускорения сборки.
> Проблема, неожиданно (видимо, в результате обновления сборочного
> сервера), проявилась иначе:
> ---------------------------
> mki-copy-our2out: has started executing.
> './altinst' ->
> '/tmp/.private/boyarsh/mkimage.install2.vy7BXMMwq/.out/altinst' cp:
> cannot create hard link
> '/tmp/.private/boyarsh/mkimage.install2.vy7BXMMwq/.out/altinst' to
> './altinst': Operation not permitted
> ---------------------------
> Видимо, надо добавить в get_copy_args проверку состояния
> fs.protected_hardlinks
Хех, я уже давно на это нарвался.
cat /etc/sysctl.d/mkimage.conf
fs.protected_hardlinks = 0
next prev parent reply other threads:[~2014-04-16 11:36 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-14 3:15 [sisyphus] p7 hasher Starodumoff Ilya
2013-05-14 3:33 ` Starodumoff Ilya
2013-05-14 4:12 ` Mike Lykov
2013-05-14 4:14 ` Starodumoff Ilya
2013-05-14 16:43 ` Дмитрий Ханжин
2013-05-14 17:57 ` [sisyphus] /lib/sysctl.d/50-default.conf vs /etc/sysctl.conf Dmitry V. Levin
2013-05-14 3:55 ` [sisyphus] p7 hasher Дмитрий Ханжин
2013-05-14 4:01 ` [sisyphus] mkimage and fs.protected_hardlinks Dmitry V. Levin
2013-08-16 18:02 ` Michael Shigorin
2013-08-17 15:09 ` Дмитрий Ханжин
2013-08-19 6:01 ` Alexey Gladkov
2013-08-19 7:20 ` Dmitry V. Levin
2013-08-19 7:31 ` Alexey Gladkov
2014-04-16 6:55 ` Anton V. Boyarshinov
2014-04-16 11:36 ` Anton Farygin [this message]
2014-04-19 17:02 ` Michael Shigorin
2013-10-18 15:14 ` Dmitry V. Levin
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='lilpve$dsk$1@ger.gmane.org' \
--to=rider@altlinux.com \
--cc=sisyphus@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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git