summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2012-11-19 14:58:41 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2012-11-19 14:58:42 +0000
commit3ccdebb1f273782ebcc09837bf5fa59e2c231d59 (patch)
tree7cc96daf445fa53e2717db72220395d27389cf31
parentd8dfd88661da6d99970cb66c5799ab346380a7a3 (diff)
downloadfhs-dirs-3ccdebb1f273782ebcc09837bf5fa59e2c231d59.tar.gz
Add minimal /etc/services
The full list is between 188 and 750KB, which is too much to be in foundation. The current file is what is required for nfs to work, which would ideally go in the nfs stratum, but since we can't merge files in /etc I have put it here in fhs-dirs to avoid confusion when we add other network services.
-rw-r--r--fhs-dirs.morph1
-rw-r--r--services13
2 files changed, 14 insertions, 0 deletions
diff --git a/fhs-dirs.morph b/fhs-dirs.morph
index 169cca1..fcf3bf9 100644
--- a/fhs-dirs.morph
+++ b/fhs-dirs.morph
@@ -11,6 +11,7 @@
"install -m 644 group \"$DESTDIR/etc/group\"",
"install -m 644 ld.so.conf \"$DESTDIR/etc/ld.so.conf\"",
"install -m 644 issue \"$DESTDIR/etc/issue\"",
+ "install -m 644 services \"$DESTDIR/etc/services\"",
"echo baserock > \"$DESTDIR\"/etc/hostname"
]
}
diff --git a/services b/services
new file mode 100644
index 0000000..b40befd
--- /dev/null
+++ b/services
@@ -0,0 +1,13 @@
+# Minimal services file
+#
+# The traditional full list of services, available from this package:
+# http://sethwklein.net/iana-etc
+# is 188KB completely stripped, and doesn't belong in /etc anyway.
+#
+# This file is not in Baserock right now, but could happily live in
+# its own chunk, installed to /usr/share (this might require some
+# libc patching to work correctly).
+
+sunrpc 111/tcp portmapper rpcbind
+sunrpc 111/udp portmapper rpcbind
+