WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: protocols file missing  (Read 4433 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
protocols file missing
« on: September 30, 2011, 10:05:52 AM »
/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.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10960
Re: protocols file missing
« Reply #1 on: September 30, 2011, 11:09:31 AM »
I count 25k, but we'd rather just have the apps depend on iana-etc.tcz since not even all network apps need those.
The only barriers that can stop you are the ones you create yourself.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: protocols file missing
« Reply #2 on: September 30, 2011, 11:24:01 AM »
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

where problem is partly caused by missing /etc/protocols and iana-etc.tcz was not mentioned :(
« Last Edit: September 30, 2011, 11:32:51 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: protocols file missing
« Reply #3 on: September 30, 2011, 12:59:59 PM »
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.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: protocols file missing
« Reply #4 on: September 30, 2011, 02:10:11 PM »
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.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: protocols file missing
« Reply #5 on: September 30, 2011, 02:22:20 PM »
There is already a 11349 byte /etc/services file in base.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: protocols file missing
« Reply #6 on: September 30, 2011, 11:32:45 PM »
Fine, one more reason to have protocols in base. :)
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: protocols file missing
« Reply #7 on: October 01, 2011, 09:15:08 AM »
I agree. It should be both or neither, not half a set.  If either are needed by base, both should be included.

Offline wdef

  • Jr. Member
  • **
  • Posts: 59
Re: protocols file missing
« Reply #8 on: October 13, 2011, 01:38:58 AM »
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?


« Last Edit: October 13, 2011, 01:43:45 AM by wdef »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: protocols file missing
« Reply #9 on: October 13, 2011, 01:50:45 AM »
Still I advice to add the whole or a partial file with common protocols to the base.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."