blob: b34f51a62add56b558b56c196c8b4eeca9d71995 (
plain)
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
|
<!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=%3C4FFD7B35.9040906%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="017269.html">
<LINK REL="Next" HREF="017336.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=%3C4FFD7B35.9040906%40colin.guthr.ie%3E"
TITLE="[Mageia-dev] Planning the /usr move">mageia at colin.guthr.ie
</A><BR>
<I>Wed Jul 11 15:10:13 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="017269.html">[Mageia-dev] Planning the /usr move
</A></li>
<LI>Next message: <A HREF="017336.html">[Mageia-dev] Planning the /usr move
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#17270">[ date ]</a>
<a href="thread.html#17270">[ thread ]</a>
<a href="subject.html#17270">[ subject ]</a>
<a href="author.html#17270">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>'Twas brillig, and Colin Guthrie at 11/07/12 12:52 did gyre and gimble:
><i> In a set of follow up emails I'll post some results from investigations
</I>><i> of what packages are affected by the change (preliminary checks are
</I>><i> quite promising in that there are not too many packages that will need
</I>><i> fixed - IIRC fedora found ~30 packages which isn't too bad).
</I>
OK, here are some results from a small script I wrote.
Firstly I ran two commands:
urpmf ^/sbin | sort -u >slash-sbin.txt
urpmf ^/bin | sort -u >slash-bin.txt
Then ran the attached script on each which takes each package name and
tries to find any conflicting files in /usr in other packages.
Here are the results:
/sbin:
alsa-utils:self
bluez:self
davfs2:self
info-install:dpkg
iputils:self
libselinux-utils:self
ncpfs:self
sound-scripts:self
util-linux:self
xfsdump:self
zapata:dahdi-tools
/bin:
coreutils:heimdal-workstation
findutils:self
fuse:self
gawk:self
gettext-base:self
gzip:self
kbd:self
kmod:self
lsb-release:self
open:self
pdksh:self
plymouth:self
procps:self
sound-scripts:self
util-linux:heimdal-login shadow-utils
As you can see the results are quite easy. Most of them "self conflict"
which is a trivial fix in those packages.
The ones that are actually mildly complicated are:
info-install:dpkg
zapata:dahdi-tools
coreutils:heimdal-workstation
util-linux:heimdal-login shadow-utils
The heimdal-login issues should be mostly OK, as the package itself
conflicts with util-linux, but the -workstation provides it's own "su"
in /usr/bin. This is likely to be a problem in itself as I'm not sure
any package can conflict with core-utils!! I don't know anything about
heimdal, so anyone with expertise in the ins and outs of this should
speak up!
The Only other real problem is that we currently use "login" from
shadow-utils (by virtue of it being in /usr/bin) but a /bin/login is
provided by util-linux.
It seems fedora use the util-linux one and remove binaries from
shadow-utils they don't use. If no-one has any strong opinion or
knowledge here I'll just follow that pattern.
<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've not done checks in the various lib packages (for /lib and /lib64)
but I suspect there will be less complications there anyway and mostly
just self-conflicts.
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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check.sh
Type: application/x-shellscript
Size: 786 bytes
Desc: not available
URL: </pipermail/mageia-dev/attachments/20120711/3b0f3073/attachment.bin>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="017269.html">[Mageia-dev] Planning the /usr move
</A></li>
<LI>Next message: <A HREF="017336.html">[Mageia-dev] Planning the /usr move
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#17270">[ date ]</a>
<a href="thread.html#17270">[ thread ]</a>
<a href="subject.html#17270">[ subject ]</a>
<a href="author.html#17270">[ 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>
|