[Yaird-devel] Bug#584565: Bug#584565: [PATCH] enable yaird for kernel.org 2.6.33.4
Jonas Smedegaard
dr at jones.dk
Sat Jun 5 17:32:01 UTC 2010
Hi Nils,
On Fri, Jun 04, 2010 at 06:14:58PM +0200, Nils Radtke wrote:
> Thanks for yaird. I take it as a great program that required hard
> work for tying everything up and knotting it against bare kernel /sys
> files. It's about aiming at a moving target.
>
> That's also the reason why I have to file this report as yaird breaks
> regularly w/ kernel internals changing. But this is well-known, as
> previous reports witness.
>
> yaird failed to create an initramfs image on kernel 2.6.33.4. I
> believe it used to work w/ kernel 2.6.27.4, 2.6.29, 2.6.30 as I use
> yaird initramfs images with those kernels. For kernel 2.6.33.4 though
> I had to patch some files.
>
> I like yaird for the small images and I avoid any kernel-specific
> modules as it's more portable across kernel versions.
I am happy to hear that others find yaird usefull too.
And I am especially excited that you provide patches to make it work
with recent kernels!
Your patches are not enough for me, however, and I wonder if you perhaps
have applied other patches too, that might be relevant to include as
well.
>Though the patch for /usr/sbin/yaird doesn't quite fit into this report
>I filed it inline. Maybe it's better suited for the man page.
>
>It tried to fix the copy function using File::Copy::Recursive::rmove
>but that fails due to inadequate special file handling. Didn't find a
>better solution, so just giving an annotation for users wondering. BTW,
>it seems this fs boundary copy problem is caused by a debian-specific
>modification of yaird using secure temporary files/dirs. As my /tmp is
>a tmpfs, this is due to fail when not using something like:
> yaird -f directory -o /tmp/initramfs_2.6.33.4
>Where the target is on the same fs.
Yes, I think the comment is better suited in the man page - and should
probably be added to the README as well.
You call it a Debian-specific modification. Are you aware of yaird
being used naywhere else than in Debian?
Kind regards,
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/yaird-devel/attachments/20100605/3aa869bc/attachment.pgp>
More information about the Yaird-devel
mailing list