<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <TITLE> [Mageia-dev] [soft-commits] [4584] (systemd_unit_exists) factorize </TITLE> <LINK REL="Index" HREF="index.html" > <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B4584%5D%20%28systemd_unit_exists%29%0A%09factorize&In-Reply-To=%3C4FBD41A4.60703%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="015797.html"> <LINK REL="Next" HREF="015799.html"> </HEAD> <BODY BGCOLOR="#ffffff"> <H1>[Mageia-dev] [soft-commits] [4584] (systemd_unit_exists) factorize</H1> <B>Colin Guthrie</B> <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B4584%5D%20%28systemd_unit_exists%29%0A%09factorize&In-Reply-To=%3C4FBD41A4.60703%40colin.guthr.ie%3E" TITLE="[Mageia-dev] [soft-commits] [4584] (systemd_unit_exists) factorize">mageia at colin.guthr.ie </A><BR> <I>Wed May 23 21:59:32 CEST 2012</I> <P><UL> <LI>Previous message: <A HREF="015797.html">[Mageia-dev] [soft-commits] [4584] (systemd_unit_exists) factorize </A></li> <LI>Next message: <A HREF="015799.html">[Mageia-dev] Mageia 2 DVD 64bits install is broken </A></li> <LI> <B>Messages sorted by:</B> <a href="date.html#15798">[ date ]</a> <a href="thread.html#15798">[ thread ]</a> <a href="subject.html#15798">[ subject ]</a> <a href="author.html#15798">[ author ]</a> </LI> </UL> <HR> <!--beginarticle--> <PRE>'Twas brillig, and David W. Hodgins at 23/05/12 20:46 did gyre and gimble: ><i> On Wed, 23 May 2012 14:38:09 -0400, Colin Guthrie </I>><i> <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>> wrote: </I>><i> </I>>><i> </I>>><i> NAK. No it's not redundant it's very important. The symlinks *will* be </I>>><i> broken when run via the installer due to the $::prefix as they will </I>>><i> point to "non-existent" paths in /lib/systemd/ (not to </I>>><i> /mnt/lib/systemd...) so I treat any symlink that exists (even if it </I>>><i> points to an invalid unit) as "valid" here. </I>><i> </I>><i> Wouldn't it have been better to use relative symlinks then? </I> Yes ideally, but this would require a change at the systemd side too so it's somewhat complicated. In the future I think it will be somewhat moot anyway (I'd like to investigate using systemd in the installer itself and then using systemd-nspawn to be able to introspect and manipulate the state of everything - thus avoiding all this manual poking altogether which is IMO much cleaner. 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="015797.html">[Mageia-dev] [soft-commits] [4584] (systemd_unit_exists) factorize </A></li> <LI>Next message: <A HREF="015799.html">[Mageia-dev] Mageia 2 DVD 64bits install is broken </A></li> <LI> <B>Messages sorted by:</B> <a href="date.html#15798">[ date ]</a> <a href="thread.html#15798">[ thread ]</a> <a href="subject.html#15798">[ subject ]</a> <a href="author.html#15798">[ 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>