From: "Michael A. Kangin" <mak@complife.ru> To: make-initrd@lists.altlinux.org Subject: Re: [make-initrd] master updated Date: Mon, 29 Apr 2019 13:02:36 +0200 Message-ID: <0e3a3ef2-8637-4ca4-1e95-a5c39841996f@complife.ru> (raw) In-Reply-To: <20190426123558.GM9023@dhcp129-178.brq.redhat.com> On 04/26/2019 02:35 PM, Alexey Gladkov wrote: > Я обновил master. Замечательно! Всё прям работает, даже почти не придраться :) > > * Вернул из make-initrd-1x возможность запустить скрипты до и после > сервисов. Хотел уточнить: > Скрипты из директории /lib/initrd/all вызываются перед и после каждого > сервиса. > Все скрипты вызываются с аргументами {start|stop} <servicename> [retcode] Из этой директории, насколько я понял, они вызываются перед стартом каждого сервиса, и непосредственно после старта сервиса, и во втором случае им еще передаётся третьим параметром retcode. Я правильно понял? Вызываются ли они (из /all/ ) еще при остановке сервисов? (я не знаю как протестировать сценарий остановки сервисов, если просто сказать /etc/init.d/service stop, этого недостаточно). > * В route= имя интерфейса обязательно. Насколько я понял, сейчас все три параметра обязательно? сеть, шлюз, интерфейс. Когда я пытаюсь нарисовать link-маршрут route=172.16.0.0/12::eth2, он не применяется. > Изменил обработку macaddr в ip. Теперь MAC меняется у интерфейса, а не > переименовывает интерфейс. Это совпадает с поведением в fedora; Но запрос на DHCP приходит со старого мака. И адрес выдаётся соответственно для старого. Интересно будет посмотреть событие обновление лизы, как бы посреди работы новый IP не схватила. > > Если считать, что утилита nfsroot работает, то используя фичу nfsroot ты > получишь просто корень по NFS. Вот интересно, с этими последними релизами из master она хоть запускаться пытается (при указании заклинания root=/dev/nfs, кстати зачем, nfsroot не хватило бы?) Но таки не работает, ошибки из логов: /var/log/ueventd.log:[2019-04-29 10:54:53] uevent-handler: Running nfsroot handler ... /var/log/ueventd.log:/lib/uevent/handlers/040-nfsroot: line 7: /tmp/net-eth1.conf: No such file or directory /var/log/ueventd.log:[2019-04-29 10:54:53] uevent-handler: Event handler failed: nfsroot И напоминаю, фича dropbear тоже сломана, сислога хочет. -- Michael A. Kangin
next prev parent reply other threads:[~2019-04-29 11:02 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-04-26 12:35 Alexey Gladkov 2019-04-29 11:02 ` Michael A. Kangin [this message] 2019-04-29 12:18 ` Alexey Gladkov 2019-04-29 14:37 ` Michael A. Kangin 2019-04-29 14:49 ` Alexey Gladkov 2019-04-29 15:39 ` Michael A. Kangin 2019-04-29 15:53 ` Leonid Krivoshein 2019-04-29 21:08 ` Alexey Gladkov 2019-04-29 16:26 ` Alexey Gladkov 2019-04-29 16:42 ` Michael A. Kangin 2019-04-29 17:25 ` Alexey Gladkov 2019-04-29 17:46 ` Michael A. Kangin 2019-04-29 21:05 ` Alexey Gladkov
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=0e3a3ef2-8637-4ca4-1e95-a5c39841996f@complife.ru \ --to=mak@complife.ru \ --cc=make-initrd@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
Make-initrd development discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/make-initrd/0 make-initrd/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 make-initrd make-initrd/ http://lore.altlinux.org/make-initrd \ make-initrd@lists.altlinux.org make-initrd@lists.altlinux.ru make-initrd@lists.altlinux.com public-inbox-index make-initrd Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.make-initrd AGPL code for this site: git clone https://public-inbox.org/public-inbox.git