Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Development (http://www.linux-archive.org/fedora-development/)
-   -   minimal install set tuning (http://www.linux-archive.org/fedora-development/710889-minimal-install-set-tuning.html)

Adam Jackson 10-09-2012 04:34 PM

minimal install set tuning
 
On 10/9/12 9:18 AM, Lennart Poettering wrote:


From the list of packages this minimal set still installs, that I'd
really like to see gone:

chkconfig
gamin
info
systemd-sysv


chkconfig seems like it could have the 'alternatives' bit split off.
I've not investigated this in detail.


gamin is glib2's fault. Strictly it's an implementation detail, it's
not like the glib headers expose gamin types. It's a little irritating
that you end up with both libfam.so and libgamin-1.so installed, with
literally identical APIs.


info looks like it's only getting pulled in for /sbin/install-info in
%post. There are several cats to skin here. The stanza for this in
coreutils.spec looks suspiciously like something we could fix at build
time instead, though this might not be the only thing in the transaction
wanting info I suppose. We could split install-info to its own
subpackage if we wanted, it's tiny. And anybody doing minimal images
like this could run a second pass of package cleanup that removes things
that were only needed for Requires({pre,post}).


As for systemd-sysv, pretty sure you know more about that than I do.

- ajax
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Alexander Larsson 10-10-2012 09:36 AM

minimal install set tuning
 
On tis, 2012-10-09 at 12:34 -0400, Adam Jackson wrote:
> On 10/9/12 9:18 AM, Lennart Poettering wrote:
>
> > From the list of packages this minimal set still installs, that I'd
> > really like to see gone:
> >
> > chkconfig
> > gamin
> > info
> > systemd-sysv
>
> chkconfig seems like it could have the 'alternatives' bit split off.
> I've not investigated this in detail.
>
> gamin is glib2's fault. Strictly it's an implementation detail, it's
> not like the glib headers expose gamin types. It's a little irritating
> that you end up with both libfam.so and libgamin-1.so installed, with
> literally identical APIs.

Honestly, we should be building glib2 with --disable-fam, since glib
will prefer the inotify notification module anyway (it has prio 20 and
fam prio 10).


--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Michael Cronenworth 10-10-2012 01:16 PM

minimal install set tuning
 
Alexander Larsson wrote:
> Honestly, we should be building glib2 with --disable-fam, since glib
> will prefer the inotify notification module anyway (it has prio 20 and
> fam prio 10).

It looks[1] like Matthias was watching this thread. Yay!

[1]
http://pkgs.fedoraproject.org/cgit/glib2.git/commit/?id=3d798c3fdcbab4255323c570fcfc0090bd2980df
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Daniel Veillard 10-11-2012 08:10 AM

minimal install set tuning
 
On Wed, Oct 10, 2012 at 08:16:49AM -0500, Michael Cronenworth wrote:
> Alexander Larsson wrote:
> > Honestly, we should be building glib2 with --disable-fam, since glib
> > will prefer the inotify notification module anyway (it has prio 20 and
> > fam prio 10).
>
> It looks[1] like Matthias was watching this thread. Yay!
>
> [1]
> http://pkgs.fedoraproject.org/cgit/glib2.git/commit/?id=3d798c3fdcbab4255323c570fcfc0090bd2980df

Let's celebrate one less use of gamin !

Daniel

--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Adam Jackson 10-11-2012 03:21 PM

minimal install set tuning
 
On 10/9/12 12:34 PM, Adam Jackson wrote:

On 10/9/12 9:18 AM, Lennart Poettering wrote:

From the list of packages this minimal set still installs, that I'd
really like to see gone:

chkconfig
gamin
info
systemd-sysv


chkconfig seems like it could have the 'alternatives' bit split off.
I've not investigated this in detail.


Took a look this morning, it appears alternatives is almost completely
orthogonal to the rest of the package. Naturally the bit that ruins
everything is translations since the locale data is all mushed together
among alternatives chkconfig and ntsysv, but that's straightforward to
detangle. (Not that I've done so.) That'd drop the size on disk from
~700k for chkconfig to probably around 400k for just alternatives. Not
a huge win, but not terrible either, and certainly Correct for a systemd
world.


Bug filed: https://bugzilla.redhat.com/show_bug.cgi?id=865496

Better, though, is looking at what's pulling it in, a Requires(post) in
openssh-server (actually for %triggerun and %triggerpostun, but rpm
doesn't know how to Requires for those), and in particular for upgrading
from versions of openssh-server older than what shipped in F16 Gold.
And, the scriptlets are properly immunized against /sbin/chkconfig not
existing, which means strictly we could drop the Requires(post) for it
already.


Bug filed: https://bugzilla.redhat.com/show_bug.cgi?id=865498

- ajax
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


All times are GMT. The time now is 07:03 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.