diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-June/016494.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-June/016494.html | 149 |
1 files changed, 149 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-June/016494.html b/zarb-ml/mageia-dev/2012-June/016494.html new file mode 100644 index 000000000..b503aad6f --- /dev/null +++ b/zarb-ml/mageia-dev/2012-June/016494.html @@ -0,0 +1,149 @@ +<!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=%3C4FD99D64.3010108%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="016492.html"> + <LINK REL="Next" HREF="016413.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=%3C4FD99D64.3010108%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:14:28 CEST 2012</I> + <P><UL> + <LI>Previous message: <A HREF="016492.html">[Mageia-dev] [changelog] [RPM] cauldron core/release nfs-utils-1.2.6-2.mga3 +</A></li> + <LI>Next message: <A HREF="016413.html">[Mageia-dev] [Mageia-discuss] Accessibility in Mageia +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#16494">[ date ]</a> + <a href="thread.html#16494">[ thread ]</a> + <a href="subject.html#16494">[ subject ]</a> + <a href="author.html#16494">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>'Twas brillig, and Guillaume Rousse at 14/06/12 08:30 did gyre and gimble: +><i> Le 14/06/2012 00:30, Olivier Blin a écrit : +</I>>><i> JA Magallón <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">jamagallon at ono.com</A>> writes: +</I>>><i> +</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> +</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>>><i> It seems the service are not enabled automatically at package install. +</I>>><i> Guillaume, is there any reason why you did not add any %_post_service +</I>>><i> scriptlet for all these new systemd units? +</I>><i> Mainly because I still don't understand the exact relationship between +</I>><i> the 8 different services, some of them being apparently alternatives +</I>><i> nfs-secure-server.service vs nfs-server.service), other very specifics +</I>><i> services (nfs-rquotad.service). So, the basic idea of automatically +</I>><i> enabling the service of any installed package, because installing it +</I>><i> usually denote the intent of using it, doesn't match very well here. +</I>><i> Especially since the merge of clients and server packages. +</I>><i> +</I>><i> Also, I have no idea about how to handle the mismatch between the old +</I>><i> sysinit service scripts (one for all clients service, one for all server +</I>><i> services) during the upgrade, for already configured services. +</I> +Yeah, I'm not sure how best to handle this either, but I'd suspect most +of the NFS related servers would be bound together by a target of some +sort (nfs-server.target?) I've not looked but that would be my guess as +to how it would work. Then each of the required parts of an nfs-server +can have .wants links shipped in the package (e.g. +/lib/systemd/system/nfs-server.target.wants/nfs-rquotad.service). + +Of course if these sub-components are optional pats of an "nfs server", +then they shouldn't have symlinks shipped in the package. The ones we +want to "enable by default" should be enabled in a %post script when the +package is installed *for the first time* and by a %triggerun of the +version that they were removed to handle upgrades (see systemd package +for example of this). + +As these sub components should all have their install section with: +[Install] +WantedBy=nfs-server.target + +All you should need to do to migrate sysvinit to systemd is to look for +the enabled sysvinit scripts and enable the nfs-server.target (the +target unit itself should contain an install section that means it's +WantedBy=multi-user.target. + + +But I've not really looked at the Fedora units or our nfs package since +these updates so take the above as a general comment only :) + +Cheers + +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="016492.html">[Mageia-dev] [changelog] [RPM] cauldron core/release nfs-utils-1.2.6-2.mga3 +</A></li> + <LI>Next message: <A HREF="016413.html">[Mageia-dev] [Mageia-discuss] Accessibility in Mageia +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#16494">[ date ]</a> + <a href="thread.html#16494">[ thread ]</a> + <a href="subject.html#16494">[ subject ]</a> + <a href="author.html#16494">[ 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> |