You need to allow the chroot environment to issue mknod() syscalls.

If you google a bit, it's a well known thing. Especially if you are
using some kind of containerization.

On Tue, Apr 21, 2015 at 7:32 PM, mudler <[email protected]> wrote:
> Personally i think this is an unwanted feature, but i actually don't know,
> in my case i felt i was doing a quick and dirty hack.
>
> Fabio, can you put some light on this?
>
> For the docs:
> Maybe should be documented in the wiki as caveats/hack.
>
>
> Il 21 aprile 2015 17:44:49 CEST, Steven Cristian
> <[email protected]> ha scritto:
>>
>> Can I haz some tech details on that? And can we document it somewhere :D ?
>>
>> On Tue, Apr 21, 2015 at 6:41 PM, mudler <[email protected]> wrote:
>>>
>>> Yep, had similar issues, compiling the kernel from emerge. putting for
>>> debug an "id" call inside genkernel scripts revealed that the building
>>> process was with the portage user, so i solved allowing mknode to portage
>>>
>>>
>>> Il 21 aprile 2015 17:00:14 CEST, Steven Cristian
>>> <[email protected]> ha scritto:
>>>>
>>>> Anyone had problems with mknod not having permission within chroot
>>>> (while using genkernel-next) ?
>>>>
>>>> * initramfs: >> Initializing...
>>>> *         >> Appending base_layout cpio data...
>>>> mknod: 'console': Operation not permitted
>>>> * ERROR: cannot mknod
>>>> *
>>>> * -- Grepping log... --
>>>>
>>>> --
>>>> Main OS Architect at Project RoGentos (Romanian Gentoo Operating
>>>> Systems) Group. Based on Sabayon and Gentoo Linux, Kogaion GNU/Linux and
>>>> Argent GNU/Linux tends to offer support mainly for all Romanian Linux users
>>>> and entrepreneurs which seek to learn an open and free system based on true
>>>> values :)
>>>> http://rogentos.ro
>>>> www.facebook.com/RogentosLinux
>>>> https://plus.google.com/106559511636021124919/ Google+
>>>>
>>>>
>>>
>>> --
>>> Inviato dal mio dispositivo Android con K-9 Mail. Perdonate la brevità.
>>>
>>>
>>>
>>
>>
>>
>> --
>> Main OS Architect at Project RoGentos (Romanian Gentoo Operating Systems)
>> Group. Based on Sabayon and Gentoo Linux, Kogaion GNU/Linux and Argent
>> GNU/Linux tends to offer support mainly for all Romanian Linux users and
>> entrepreneurs which seek to learn an open and free system based on true
>> values :)
>> http://rogentos.ro
>> www.facebook.com/RogentosLinux
>> https://plus.google.com/106559511636021124919/ Google+
>>
>>
>
> --
> Inviato dal mio dispositivo Android con K-9 Mail. Perdonate la brevità.
>
>
>



-- 
Fabio Erculiani

Reply via email to