Gentoo Archives: gentoo-releng

From: Chris Gianelloni <wolf31o2@g.o>
To: gentoo-releng@l.g.o
Subject: Re: [gentoo-releng] samba on the livecds
Date: Wed, 30 Jun 2004 14:19:40
Message-Id: 1088605192.6402.160.camel@localhost
In Reply to: Re: [gentoo-releng] samba on the livecds by Donnie Berkholz
1 On Wed, 2004-06-30 at 09:51, Donnie Berkholz wrote:
2 > On Wed, 2004-06-30 at 09:33, Chris Gianelloni wrote:
3 > > Now, let's look at what it is linked against. This is on my work
4 > > machine, so of course, USE flags will modify this list some, but the
5 > > list is *quite* long here.
6
7 As you can see, I did take USE into consideration. My point was really
8 just that samba can have quite a few dependencies, so we would want to
9 do something to control it.
10
11 > >
12 > > $ ldd smbmount
13 > > linux-gate.so.1 => (0xffffe000)
14 > > libcrypt.so.1 => /lib/libcrypt.so.1 (0x40023000)
15 > > libresolv.so.2 => /lib/libresolv.so.2 (0x40050000)
16 > > libnsl.so.1 => /lib/libnsl.so.1 (0x40062000)
17 > > libdl.so.2 => /lib/libdl.so.2 (0x40076000)
18 > > libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x4007a000)
19 > > libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x40090000)
20 > > libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x400fc000)
21 > > libcom_err.so.3 => /usr/lib/libcom_err.so.3 (0x40126000)
22 > > libldap.so.2 => /usr/lib/libldap.so.2 (0x40129000)
23 > > liblber.so.2 => /usr/lib/liblber.so.2 (0x40159000)
24 > > libc.so.6 => /lib/libc.so.6 (0x40167000)
25 > > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
26 > > libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x40277000)
27 > > libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x402a7000)
28 > >
29 > > Now, I could see that adding a hefty weight to our install media. If we
30 > > really need to add samba to the LiveCD, then I think that we need to
31 > > work something out.
32 >
33 > Also consider what USE flags you compiled samba with when making that
34 > determination. Looks like you've got ldap and kerberos in USE, among
35 > others.
36
37 If we were to include samba, or more precisely smbmount and any
38 *required* libraries, we would want to make sure that we turned off any
39 support that wasn't necessary. I would think we would want to compile
40 it with minimal options. Would we even require pam and readline in
41 USE? I tend to think we could get away with building from the
42 equivalent of USE=-* then only copying the smbmount and the required
43 libraries to the actual system. We're looking for the equivalent of a
44 "samba-client" package, without actually adding one to the tree.
45
46 --
47 Chris Gianelloni
48 Release Engineering QA Manager/Games Developer
49 Gentoo Linux
50
51 Is your power animal a penguin?

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-releng] samba on the livecds Donnie Berkholz <spyderous@g.o>