From 3ccdebb1f273782ebcc09837bf5fa59e2c231d59 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Mon, 19 Nov 2012 14:58:41 +0000 Subject: 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. --- fhs-dirs.morph | 1 + services | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 services 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 + -- cgit v1.2.1 From af4d4091d7fcef63814441f86bad101063a05e4f Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Mon, 19 Nov 2012 16:29:52 +0000 Subject: Add nfs to services --- services | 3 +++ 1 file changed, 3 insertions(+) diff --git a/services b/services index b40befd..f56df76 100644 --- a/services +++ b/services @@ -10,4 +10,7 @@ sunrpc 111/tcp portmapper rpcbind sunrpc 111/udp portmapper rpcbind +nfs 2049/tcp nfsd shilp +nfs 2049/udp nfsd shilp +nfs 2049/sctp nfsd shilp -- cgit v1.2.1 From 08cb949868214bc603d764e3206264f28b144516 Mon Sep 17 00:00:00 2001 From: Jonathan Maw Date: Thu, 21 Feb 2013 16:56:55 +0000 Subject: Create pulse user --- passwd | 1 + 1 file changed, 1 insertion(+) diff --git a/passwd b/passwd index edc07d5..9bff55b 100644 --- a/passwd +++ b/passwd @@ -2,4 +2,5 @@ root::0:0:Super user:/root:/bin/sh daemon:x:1:1:daemon:/usr/sbin:/bin/sh sshd:x:50:50::/var/lib/sshd:/bin/false messagebus:x:105:107::/var/run/dbus:/bin/false +pulse::108:109:Pulse Audio:/var/run/pulse:/bin/false nobody:x:65534:65534:nobody:/nonexistent:/bin/false -- cgit v1.2.1 From 0459b5038d0ad7bc2fca0c8ff2d7f7a97a665e6c Mon Sep 17 00:00:00 2001 From: Jonathan Maw Date: Thu, 21 Feb 2013 16:57:26 +0000 Subject: Add all groups required by pulseaudio --- group | 2 ++ 1 file changed, 2 insertions(+) diff --git a/group b/group index f0e803d..75f61ed 100644 --- a/group +++ b/group @@ -14,4 +14,6 @@ video:x:44: sshd:x:50:sshd lock:x:54: messagebus:x:107: +pulse::109: +pulse-access::110:root nogroup:x:65534:nobody -- cgit v1.2.1 From 6ad1347bd213dcb6d4e9096370d7177aaa243699 Mon Sep 17 00:00:00 2001 From: Jonathan Maw Date: Thu, 21 Feb 2013 16:58:43 +0000 Subject: Add pulse to audio group so it can identify hardware --- group | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/group b/group index 75f61ed..ec2fee1 100644 --- a/group +++ b/group @@ -8,7 +8,7 @@ dialout:x:20: cdrom:x:24: floppy:x:25: tape:x:26: -audio:x:29: +audio:x:29:pulse utmp:x:43: video:x:44: sshd:x:50:sshd -- cgit v1.2.1