From: Dominik Menke <dom@digineo.de>
To: buildroot@busybox.net
Subject: [Buildroot] Possible conflict with systemd and e2fsprogs?
Date: Mon, 29 Apr 2019 11:01:11 +0200 [thread overview]
Message-ID: <b3efb298-2353-ce88-552b-34fbe26df110@digineo.de> (raw)
In-Reply-To: <4e0cc833-814c-3cc6-deb3-6539a0f92f4f@mind.be>
On 4/27/19 11:47 PM, Arnout Vandecappelle wrote:
> I've tried to reproduce in qemu, but it works fine there. This is the defconfig
> I used:
>
> [...]
> BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_20=y
> [...]
In 2019.02.x, I can only find max. 4.19, do I need master?
> and this is the qemu command to launch:
>
> qemu-system-arm -M vexpress-a9 \
> -drive "file=output/images/rootfs.ext2,if=sd,format=raw" \
> -append "root=/dev/mmcblk0 rootfstype=ext4 rootwait ro console=ttyAMA0" \
> -net nic,model=lan9118 -net user -dtb output/images/vexpress-v2p-ca9.dtb \
> -serial stdio -kernel output/images/zImage
EXT4-fs (mmcblk0): mounted filesystem with ordered data mode. Opts:
(null)
VFS: Mounted root (ext4 filesystem) readonly on device 179:0.
devtmpfs: mounted
Freeing unused kernel memory: 1024K
Run /sbin/init as init process
FATAL: kernel too old
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
(obvious error is obvious :-))
>>> package/systemd/Config.in does select BR2_PACKAGE_UTIL_LINUX_FSCK precisely for
>>> this reason...
>>> I'm adding Carlos (who added that) in Cc, maybe he has something to say about it.
>>>
>>> ? If it now needs the fsck from e2fsprogs, then it is getting a little tricky to
>>> do the right thing. We'd have to revert the dependency between e2fsprogs fsck
>>> and util-linux fsck.
>>
>> I don't think systemd needs e2fsprog's fsck. *I* need e2fsprogs, but only for
>> its resize2fs (nevertheless, it also installs /sbin/fsck.ext4). However, systemd
>> finds /sbin/fsck.ext4, and proceeds to execute /sbin/fsck.
>>
>> My current working theory is that /sbin/fsck then in turn calls out to
>> /sbin/fsck.ext4. As far as I can tell, /sbin/fsck originates from util-linux,
>> while /sbin/fsck.* come from e2fsprogs.
>
> Yes indeed. And all that is exactly how it's supposed to work. So I don't
> really understand why it doesn't work for you.
I will investigate further.
Kind Regards,
Dominik
next prev parent reply other threads:[~2019-04-29 9:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-25 18:15 [Buildroot] Possible conflict with systemd and e2fsprogs? Dominik Menke
2019-04-27 17:56 ` Arnout Vandecappelle
2019-04-27 21:20 ` Dominik Menke
2019-04-27 21:47 ` Arnout Vandecappelle
2019-04-29 9:01 ` Dominik Menke [this message]
2019-04-29 16:18 ` Dominik Menke
2019-04-29 20:37 ` Arnout Vandecappelle
2019-04-30 10:23 ` Dominik Menke
2019-04-27 18:08 ` Yann E. MORIN
2019-04-27 21:02 ` Dominik Menke
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=b3efb298-2353-ce88-552b-34fbe26df110@digineo.de \
--to=dom@digineo.de \
--cc=buildroot@busybox.net \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.