ALT Linux Distributions development
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: devel-distro@lists.altlinux.org
Subject: [devel-distro] [SOLVED] "Permission denied" в /vm при попытке применить разбивку
Date: Thu, 14 Jul 2011 09:41:56 +0300
Message-ID: <20110714064156.GG8316@osdn.org.ua> (raw)

	Здравствуйте.
Забавная история, которая наконец прояснилась:

  при невозможности загрузить нужные модули ядра по причине
  их отсутствия alterator-vm выдавал "Operation not permitted"
  в качестве диагностики (хотя на это, наверное, просто ещё
  не наступал -- в mkimage-profiles-desktop так пальнуть себе
  в ногу вроде бы невозможно).

На такое изредка натыкался и раньше, но раскопок и выводов
не делал, а что чинилось при дальнейших очевидных доработках
-- не заметил, оказывается.  Занялся desktop-base и упёрся.

Поскольку _все_ образы server-ovz грузились, включая свежесобранный
-- вытащил build/install2/.work/chroot/.work/chroot из дерева
сборки icewm.iso (который так взрывался) и из дерева сборки
server-ovz.iso (который устанавливается нормально), далее

for i in icewm.iso server-ovz.iso; do cd $i; find >ls-lR; cd ..; done
diff -u {icewm.iso,server-ovz.iso}/ls-lR | less

и стало ясно, что /lib/modules/`uname -r` в install2
проблемного образа не долетают.  Подробности здесь:
http://git.altlinux.org/people/mike/public/?p=mkimage-profiles.git;a=commitdiff;h=72ec59c74ca5f1e794463e448ecf417c1c8c2f58
http://git.altlinux.org/people/mike/public/?p=mkimage-profiles.git;a=blob;f=sub.in/stage1/Makefile;h=9b406ec5f8c22a39dd8921ecb96636f353566070;hb=72ec59c74ca5f1e794463e448ecf417c1c8c2f58#l23

Как бы сделать fallback в одном месте -- пока не придумал,
а повторять финт ушами со squashfs.mk не хочется -- он и так
некрасивый...

--
PS: было написанное вчера письмо:
 
---
Сразу оговорюсь: возможно, это race сборки install2 вследствие
отличий mkimage-profiles от mkimage-profiles-desktop, поскольку
раньше иногда вылазило, но исправлялось пересборкой образа
(и _не_ объезжалось повторным стартом с того же).
 
Сейчас у меня 100% воспроизводится получение окошка
"Operation not permitted" при попытке нажать "Next",
выбрав "Destroy all partitions, then autopartition"
на любых собираемых образах при установке под virtualbox
(диск на tmpfs, права на запись у пользователя есть).
 
При этом в /tmp/wizard.log криминала не замечаю:
[...]
("/evms/profiles/server" language ("") action apply commit #t clearall #t exclude())
;anser: (#t)
("/evms/control" language ("") action "write" control commit)
("/evms/control" language ("") action "write" control reset)
;anser: empty
 
Подсунул в качестве исошки собранную в марте тоже из сизифа
http://ftp.linux.kiev.ua/pub/Linux/ALT/people/mike/iso/ovz/openvz-server-1.0-20110320-x86_64-install.iso
-- поехало бегом.
 
FIXME: http://ftp.linux.kiev.ua/pub/Linux/ALT/people/mike/iso/ovz/server-ovz-20110616-x86_64.iso
---

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


                 reply	other threads:[~2011-07-14  6:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20110714064156.GG8316@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=devel-distro@lists.altlinux.org \
    --cc=shigorin@gmail.com \
    /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 Distributions development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-distro/0 devel-distro/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-distro devel-distro/ http://lore.altlinux.org/devel-distro \
		devel-distro@lists.altlinux.org devel-distro@lists.altlinux.ru devel-distro@lists.altlinux.com
	public-inbox-index devel-distro

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


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