summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-July/017336.html
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
committerNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
commit1be510f9529cb082f802408b472a77d074b394c0 (patch)
treeb175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/2012-July/017336.html
parentfa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff)
downloadarchives-master.tar
archives-master.tar.gz
archives-master.tar.bz2
archives-master.tar.xz
archives-master.zip
Add zarb MLs html archivesHEADmaster
Diffstat (limited to 'zarb-ml/mageia-dev/2012-July/017336.html')
-rw-r--r--zarb-ml/mageia-dev/2012-July/017336.html238
1 files changed, 238 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-July/017336.html b/zarb-ml/mageia-dev/2012-July/017336.html
new file mode 100644
index 000000000..f39254e93
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-July/017336.html
@@ -0,0 +1,238 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] Planning the /usr move
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Planning%20the%20/usr%20move&In-Reply-To=%3C5001B46B.5040204%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="017270.html">
+ <LINK REL="Next" HREF="017267.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] Planning the /usr move</H1>
+ <B>Colin Guthrie</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Planning%20the%20/usr%20move&In-Reply-To=%3C5001B46B.5040204%40colin.guthr.ie%3E"
+ TITLE="[Mageia-dev] Planning the /usr move">mageia at colin.guthr.ie
+ </A><BR>
+ <I>Sat Jul 14 20:03:23 CEST 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="017270.html">[Mageia-dev] Planning the /usr move
+</A></li>
+ <LI>Next message: <A HREF="017267.html">[Mageia-dev] Complimentary article
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#17336">[ date ]</a>
+ <a href="thread.html#17336">[ thread ]</a>
+ <a href="subject.html#17336">[ subject ]</a>
+ <a href="author.html#17336">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>'Twas brillig, and Colin Guthrie at 11/07/12 14:10 did gyre and gimble:
+&gt;<i> 'Twas brillig, and Colin Guthrie at 11/07/12 12:52 did gyre and gimble:
+</I>&gt;&gt;<i> In a set of follow up emails I'll post some results from investigations
+</I>&gt;&gt;<i> of what packages are affected by the change (preliminary checks are
+</I>&gt;&gt;<i> quite promising in that there are not too many packages that will need
+</I>&gt;&gt;<i> fixed - IIRC fedora found ~30 packages which isn't too bad).
+</I>&gt;<i>
+</I>&gt;<i> OK, here are some results from a small script I wrote.
+</I>&gt;<i>
+</I>&gt;<i> Firstly I ran two commands:
+</I>&gt;<i>
+</I>&gt;<i> urpmf ^/sbin | sort -u &gt;slash-sbin.txt
+</I>&gt;<i> urpmf ^/bin | sort -u &gt;slash-bin.txt
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> Then ran the attached script on each which takes each package name and
+</I>&gt;<i> tries to find any conflicting files in /usr in other packages.
+</I>&gt;<i>
+</I>&gt;<i> Here are the results:
+</I>&gt;<i>
+</I>&gt;<i> /sbin:
+</I>&gt;<i>
+</I>&gt;<i> alsa-utils:self
+</I>&gt;<i> bluez:self
+</I>&gt;<i> davfs2:self
+</I>&gt;<i> info-install:dpkg
+</I>&gt;<i> iputils:self
+</I>&gt;<i> libselinux-utils:self
+</I>&gt;<i> ncpfs:self
+</I>&gt;<i> sound-scripts:self
+</I>&gt;<i> util-linux:self
+</I>&gt;<i> xfsdump:self
+</I>&gt;<i> zapata:dahdi-tools
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> /bin:
+</I>&gt;<i>
+</I>&gt;<i> coreutils:heimdal-workstation
+</I>&gt;<i> findutils:self
+</I>&gt;<i> fuse:self
+</I>&gt;<i> gawk:self
+</I>&gt;<i> gettext-base:self
+</I>&gt;<i> gzip:self
+</I>&gt;<i> kbd:self
+</I>&gt;<i> kmod:self
+</I>&gt;<i> lsb-release:self
+</I>&gt;<i> open:self
+</I>&gt;<i> pdksh:self
+</I>&gt;<i> plymouth:self
+</I>&gt;<i> procps:self
+</I>&gt;<i> sound-scripts:self
+</I>&gt;<i> util-linux:heimdal-login shadow-utils
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> As you can see the results are quite easy. Most of them &quot;self conflict&quot;
+</I>&gt;<i> which is a trivial fix in those packages.
+</I>&gt;<i>
+</I>&gt;<i> The ones that are actually mildly complicated are:
+</I>&gt;<i>
+</I>&gt;<i> info-install:dpkg
+</I>&gt;<i> zapata:dahdi-tools
+</I>&gt;<i> coreutils:heimdal-workstation
+</I>&gt;<i> util-linux:heimdal-login shadow-utils
+</I>&gt;<i>
+</I>&gt;<i> The heimdal-login issues should be mostly OK, as the package itself
+</I>&gt;<i> conflicts with util-linux, but the -workstation provides it's own &quot;su&quot;
+</I>&gt;<i> in /usr/bin. This is likely to be a problem in itself as I'm not sure
+</I>&gt;<i> any package can conflict with core-utils!! I don't know anything about
+</I>&gt;<i> heimdal, so anyone with expertise in the ins and outs of this should
+</I>&gt;<i> speak up!
+</I>&gt;<i>
+</I>&gt;<i> The Only other real problem is that we currently use &quot;login&quot; from
+</I>&gt;<i> shadow-utils (by virtue of it being in /usr/bin) but a /bin/login is
+</I>&gt;<i> provided by util-linux.
+</I>&gt;<i>
+</I>&gt;<i> It seems fedora use the util-linux one and remove binaries from
+</I>&gt;<i> shadow-utils they don't use. If no-one has any strong opinion or
+</I>&gt;<i> knowledge here I'll just follow that pattern.
+</I>&gt;<i>
+</I>&gt;<i> <A HREF="http://pkgs.fedoraproject.org/gitweb/?p=shadow-utils.git;a=blob;f=shadow-utils.spec;hb=HEAD">http://pkgs.fedoraproject.org/gitweb/?p=shadow-utils.git;a=blob;f=shadow-utils.spec;hb=HEAD</A>
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> I've not done checks in the various lib packages (for /lib and /lib64)
+</I>&gt;<i> but I suspect there will be less complications there anyway and mostly
+</I>&gt;<i> just self-conflicts.
+</I>
+OK, so I've now down more analysis and the following should be a
+complete list of package which have issues relating to the same files
+existing in / vs /usr (46 packages in total):
+
+ acl-2.2.51-3.mga2.src.rpm
+ alsa-utils-1.0.25-4.mga2.src.rpm
+ attr-2.4.46-1.mga2.src.rpm
+ bluez-4.101-1.mga3.src.rpm
+ coreutils-8.17-1.mga3.src.rpm
+ davfs2-1.4.6-1.mga1.src.rpm
+ db47-4.7.25-8.mga1.src.rpm
+ db48-4.8.30-8.mga2.src.rpm
+ db51-5.1.25-5.mga2.src.rpm
+ db52-5.2.36-2.mga3.src.rpm
+ dmapi-2.2.10-3.mga1.src.rpm
+ filesystem-2.1.9-17.mga2.src.rpm
+ findutils-4.5.10-1.mga2.src.rpm
+ fuse-2.8.7-1.mga2.src.rpm
+ gawk-4.0.1-1.mga2.src.rpm
+ gcc-4.7.1-3.mga3.src.rpm
+ gettext-0.18.1.1-2.mga2.src.rpm
+ grub-0.97-32.mga1.src.rpm
+ gzip-1.5-1.mga3.src.rpm
+ iputils-20101006-3.mga2.src.rpm
+ kbd-1.15.3-1.mga2.src.rpm
+ kmod-8-1.mga3.src.rpm
+ libselinux-2.0.78-3.mga1.src.rpm
+ libtermcap-2.0.8-51.mga3.src.rpm
+ libusb1-1.0.9-1.mga2.src.rpm
+ libusb-compat-0.1.4-1.mga3.src.rpm
+ lsb-4.1-12.mga3.src.rpm
+ lsb-release-2.0-37.mga3.src.rpm
+ ncpfs-2.2.6-12.mga3.src.rpm
+ ncurses-5.9-6.mga2.src.rpm
+ nspr-4.9.1-1.mga3.src.rpm
+ nss-3.13.5-1.mga3.src.rpm
+ open-1.4-21.mga1.src.rpm
+ pcre-8.21-1.mga2.src.rpm
+ pdksh-5.2.14-29.mga1.src.rpm
+ plymouth-0.8.5.1-1.mga3.src.rpm
+ procps-3.2.8-6.mga1.src.rpm
+ readline-6.2-4.mga2.src.rpm
+ sound-scripts-0.62-9.mga3.src.rpm
+ systemd-186-1.mga3.src.rpm
+ texinfo-4.13a-5.mga3.src.rpm
+ util-linux-2.21.2-1.mga3.src.rpm
+ xfsdump-3.1.0-1.mga2.src.rpm
+ xz-5.0.4-1.mga3.src.rpm
+ zapata-1.4.12.1-2.mga2.src.rpm
+ zlib-1.2.7-3.mga3.src.rpm
+
+
+
+My plan will be to rebuild each of them locally without any kind of
+conflicts (most of them self conflicts as I mentioned previously).
+
+Then I will update the filesystem package and build it locally with the
+rpm test so it cannot be installed unless the filesystem is in a
+suitible state, do the filesystem conversion via dracut, then upgrade
+filesystem package and all the rebuilt packages.
+
+Assuming my system is fine, I will then submit all the packages above
+for build on the buildsystem, update the filesystem package on the
+buildsystem, then rebuild all the above packages again but with an
+additional Requires(pre): filesystem &gt;= $whatever-it-is.
+
+
+Assuming it all works for me, would others be willing to test (on
+x86_64) the packages I'll build? I'll publish them to a custom repo,
+along with detailed instructions on the dracut procedure, for running
+the upgrade.
+
+
+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="017270.html">[Mageia-dev] Planning the /usr move
+</A></li>
+ <LI>Next message: <A HREF="017267.html">[Mageia-dev] Complimentary article
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#17336">[ date ]</a>
+ <a href="thread.html#17336">[ thread ]</a>
+ <a href="subject.html#17336">[ subject ]</a>
+ <a href="author.html#17336">[ 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>