1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] [changelog] [RPM] cauldron core/release nfs-utils-1.2.6-2.mga3
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bchangelog%5D%20%5BRPM%5D%20cauldron%20core/release%0A%09nfs-utils-1.2.6-2.mga3&In-Reply-To=%3C4FD99B6E.3030805%40colin.guthr.ie%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="016481.html">
<LINK REL="Next" HREF="016500.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] [changelog] [RPM] cauldron core/release nfs-utils-1.2.6-2.mga3</H1>
<B>Colin Guthrie</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bchangelog%5D%20%5BRPM%5D%20cauldron%20core/release%0A%09nfs-utils-1.2.6-2.mga3&In-Reply-To=%3C4FD99B6E.3030805%40colin.guthr.ie%3E"
TITLE="[Mageia-dev] [changelog] [RPM] cauldron core/release nfs-utils-1.2.6-2.mga3">mageia at colin.guthr.ie
</A><BR>
<I>Thu Jun 14 10:06:06 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="016481.html">[Mageia-dev] [changelog] [RPM] cauldron core/release nfs-utils-1.2.6-2.mga3
</A></li>
<LI>Next message: <A HREF="016500.html">[Mageia-dev] [changelog] [RPM] cauldron core/release nfs-utils-1.2.6-2.mga3
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#16493">[ date ]</a>
<a href="thread.html#16493">[ thread ]</a>
<a href="subject.html#16493">[ subject ]</a>
<a href="author.html#16493">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>'Twas brillig, and Olivier Blin at 13/06/12 23:28 did gyre and gimble:
><i> Colin Guthrie <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>> writes:
</I>><i>
</I>>><i> 'Twas brillig, and Guillaume Rousse at 12/06/12 07:26 did gyre and gimble:
</I>>>><i> Le 12/06/2012 02:37, JA Magallón a écrit :
</I>>>>><i> On 06/12/2012 02:29 AM, JA Magallón wrote:
</I>>>>>><i> On 06/11/2012 10:22 PM, guillomovitch wrote:
</I>>>>>>><i> Name : nfs-utils Relocations: (not
</I>>>>>>><i> relocatable)
</I>>>>>>><i> Version : 1.2.6 Vendor: Mageia.Org
</I>>>>>>><i> Release : 2.mga3 Build Date: Mon Jun 11
</I>>>>>>><i> 22:21:14 2012
</I>>>>>>><i> Install Date: (not installed) Build Host:
</I>>>>>>><i> ecosse.mageia.org
</I>>>>>>><i> Group : Networking/Other Source RPM: (none)
</I>>>>>>><i> Size : 787418 License: GPL
</I>>>>>>><i> Signature : (none)
</I>>>>>>><i> Packager : guillomovitch <guillomovitch>
</I>>>>>>><i> URL : <A HREF="http://sourceforge.net/projects/nfs/">http://sourceforge.net/projects/nfs/</A>
</I>>>>>>><i> Summary : The utilities for Linux NFS server
</I>>>>>>><i> Description :
</I>>>>>>><i> This package provides various programs needed for NFS support on
</I>>>>>>><i> server.
</I>>>>>>><i>
</I>>>>>>><i> guillomovitch <guillomovitch> 1:1.2.6-2.mga3:
</I>>>>>>><i> + Revision: 259882
</I>>>>>>><i> - add exports.d directory
</I>>>>>>><i> - use /var/lib/nfs/statd for statd, instead of /var/lib/nfs, as in
</I>>>>>>><i> fedora
</I>>>>>>><i> - add modprobe config file to alias 'nfs4' to 'nfs'
</I>>>>>>><i> - add systemd support
</I>>>>>>><i> - drop sysinit support
</I>>>>>>><i> - merge client and server package, as per redhat setup
</I>>>>>>><i>
</I>>>>>><i>
</I>>>>>><i> Some weird things happen with this and systemd...
</I>>>>>><i> I had nfs server active. After update and reboot, I had no nfs server
</I>>>>>><i> running.
</I>>>>>><i> What do I have to add in systemd to get them working ?
</I>>>>>><i> I got it by:
</I>>>>>><i> systemctl enable nfs.target (still had no server...)
</I>>>>>><i> systemctl enable nfs-server.service
</I>>>>>><i>
</I>>>>>><i> Are those the correct top level units ?
</I>>>>>><i>
</I>>>>>><i> TIA
</I>>>>>><i>
</I>>>>><i>
</I>>>>><i> Ah, and after reboot systemd still shows nfs-common.service:
</I>>>>><i>
</I>>>>><i> werewolf:/etc/systemd# systemctl --all | grep nfs
</I>>>>><i> proc-fs-nfsd.mount loaded active mounted RPC Pipe File
</I>>>>><i> System
</I>>>>><i> nfs-common.service error inactive dead
</I>>>>><i> nfs-common.service
</I>>>>><i> nfs-idmap.service loaded active running NFSv4 ID-name
</I>>>>><i> mapping daemon
</I>>>>><i> nfs-mountd.service loaded active running NFS Mount Daemon
</I>>>>><i> nfs-rquotad.service loaded inactive dead NFS Remote Quota
</I>>>>><i> Server
</I>>>>><i> nfs-server.service loaded active exited NFS Server
</I>>>>><i> nfs.target loaded active active Network File
</I>>>>><i> System Server
</I>>>>><i>
</I>>>>><i> werewolf:/etc/systemd# systemctl status nfs-common.service
</I>>>>><i> nfs-common.service
</I>>>>><i> Loaded: error (Reason: No such file or directory)
</I>>>>><i> Active: inactive (dead) since Tue, 12 Jun 2012 01:30:45 +0200; 1h
</I>>>>><i> 5min ago
</I>>>><i> Same issue here. I think that's just another bogus output of systemctl
</I>>>><i> list-units --all output.
</I>>><i>
</I>>><i> This happens if it's referred to by another unit. i.e. as an After or a
</I>>><i> Before reference etc. It shows up wtthout a proper description and just
</I>>><i> the unit name. I think it would be better to put a generic "[Missing] in
</I>>><i> the description rather than the unit fragment name, but hey ho. Maybe
</I>>><i> this is done already in newer versions.
</I>><i>
</I>><i> Right, we have this in remote-fs-pre.target :
</I>><i> After=nfs-common.service
</I>
Yup, this was added to systemd as nfs-server package did not have native
units. The correct thing is to ensure all the daemons are setup prior to
remote-fs-pre.target.
So the "correct" solution here is to put:
Before=remote-fs-pre.target
In the relevant nfs server units to ensure that NFS mount points are
properly mounted at boot.
See this bug for background (comment 6 in particular):
<A HREF="https://bugs.mageia.org/show_bug.cgi?id=5890#c6">https://bugs.mageia.org/show_bug.cgi?id=5890#c6</A>
Col
--
Colin Guthrie
colin(at)mageia.org
<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A>
Day Job:
Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A>
Open Source:
Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A>
PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A>
Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="016481.html">[Mageia-dev] [changelog] [RPM] cauldron core/release nfs-utils-1.2.6-2.mga3
</A></li>
<LI>Next message: <A HREF="016500.html">[Mageia-dev] [changelog] [RPM] cauldron core/release nfs-utils-1.2.6-2.mga3
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#16493">[ date ]</a>
<a href="thread.html#16493">[ thread ]</a>
<a href="subject.html#16493">[ subject ]</a>
<a href="author.html#16493">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|