From: maximilian attems <max-U9r9yeDMy7A@public.gmane.org>
To: Jon Ander Hernandez <jonan.h-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Debian/Ubuntu patches
Date: Thu, 11 Nov 2010 21:30:31 +0100 [thread overview]
Message-ID: <20101111203031.GB3336@stro.at> (raw)
In-Reply-To: <AANLkTi=MCfaK5K-ZV3gvrFCzezJdjAMf-WY_VgM64dHA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On Wed, 10 Nov 2010, Jon Ander Hernandez wrote:
> 2010/11/10 maximilian attems <max-U9r9yeDMy7A@public.gmane.org>:
>
> > yes, but didn't understand your reply and short of time..
> > this seems like a chicken and egg trouble, please rephrase more coherently.
>
> I'm sorry, I need to improve my English. :-)
>
> I meant that if we ship Dracut with the kernel postinst script
> (/etc/kernel/postinst), then the next time a linux image is installed,
> that script will be fired and a Dracut based initramfs will be created
> for that new kernel.
>
> But when we install Dracut for the first time, there is not any Dracut
> based initramfs installed on the system, and Dracut package's postinst
> calls actually only call "dracut-update-initramfs -u" which only
> updates the initramfs images present in the system (in this case no
> one). So after installing Dracut you won't get a Dracut based image
> for the kernel you are using, which is not very consistent with the
> behaviour of creating the initramfs for any new kernel installed
> afterwards.
no, no this wrong logic.
first of all the linux image depends on the a linux initramfs creator
tool and thus this is installed *before* linux-2.6.
> I understand that is the linux kernel package's mission to call the
> kernel postinst scripts under /etc/kernel/postinst, but... I think we
> should do something. Maybe make the current linux kernel package call
> the /etc/kernel/postinst scripts, or maybe call
> dracut-update-initramfs, which was what I was doing in my original
> patch... ¿What could be the best solution?
the proposed create seems really wrong, I would nack any postinst
in debian or escalate as serious bug.
if you want hostile takeover that is up to the local admin
and only one command away
update-intramfs-dracut -t -u -k all
--
maks
next prev parent reply other threads:[~2010-11-11 20:30 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-08 18:50 Debian/Ubuntu patches Jon Ander Hernandez
[not found] ` <AANLkTikEPsCQzMSJbhwuO95Br+7aYJPw9zbVRd4Y8vOC-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-11-08 21:27 ` maximilian attems
2010-11-09 9:11 ` Seewer Philippe
[not found] ` <4CD9102B.7030702-omB+W0Dpw2o@public.gmane.org>
2010-11-09 11:11 ` Jon Ander Hernandez
[not found] ` <AANLkTi=EkL7ivKKj6ck3w6RuOOq++cGwtP_pX0HHhVWu-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-11-09 12:58 ` maximilian attems
[not found] ` <20101109125820.GO19612-VJknIhvjf2Ov8OlOgJ4AIV6hYfS7NtTn@public.gmane.org>
2010-11-09 13:53 ` Jon Ander Hernandez
2010-11-09 13:56 ` Jon Ander Hernandez
2010-11-09 22:13 ` Jon Ander Hernandez
[not found] ` <AANLkTimfYTDFkUgk3x0ry6Z1Q_COYyij5CKMs_50t9MK-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-11-10 19:44 ` Jon Ander Hernandez
[not found] ` <AANLkTikGCZofdYvX78vw+Rj_XmKyY1FmVcp_NT=_B_fF-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-11-10 19:58 ` maximilian attems
[not found] ` <20101110195826.GA8486-VJknIhvjf2Ov8OlOgJ4AIV6hYfS7NtTn@public.gmane.org>
2010-11-10 21:18 ` Jon Ander Hernandez
[not found] ` <AANLkTi=MCfaK5K-ZV3gvrFCzezJdjAMf-WY_VgM64dHA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-11-11 20:30 ` maximilian attems [this message]
[not found] ` <20101111203031.GB3336-U9r9yeDMy7A@public.gmane.org>
2010-11-12 20:54 ` Jon Ander Hernandez
[not found] ` <AANLkTinfZNiQ14XD3OAC8WasnGXi6bcD9WJipvKS0f1S@mail.gmail.com>
[not found] ` <AANLkTinfZNiQ14XD3OAC8WasnGXi6bcD9WJipvKS0f1S-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-11-09 14:00 ` maximilian attems
[not found] ` <20101109140028.GP19612-VJknIhvjf2Ov8OlOgJ4AIV6hYfS7NtTn@public.gmane.org>
2010-11-10 16:21 ` Jon Ander Hernandez
[not found] ` <AANLkTi=Mc4qBA7yhExb2VCCGyMNCXq+k9BZ=JhZpN4GE-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-11-10 16:32 ` maximilian attems
2010-11-09 11:19 ` Jon Ander Hernandez
[not found] ` <AANLkTi=N9QZZ0tKzBab78kuZ=X7nOThC5DKpss40XBze-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-11-09 12:07 ` Seewer Philippe
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=20101111203031.GB3336@stro.at \
--to=max-u9r9yedmy7a@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=jonan.h-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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
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.