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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] ANNOUNCE: The /usr move cometh! <---- Instructions
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20ANNOUNCE%3A%20The%20/usr%20move%20cometh%21%20%3C----%20Instructions&In-Reply-To=%3C20120723112528.1aa4ac3c%40lap.shlomifish.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="017586.html">
<LINK REL="Next" HREF="017589.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- Instructions</H1>
<B>Shlomi Fish</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20ANNOUNCE%3A%20The%20/usr%20move%20cometh%21%20%3C----%20Instructions&In-Reply-To=%3C20120723112528.1aa4ac3c%40lap.shlomifish.org%3E"
TITLE="[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- Instructions">shlomif at shlomifish.org
</A><BR>
<I>Mon Jul 23 10:25:28 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="017586.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- Instructions
</A></li>
<LI>Next message: <A HREF="017589.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- Instructions
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#17587">[ date ]</a>
<a href="thread.html#17587">[ thread ]</a>
<a href="subject.html#17587">[ subject ]</a>
<a href="author.html#17587">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Hi Colin,
On Sun, 22 Jul 2012 18:18:34 +0100
Colin Guthrie <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>> wrote:
>><i> OK, I did all that and now I am getting:
</I>><i> >>
</I>><i> >> [QUOTE]
</I>><i> >> installing findutils-4.5.10-2.mga3.x86_64.rpm lib64plymouth2-0.8.6.1-2.mga3.x86_64.rpm filesystem-2.1.9-18.mga3.x86_64.rpm lib64ncursesw-devel-5.9-7.mga3.x86_64.rpm plymouth-plugin-script-0.8.6.1-2.mga3.x86_64.rpm lib64ncurses5-5.9-7.mga3.x86_64.rpm ncurses-5.9-7.mga3.x86_64.rpm plymouth-plugin-label-0.8.6.1-2.mga3.x86_64.rpm lib64dbjava5.1-5.1.29-4.mga3.x86_64.rpm lib64ncursesw5-5.9-7.mga3.x86_64.rpm lib64ncurses-devel-5.9-7.mga3.x86_64.rpm from /var/cache/urpmi/rpms
</I>><i> >> Preparing... #############################################
</I>><i> >> 1/69: filesystem #############################################
</I>><i> >> error: unpacking of archive failed on file /var/lock: cpio: rename failed - Is a directory
</I>><i> >> error: filesystem-2.1.9-18.mga3.x86_64: install failed
</I>><i> >> 2/69: ncurses #############################################
</I>><i> >> 3/69: lib64ncurses5 #############################################
</I>><i> >> 4/69: lib64plymouth2 #############################################
</I>><i> >> 5/69: plymouth-plugin-label #############################################
</I>><i> >> 6/69: lib64ncursesw5 #############################################
</I>><i> >> 7/69: lib64ncursesw-devel #############################################
</I>><i> >> 8/69: plymouth-plugin-script
</I>><i> >> #############################################
</I>><i> >> 9/69: lib64ncurses-devel #############################################
</I>><i> >> 10/69: findutils #############################################
</I>><i> >> 11/69: lib64dbjava5.1 #############################################
</I>><i> >> [/QUOTE]
</I>><i> >>
</I>><i> >> And the rest of the packages refuse to install.
</I>><i> >
</I>><i> > OK, I figured out. After I ran as root:
</I>><i> >
</I>><i> > # cd /var
</I>><i> > # mv lock lock.ol
</I>><i> > # mv run run.old
</I>><i> >
</I>><i> > It was fixed and I was able to install the "filesystem" package and the rest
</I>><i> > of the packages. However, something like that should not happen.
</I>><i>
</I>><i>
</I>><i> Well, this should have been done for you. Did you already have
</I>><i> run.runmove~ and lock.lockmove~ folders in /var?
</I>><i>
</I>
I don't believe I had those.
><i> If so then I suspect something is killing the symlinks.
</I>><i>
</I>><i> I did have this problem initially too because the
</I>><i> mandriva-clean-var-run-lock.service file would actually delete the
</I>><i> symlinks and then some other system (perhaps systemd-tmpfiles) actually
</I>><i> recreated the /var/run and /var/lock folders.
</I>><i>
</I>><i> In the latest version of the dracut script I ensured that I disabled
</I>><i> that script by deleting the service file.
</I>><i>
</I>><i> Can you double check that rebooting again doesn't "reconvert" the links
</I>><i> back to dirs for /var/run and /var/lock because if so, then there could
</I>><i> be some other "cleaning" config somewhere that I've missed.
</I>><i>
</I>
After a reboot /var looks like this:
[QUOTE]
<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">shlomif at telaviv1</A>:~$ ls -l /var
total 92
drwxr-xr-x 2 root root 4096 Jun 27 13:13 agentx
drwxr-xr-x 11 root root 4096 Jul 21 21:22 cache
drwxr-xr-x 3 root root 4096 Jul 21 21:22 db
drwxr-xr-x 2 root root 4096 Jul 21 21:22 empty
drwxr-xr-x 5 root root 4096 Jun 28 05:07 games
drwxr-xr-x 56 root root 4096 Jul 21 21:22 lib
drwxr-xr-x 2 root root 4096 Jul 21 21:22 local
lrwxrwxrwx 1 root root 11 Jul 22 19:41 lock;500c2d1c -> ../run/lock
lrwxrwxrwx 1 root root 11 Jul 22 19:41 lock;500c2d38 -> ../run/lock
lrwxrwxrwx 1 root root 11 Jul 22 19:46 lock;500c2e50 -> ../run/lock
drwxrwxr-x 4 root uucp 4096 Jul 16 04:02 lock.old
drwxr-xr-x 16 root root 4096 Jul 22 20:18 log
drwx------ 2 root root 16384 Sep 12 2011 lost+found
lrwxrwxrwx 1 root root 10 Jul 22 19:48 mail -> spool/mail
drwxr-xr-x 2 root root 4096 Jul 21 21:22 nis
drwxr-xr-x 2 root root 4096 Jul 22 20:16 nmbd
drwxr-xr-x 2 root root 4096 Jul 21 21:22 opt
drwxr-xr-x 2 root root 4096 Jul 21 21:22 preserve
drwxr-xr-x 11 root root 4096 Jul 23 11:01 run
lrwxrwxrwx 1 root root 6 Jul 22 19:47 run;500c2e9e -> ../run
drwxr-xr-x 26 root root 4096 Jul 22 19:38 run.old
drwxr-xr-x 11 root root 4096 Jul 21 21:22 spool
drwxrwxrwt 4 root root 4096 Jul 22 22:49 tmp
drwxr-xr-x 4 root root 4096 Jul 17 14:47 www
drwxr-xr-x 2 root root 4096 Jul 21 21:22 yp
[/QUOTE]
BTW, I should note that right now after a few reboots, I am getting these
symtoms:
1. I cannot run pm-suspend as user "shlomif", only as root.
2. On X, I am getting a frequent and random "The password you entered is
incorrect [CLOSE]" dialogues which I have to click through.
3. Running startx as user "shlomif" gives me:
<<<
xauth: file /home/shlomif/.serverauth.2718 does not exist
Authentication failed - cannot start X server.
Perhaps you do not have console ownership?
>>><i>
</I>
How can I fix these issues?
Regards,
Shlomi Fish
--
-----------------------------------------------------------------
Shlomi Fish <A HREF="http://www.shlomifish.org/">http://www.shlomifish.org/</A>
Apple Inc. is Evil - <A HREF="http://www.shlomifish.org/open-source/anti/apple/">http://www.shlomifish.org/open-source/anti/apple/</A>
95% of Programmers consider 95% of the code they did not write, in the bottom
5%.
Please reply to list if it's a mailing list post - <A HREF="http://shlom.in/reply">http://shlom.in/reply</A> .
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="017586.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- Instructions
</A></li>
<LI>Next message: <A HREF="017589.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- Instructions
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#17587">[ date ]</a>
<a href="thread.html#17587">[ thread ]</a>
<a href="subject.html#17587">[ subject ]</a>
<a href="author.html#17587">[ 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>
|