WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: protocols file missing  (Read 5054 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
protocols file missing
« 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.
Béla
Ham Radio callsign: HA5DI

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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: protocols file missing
« Reply #1 on: September 30, 2011, 02:09:31 PM »
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, 02:24:01 PM »
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, 02:32:51 PM 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, 03: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, 05: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, 05: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: October 01, 2011, 02:32:45 AM »
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, 12:15:08 PM »
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, 04: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, 04: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, 04: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."