I've created a simple patch for the util-linux ebuild that improves the "script" command, enabling it to run an arbitrary command rather than just an interactive shell. This improved command could then be used in portage to make the per-ebuild logging work better. The maintainer of the util-linux package has indicated that he likes the idea and is planning to include it in the next release, so I think it would be nice to get the functionality incorporated into the 2.11z ebuild so that we can begin to use it. I'll attach a patch for the ebuild file and the patch that implements the new feature.
Created attachment 12084 [details, diff] Patch to create my suggested util-linux-2.11z-r3 ebuild To create: cp util-linux-2.11z-r2.ebuild util-linux-2.11z-r3.ebuild patch -p0 <util-linux-ebuild.patch
Created attachment 12085 [details, diff] The patch to enhance the "script" command Put util-linux-2.11z-script.patch into the files dir.
added as -r4, thanks.