summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2013-April/024350.html
blob: cc9bc95f5c017eecf3abacf37c19a353c183f25c (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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] beta 4 installer notes
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20beta%204%20installer%20notes&In-Reply-To=%3CCAONrEtapox1JOcV5iTfqrB6oQ_iVqswdcftHfWKBFe6iES0ywg%40mail.gmail.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="024334.html">
   <LINK REL="Next"  HREF="024341.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] beta 4 installer notes</H1>
    <B>Thierry Vignaud</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20beta%204%20installer%20notes&In-Reply-To=%3CCAONrEtapox1JOcV5iTfqrB6oQ_iVqswdcftHfWKBFe6iES0ywg%40mail.gmail.com%3E"
       TITLE="[Mageia-dev] beta 4 installer notes">thierry.vignaud at gmail.com
       </A><BR>
    <I>Thu Apr 11 08:10:25 CEST 2013</I>
    <P><UL>
        <LI>Previous message: <A HREF="024334.html">[Mageia-dev] beta 4 installer notes
</A></li>
        <LI>Next message: <A HREF="024341.html">[Mageia-dev] freeze push: ldetect-lst
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#24350">[ date ]</a>
              <a href="thread.html#24350">[ thread ]</a>
              <a href="subject.html#24350">[ subject ]</a>
              <a href="author.html#24350">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On 10 April 2013 10:19, Colin Guthrie &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>&gt; wrote:
&gt;<i>
</I>&gt;<i>
</I>&gt;<i> &gt; This is due to moving 'filesystem' %post script in basesystem-minimal I think.
</I>&gt;<i>
</I>&gt;<i> Out of completeness, why does this cause problems? Also I see no %post
</I>&gt;<i> script in basesystem-minimal anyway so not sure how it could cause
</I>&gt;<i> problems :D
</I>
<A HREF="http://svnweb.mageia.org/packages/cauldron/basesystem/current/SPECS/basesystem.spec?view=markup#l71">http://svnweb.mageia.org/packages/cauldron/basesystem/current/SPECS/basesystem.spec?view=markup#l71</A>
%posttrans minimal
pwconv 2&gt;/dev/null &gt;/dev/null || :
grpconv 2&gt;/dev/null &gt;/dev/null || :

this means /etc/shadow is created later, once basesystem-minimal
has been installed

&gt;<i> &gt; Could be fixed by making mailman doing this:
</I>&gt;<i> &gt;    Requires(post): basesystem-minimal
</I>&gt;<i>
</I>&gt;<i> That should solve the crontab issue (so a grep for that should also be
</I>&gt;<i> done I guess - although having now done that, it seems only mailman uses
</I>&gt;<i> it :D).
</I>&gt;<i>
</I>&gt;<i> &gt; Colin, could you grep for packages invoking su in their post script so that
</I>&gt;<i> &gt; we can fix them all?
</I>&gt;<i>
</I>&gt;<i> Not many:
</I>&gt;<i>
</I>&gt;<i> openbravo/current/SPECS/openbravo.spec
</I>&gt;<i> bacula/current/SPECS/bacula.spec
</I>&gt;<i> mailman/current/SPECS/mailman.spec
</I>&gt;<i> mercurial-server/current/SPECS/mercurial-server.spec
</I>&gt;<i> cyrus-imapd/current/SPECS/cyrus-imapd.spec
</I>
Also another way to fix it would be to kill that %posttrans and to just
run those commands in filesystem's %build
On upgrade, anyway /etc/shadow already exists for a decade

BTW this is what Fedora does (but they do it in setup instead):
<A HREF="http://pkgs.fedoraproject.org/cgit/setup.git/plain/setup.spec">http://pkgs.fedoraproject.org/cgit/setup.git/plain/setup.spec</A>
</PRE>


<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="024334.html">[Mageia-dev] beta 4 installer notes
</A></li>
	<LI>Next message: <A HREF="024341.html">[Mageia-dev] freeze push: ldetect-lst
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#24350">[ date ]</a>
              <a href="thread.html#24350">[ thread ]</a>
              <a href="subject.html#24350">[ subject ]</a>
              <a href="author.html#24350">[ 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>