Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#22461 - /etc/services missing, causing nfs-server to fail

Attached to Project: Arch Linux
Opened by Stephen E. Baker (TheCycoONE) - Sunday, 16 January 2011, 16:37 GMT
Last edited by Allan McRae (Allan) - Friday, 18 February 2011, 23:23 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After an update I was no longer able to connect to my nfs server running Arch Linux. /etc/rc.d/nfs-server gave the following error message:

rpcbind: cannot get local address for udp: servname
not supported for ai_socktype

After some investigation I found this forum:
https://bbs.archlinux.org/viewtopic.php?pid=819774

iana-etc was installed, but /etc/services was missing. Reinstalling iana-etc fixed the problem.

Additional info:
iana-etc 2.30-1

I do not update that computer very often; it had probably not previously been updated since mid 2010.
This task depends upon

Closed by  Allan McRae (Allan)
Friday, 18 February 2011, 23:23 GMT
Reason for closing:  Works for me
Comment by Dan McGee (toofishes) - Wednesday, 19 January 2011, 14:54 GMT
1. Define "update". If it wasn't "-Syu", you are in unsupported territory.
2. What version of iana-etc was installed? These files changed packages a while back.
Comment by Stephen E. Baker (TheCycoONE) - Thursday, 20 January 2011, 02:10 GMT
It was a pacman -Syu.

How would I know what version was previously installed? I never explicitely installed this program, and only realized the problem after investigating why nfs hadn't been working for awhile. I will link the forum back to this bug so maybe someone there can comment further - somehow pacman skipped this file through normal usage.
Comment by Stephen E. Baker (TheCycoONE) - Thursday, 20 January 2011, 02:14 GMT
I'll also note from the forum comments it looks like this occured for people when the file moved from 'filesystem' to 'iana-etc'.
Comment by Dan McGee (toofishes) - Thursday, 20 January 2011, 02:23 GMT
pacman.log, maybe? Please attach any lines from this file that involve filesystem or iana-etc.
Comment by Stephen E. Baker (TheCycoONE) - Saturday, 22 January 2011, 01:26 GMT
iana-etc:
[2010-11-20 20:30] installed iana-etc (2.30-1)
[2011-01-16 11:16] Running 'pacman -S iana-etc'
[2011-01-16 11:16] Running 'pacman -S iana-etc'
[2011-01-16 11:16] upgraded iana-etc (2.30-1 -> 2.30-1)

filesystem:
[2010-05-09 13:35] installed filesystem (2010.02-4)
[2010-12-26 12:23] upgraded filesystem (2010.02-4 -> 2010.12-1)
Comment by Stephen E. Baker (TheCycoONE) - Saturday, 22 January 2011, 01:34 GMT
The 2011-01-16 11:16 is where I fixed the issue by reinstalling the package.

If this file moved from one package to another is it possible that the december upgrade of filesystem deleted the file because it thought it owned it?
Comment by Dan McGee (toofishes) - Saturday, 22 January 2011, 01:45 GMT
Hmm, this is really odd. The filesystem 2010.02-4 package would have included services/protocols files, and yet you somehow managed to still install iana-etc 2.30-1 without updating filesystem at the same time. That should not have been possible; we don't allow two packages to own the same file. Later when you upgraded filesystem to 2010.12-1, the files were probably removed because filesystem still thought it was the owner.

You've also managed to jump a bunch of filesystem package revisions: 2010.11-1, and more importantly 2010.07-1 where the files were removed from filesystem and the new iana-etc package was made a depends. I wonder if something is odd because of this? I can't possibly see what though.

Are you using any sort of pacman wrapper, pacman-cage, etc.? Have you *ever* used pacman -Sf?
Comment by Stephen E. Baker (TheCycoONE) - Saturday, 22 January 2011, 03:13 GMT
No, I've never used any sort of pacman wrapper on that system, and I haven't even heard of pacman -Sf. Just the standard -Syu, and maybe an occasional -Syy.
Comment by Allan McRae (Allan) - Friday, 18 February 2011, 23:23 GMT
I will close this given that file is in the iana-etc package as shown by reinstalling it and I do not think we are going to track down what caused this issue now...

Loading...