ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: ALT Linux Sisyphus mailing list <sisyphus@lists.altlinux.org>
Cc: Alexey Gladkov <legion@altlinux.ru>
Subject: Re: [sisyphus] mkimage and fs.protected_hardlinks
Date: Fri, 16 Aug 2013 21:02:33 +0300
Message-ID: <20130816180233.GA2445@osdn.org.ua> (raw)
In-Reply-To: <20130514040059.GA14294@altlinux.org>

On Tue, May 14, 2013 at 08:01:00AM +0400, Dmitry V. Levin wrote:
> > >Пытаюсь собрать образ на tmpfs (без tmpfs аналогично)
> > >На t6 нормально собирается
> > >Настройки hasher-priv аналогичные
> > >
> > >ln: failed to create hard link
> > >'/home/u/hasher/m/mz/.work/chroot/.image/.fakedata' =>
> > >'/home/u/hasher/m/mz/.work/chroot/.fakedata': Operation not permitted
> > >
> > >в dmesg
> > >type=1702 audit(1368498201.405:2): op=linkat action=denied pid=23814
> > >comm="ln" path="/home/u/hasher/m/installer/.work/chroot/.fakedata"
> > >dev="tmpfs" ino=701040
> > >
> > >nosuid нигде нет
> > >
> > >В какую сторону покопать ?
> > Если у Вас systemd- то это оно.  Я тоже это поймал, но не
> > успел написать.  Перевод системы не SysVinit поможет, как и,
> > видимо откат systemd до 198.  Некогда повесить внятную багу.
> Скорее всего, на mkimage:
> HEAD:tools/mki-image-prepare:ln -- "$chroot"/.fakedata "$chroot"/.image/.fakedata

С учётом логики выше этой строчки не совсем понятно, какая замена
нужна и уместно ли cp с заменой контроля одинаковости inode
на контроль одинаковости, например, md5sum.

Размер .fakedata относительно невелик, ~260k для ve/bare.tar в m-p.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


  reply	other threads:[~2013-08-16 18:02 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 [this message]
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
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=20130816180233.GA2445@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=legion@altlinux.ru \
    --cc=shigorin@gmail.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