From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/mgorny:master commit in: systemd-units/nfs-utils/files/, systemd-units/rpcbind/, systemd-units/nfs-utils/, ...
Date: Sun, 18 Dec 2011 10:05:26 +0000 (UTC) [thread overview]
Message-ID: <b4c85269c0ed6722d2295aee7230c917a88233ed.mgorny@gentoo> (raw)
commit: b4c85269c0ed6722d2295aee7230c917a88233ed
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 17 18:46:49 2011 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Dec 17 18:46:49 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=b4c85269
Update systemd units.
---
systemd-units/nfs-utils/files/nfs3-client.target.4 | 9 ++++++
systemd-units/nfs-utils/files/nfs4-client.target.4 | 11 +++++++
systemd-units/nfs-utils/files/proc-fs-nfsd.mount.4 | 8 +++++
systemd-units/nfs-utils/files/rpc.gssd.service.4 | 11 +++++++
systemd-units/nfs-utils/files/rpc.idmapd.service.4 | 11 +++++++
systemd-units/nfs-utils/files/rpc.statd.service.4 | 10 +++++++
systemd-units/nfs-utils/files/sm-notify.service.4 | 7 +++++
.../nfs-utils/files/var-lib-nfs-rpc_pipefs.mount.4 | 8 +++++
systemd-units/nfs-utils/nfs-utils-4.ebuild | 29 ++++++++++++++++++++
.../files/{rpcbind.service.1 => rpcbind.service.3} | 0
.../files/{rpcbind.socket.1 => rpcbind.socket.3} | 0
.../rpcbind/{rpcbind-1.ebuild => rpcbind-3.ebuild} | 4 +-
12 files changed, 106 insertions(+), 2 deletions(-)
diff --git a/systemd-units/nfs-utils/files/nfs3-client.target.4 b/systemd-units/nfs-utils/files/nfs3-client.target.4
new file mode 100644
index 0000000..9c35888
--- /dev/null
+++ b/systemd-units/nfs-utils/files/nfs3-client.target.4
@@ -0,0 +1,9 @@
+[Unit]
+Description=Dependencies for NFSv3 mounts
+Requires=rpc.statd.service
+Wants=sm-notify.service
+After=rpc.statd.service sm-notify.service
+Before=remote-fs.target
+
+[Install]
+WantedBy=multi-user.target
diff --git a/systemd-units/nfs-utils/files/nfs4-client.target.4 b/systemd-units/nfs-utils/files/nfs4-client.target.4
new file mode 100644
index 0000000..1f6745f
--- /dev/null
+++ b/systemd-units/nfs-utils/files/nfs4-client.target.4
@@ -0,0 +1,11 @@
+[Unit]
+Description=Dependencies for NFSv4 mounts
+Requires=rpc.idmapd.service
+Requires=rpc.statd.service
+Wants=sm-notify.service
+Wants=rpc.gssd.service
+After=rpc.idmapd.service rpc.statd.service sm-notify.service rpc.gssd.service
+Before=remote-fs.target
+
+[Install]
+WantedBy=multi-user.target
diff --git a/systemd-units/nfs-utils/files/proc-fs-nfsd.mount.4 b/systemd-units/nfs-utils/files/proc-fs-nfsd.mount.4
new file mode 100644
index 0000000..060a206
--- /dev/null
+++ b/systemd-units/nfs-utils/files/proc-fs-nfsd.mount.4
@@ -0,0 +1,8 @@
+[Unit]
+Description=nfsd file system
+DefaultDependencies=no
+
+[Mount]
+What=nfsd
+Where=/proc/fs/nfsd
+Type=nfsd
diff --git a/systemd-units/nfs-utils/files/rpc.gssd.service.4 b/systemd-units/nfs-utils/files/rpc.gssd.service.4
new file mode 100644
index 0000000..2776d31
--- /dev/null
+++ b/systemd-units/nfs-utils/files/rpc.gssd.service.4
@@ -0,0 +1,11 @@
+[Unit]
+Description=NFS rpcsec_gss daemon
+Requires=var-lib-nfs-rpc_pipefs.mount
+Requires=rpcbind.service
+After=syslog.target var-lib-nfs-rpc_pipefs.mount rpcbind.service
+
+[Service]
+ExecStart=/usr/sbin/rpc.gssd -f
+
+[Install]
+WantedBy=multi-user.target
diff --git a/systemd-units/nfs-utils/files/rpc.idmapd.service.4 b/systemd-units/nfs-utils/files/rpc.idmapd.service.4
new file mode 100644
index 0000000..05f396e
--- /dev/null
+++ b/systemd-units/nfs-utils/files/rpc.idmapd.service.4
@@ -0,0 +1,11 @@
+[Unit]
+Description=NFSv4 ID-name mapping daemon
+Wants=var-lib-nfs-rpc_pipefs.mount
+Requires=network.target var-lib-nfs-rpc_pipefs.mount rpcbind.service
+After=syslog.target network.target named.service rpcbind.service
+
+[Service]
+ExecStart=/usr/sbin/rpc.idmapd -f
+
+[Install]
+WantedBy=nfsmount.target
diff --git a/systemd-units/nfs-utils/files/rpc.statd.service.4 b/systemd-units/nfs-utils/files/rpc.statd.service.4
new file mode 100644
index 0000000..a68e033
--- /dev/null
+++ b/systemd-units/nfs-utils/files/rpc.statd.service.4
@@ -0,0 +1,10 @@
+[Unit]
+Description=NFS file locking service
+Requires=rpcbind.service
+After=syslog.target network.target rpcbind.service
+
+[Service]
+ExecStart=/sbin/rpc.statd --no-notify -d -F
+
+[Install]
+WantedBy=multi-user.target
diff --git a/systemd-units/nfs-utils/files/sm-notify.service.4 b/systemd-units/nfs-utils/files/sm-notify.service.4
new file mode 100644
index 0000000..d1fc89b
--- /dev/null
+++ b/systemd-units/nfs-utils/files/sm-notify.service.4
@@ -0,0 +1,7 @@
+[Unit]
+Description=NFS reboot notification service
+Requires=rpcbind.service
+After=syslog.target network.target rpcbind.service
+
+[Service]
+ExecStart=/usr/sbin/sm-notify -d
diff --git a/systemd-units/nfs-utils/files/var-lib-nfs-rpc_pipefs.mount.4 b/systemd-units/nfs-utils/files/var-lib-nfs-rpc_pipefs.mount.4
new file mode 100644
index 0000000..e507290
--- /dev/null
+++ b/systemd-units/nfs-utils/files/var-lib-nfs-rpc_pipefs.mount.4
@@ -0,0 +1,8 @@
+[Unit]
+Description=RPC Pipe File System
+DefaultDependencies=no
+
+[Mount]
+What=rpc_pipefs
+Where=/var/lib/nfs/rpc_pipefs
+Type=rpc_pipefs
diff --git a/systemd-units/nfs-utils/nfs-utils-4.ebuild b/systemd-units/nfs-utils/nfs-utils-4.ebuild
new file mode 100644
index 0000000..b5b1ae6
--- /dev/null
+++ b/systemd-units/nfs-utils/nfs-utils-4.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit systemd
+
+DESCRIPTION="Systemd units for net-fs/nfs-utils"
+HOMEPAGE=""
+SRC_URI=""
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S=${WORKDIR}
+
+src_install() {
+ systemd_newunit "${FILESDIR}"/nfs3-client.target.4 nfs3-client.target
+ systemd_newunit "${FILESDIR}"/nfs4-client.target.4 nfs4-client.target
+ systemd_newunit "${FILESDIR}"/proc-fs-nfsd.mount.4 proc-fs-nfsd.mount
+ systemd_newunit "${FILESDIR}"/rpc.gssd.service.4 rpc.gssd.service
+ systemd_newunit "${FILESDIR}"/rpc.idmapd.service.4 rpc.idmapd.service
+ systemd_newunit "${FILESDIR}"/rpc.statd.service.4 rpc.statd.service
+ systemd_newunit "${FILESDIR}"/sm-notify.service.4 sm-notify.service
+ systemd_newunit "${FILESDIR}"/var-lib-nfs-rpc_pipefs.mount.4 var-lib-nfs-rpc_pipefs.mount
+}
diff --git a/systemd-units/rpcbind/files/rpcbind.service.1 b/systemd-units/rpcbind/files/rpcbind.service.3
similarity index 100%
rename from systemd-units/rpcbind/files/rpcbind.service.1
rename to systemd-units/rpcbind/files/rpcbind.service.3
diff --git a/systemd-units/rpcbind/files/rpcbind.socket.1 b/systemd-units/rpcbind/files/rpcbind.socket.3
similarity index 100%
rename from systemd-units/rpcbind/files/rpcbind.socket.1
rename to systemd-units/rpcbind/files/rpcbind.socket.3
diff --git a/systemd-units/rpcbind/rpcbind-1.ebuild b/systemd-units/rpcbind/rpcbind-3.ebuild
similarity index 70%
rename from systemd-units/rpcbind/rpcbind-1.ebuild
rename to systemd-units/rpcbind/rpcbind-3.ebuild
index 7d508aa..7e6424d 100644
--- a/systemd-units/rpcbind/rpcbind-1.ebuild
+++ b/systemd-units/rpcbind/rpcbind-3.ebuild
@@ -18,6 +18,6 @@ IUSE=""
S=${WORKDIR}
src_install() {
- systemd_newunit "${FILESDIR}"/rpcbind.service.1 rpcbind.service
- systemd_newunit "${FILESDIR}"/rpcbind.socket.1 rpcbind.socket
+ systemd_newunit "${FILESDIR}"/rpcbind.service.3 rpcbind.service
+ systemd_newunit "${FILESDIR}"/rpcbind.socket.3 rpcbind.socket
}
next reply other threads:[~2011-12-18 10:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-18 10:05 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-12-18 10:05 [gentoo-commits] dev/mgorny:master commit in: systemd-units/nfs-utils/files/, systemd-units/rpcbind/, systemd-units/nfs-utils/, Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b4c85269c0ed6722d2295aee7230c917a88233ed.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox