Tiny Core Linux
Tiny Core Base => TCB Bugs => Topic started by: bmarkus on September 30, 2011, 01:05:52 PM
-
/etc/protocols file missing in base. Perls's cpan utility and other programs need it to work properly. Please add it to next cut. It is only 6k.
-
I count 25k, but we'd rather just have the apps depend on iana-etc.tcz since not even all network apps need those.
-
I count 25k, but we'd rather just have the apps depend on iana-etc.tcz since not even all network apps need those.
Thanks. I didn't recognise iana-etc.tcz My fault. Regarding size, it's 6k on my CentOS 6 box. References at the end are stripped. This can be done too here.
There is a two days old discussion here
http://forum.tinycorelinux.net/index.php/topic,11516.0.html (http://forum.tinycorelinux.net/index.php/topic,11516.0.html)
where problem is partly caused by missing /etc/protocols and iana-etc.tcz was not mentioned :(
-
It wasn't mentioned because it was quoting one of my previous posts, and apparently neither the extension author nor I knew about iana-etc.tcz.
Perhaps /etc/services should also be removed from the initrd.
-
protocols is 6k (CentOS) while services is 769k on TC, 641k on CentOS 6. My vote is to add protocols to the base and keep services in extension. This would not influence base but would reduce head ache, see above and possible other cases.
-
There is already a 11349 byte /etc/services file in base.
-
Fine, one more reason to have protocols in base. :)
-
I agree. It should be both or neither, not half a set. If either are needed by base, both should be included.
-
net::ping throws a tcp protocol error during CPAN setup, which is what brought me to /etc/protocols and this thread.
/etc/protocols is needed or networking things break. The one I copied across from Ubuntu Hardy into TC 4.0.1 is only 239 bytes and, rightly or wrongly(?), it fixed CPAN for me.
Otherwise: could iana-etc be added as a mandatory dependency for all extensions that will need it, like Perl?
-
Still I advice to add the whole or a partial file with common protocols to the base.