<!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:
&gt;<i> Colin Guthrie &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>&gt; writes:
</I>&gt;<i> 
</I>&gt;&gt;<i> 'Twas brillig, and Guillaume Rousse at 12/06/12 07:26 did gyre and gimble:
</I>&gt;&gt;&gt;<i> Le 12/06/2012 02:37, JA Magall&#243;n a &#233;crit :
</I>&gt;&gt;&gt;&gt;<i> On 06/12/2012 02:29 AM, JA Magall&#243;n wrote:
</I>&gt;&gt;&gt;&gt;&gt;<i> On 06/11/2012 10:22 PM, guillomovitch wrote:
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> Name        : nfs-utils                    Relocations: (not
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> relocatable)
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> Version     : 1.2.6                             Vendor: Mageia.Org
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> Release     : 2.mga3                        Build Date: Mon Jun 11
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> 22:21:14 2012
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> Install Date: (not installed)               Build Host:
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> ecosse.mageia.org
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> Group       : Networking/Other              Source RPM: (none)
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> Size        : 787418                           License: GPL
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> Signature   : (none)
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> Packager    : guillomovitch &lt;guillomovitch&gt;
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> URL         : <A HREF="http://sourceforge.net/projects/nfs/">http://sourceforge.net/projects/nfs/</A>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> Summary     : The utilities for Linux NFS server
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> Description :
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> This package provides various programs needed for NFS support on
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> server.
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> guillomovitch &lt;guillomovitch&gt; 1:1.2.6-2.mga3:
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> + Revision: 259882
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> - add exports.d directory
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> - use /var/lib/nfs/statd for statd, instead of /var/lib/nfs, as in
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> fedora
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> - add modprobe config file to alias 'nfs4' to 'nfs'
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> - add systemd support
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> - drop sysinit support
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> - merge client and server package, as per redhat setup
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i> Some weird things happen with this and systemd...
</I>&gt;&gt;&gt;&gt;&gt;<i> I had nfs server active. After update and reboot, I had no nfs server
</I>&gt;&gt;&gt;&gt;&gt;<i> running.
</I>&gt;&gt;&gt;&gt;&gt;<i> What do I have to add in systemd to get them working ?
</I>&gt;&gt;&gt;&gt;&gt;<i> I got it by:
</I>&gt;&gt;&gt;&gt;&gt;<i> systemctl enable nfs.target (still had no server...)
</I>&gt;&gt;&gt;&gt;&gt;<i> systemctl enable nfs-server.service
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i> Are those the correct top level units ?
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i> TIA
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> Ah, and after reboot systemd still shows nfs-common.service:
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> werewolf:/etc/systemd# systemctl --all | grep nfs
</I>&gt;&gt;&gt;&gt;<i> proc-fs-nfsd.mount        loaded active   mounted       RPC Pipe File
</I>&gt;&gt;&gt;&gt;<i> System
</I>&gt;&gt;&gt;&gt;<i> nfs-common.service        error  inactive dead         
</I>&gt;&gt;&gt;&gt;<i> nfs-common.service
</I>&gt;&gt;&gt;&gt;<i> nfs-idmap.service         loaded active   running       NFSv4 ID-name
</I>&gt;&gt;&gt;&gt;<i> mapping daemon
</I>&gt;&gt;&gt;&gt;<i> nfs-mountd.service        loaded active   running       NFS Mount Daemon
</I>&gt;&gt;&gt;&gt;<i> nfs-rquotad.service       loaded inactive dead          NFS Remote Quota
</I>&gt;&gt;&gt;&gt;<i> Server
</I>&gt;&gt;&gt;&gt;<i> nfs-server.service        loaded active   exited        NFS Server
</I>&gt;&gt;&gt;&gt;<i> nfs.target                loaded active   active        Network File
</I>&gt;&gt;&gt;&gt;<i> System Server
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> werewolf:/etc/systemd# systemctl status nfs-common.service
</I>&gt;&gt;&gt;&gt;<i> nfs-common.service
</I>&gt;&gt;&gt;&gt;<i>        Loaded: error (Reason: No such file or directory)
</I>&gt;&gt;&gt;&gt;<i>        Active: inactive (dead) since Tue, 12 Jun 2012 01:30:45 +0200; 1h
</I>&gt;&gt;&gt;&gt;<i> 5min ago
</I>&gt;&gt;&gt;<i> Same issue here. I think that's just another bogus output of systemctl
</I>&gt;&gt;&gt;<i> list-units --all output.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> This happens if it's referred to by another unit. i.e. as an After or a
</I>&gt;&gt;<i> Before reference etc. It shows up wtthout a proper description and just
</I>&gt;&gt;<i> the unit name. I think it would be better to put a generic &quot;[Missing] in
</I>&gt;&gt;<i> the description rather than the unit fragment name, but hey ho. Maybe
</I>&gt;&gt;<i> this is done already in newer versions.
</I>&gt;<i> 
</I>&gt;<i> Right, we have this in remote-fs-pre.target :
</I>&gt;<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 &quot;correct&quot; 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>