summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2010-December/000998.html
blob: 8c00c577791f717d1e486b186da7b2453992a566 (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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-sysadm] [398] install iurt on main node as well, for scheduler tools
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B398%5D%20install%20iurt%20on%20main%20node%20as%20well%2C%0A%20for%20scheduler%20tools&In-Reply-To=%3C1291222348.23683.24.camel%40akroma.ephaone.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="000997.html">
   <LINK REL="Next"  HREF="001015.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-sysadm] [398] install iurt on main node as well, for scheduler tools</H1>
    <B>Michael Scherer</B> 
    <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B398%5D%20install%20iurt%20on%20main%20node%20as%20well%2C%0A%20for%20scheduler%20tools&In-Reply-To=%3C1291222348.23683.24.camel%40akroma.ephaone.org%3E"
       TITLE="[Mageia-sysadm] [398] install iurt on main node as well, for scheduler tools">misc at zarb.org
       </A><BR>
    <I>Wed Dec  1 17:52:28 CET 2010</I>
    <P><UL>
        <LI>Previous message: <A HREF="000997.html">[Mageia-sysadm] [491] - add the zone for reverse dns on our ipv6	range
</A></li>
        <LI>Next message: <A HREF="001015.html">[Mageia-sysadm] [398] install iurt on main node as well, for scheduler tools
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#998">[ date ]</a>
              <a href="thread.html#998">[ thread ]</a>
              <a href="subject.html#998">[ subject ]</a>
              <a href="author.html#998">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Le lundi 22 novembre 2010 &#224; 21:44 +0100, Olivier Blin a &#233;crit :
&gt;<i> Thierry Vignaud &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">thierry.vignaud at gmail.com</A>&gt; writes:
</I>&gt;<i> 
</I>&gt;<i> &gt; On 22 November 2010 18:02, nicolas vigier &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">boklm at mars-attacks.org</A>&gt; wrote:
</I>&gt;<i> &gt;&gt;&gt; &gt; install iurt on main node as well, for scheduler tools
</I>&gt;<i> &gt;&gt;&gt;
</I>&gt;<i> &gt;&gt;&gt; Why not making task-bs-cluster-main requires iurt instead?
</I>&gt;<i> &gt;&gt;
</I>&gt;<i> &gt;&gt; I'm not sure a virtual package in the repository is the best tool to
</I>&gt;<i> &gt;&gt; manage the list of packages that needs to be installed on the build
</I>&gt;<i> &gt;&gt; system.
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; Then why are we restoring task-bs-cluster-main?
</I>&gt;<i> 
</I>&gt;<i> I think a package is also a good tool to manage package BS deps, we
</I>&gt;<i> benefit from all the conditional requirements, conflicts, virtual
</I>&gt;<i> packages, and etc from rpm
</I>
So i digged a little bit for this :

- conditional requirement -&gt; this can be done in puppet as well ( using
conditionals ).
- conflict =&gt;  we can use &quot; ensure =&gt; absent&quot; to make sure a package is
not there
- virtual packages. 
Indeed, this is a weak point of puppet, we need to take ( for example )
architecture and version in account. Yet, i think we can solve it ( even
if this is not as elegant as letting ) without touching puppet, or maybe
by patching puppet to be more virtual-name friendly in the future. 
- etc, I didn't found, but I guess we can add
  - ability to add a requires a Provides, which would indeed be the same
as virtual packages. 


In the mean time, I have also took a look at the rpm pulled by
task-bs-cluster-chroot :

task-bs-cluster-chroot 
   task-bs-common  
      basesystem        
      urpmi             
      cfengine-cfagent  
      openssh-server    
      sshd-monitor      
      openldap-clients  
      nss_ldap         
      pam_ldap         
      nscd             
      sudo             
      zsh              
      nail             
      ntp              
      smartmontools    
      perl-Image-Size  
   autofs              
   nfs-utils-clients   
   mdv-youri-submit    
   mdv-distrib-tools   
   mkcd                
   perl-File-NCopy     
   perl-Filesys-Df     
   perl-MIME-tools     
   perl-RPM4           
   rpmmon              
   repsys              
   mdvsys              
   icecream            
   postfix             
   db42-utils          
   db4-utils &gt;= 4.6    
   rpmlint             
   rpmlint-mandriva-policy


So here is some sorting :
urpmi, basesystem, cfengine-cfagent, mdvsys, rpmlint,
rpmlint-mandriva-policy, zsh are not needed on a pure buildhost. Well,
urpmi and basesystem are already here in fact. And I hope that we
finally got ride of the zsh script of chmouel :)

openssh-server, nss_ldap, pam_ldap, nscd, sudo, sshd-monitor, ntp, nail,
postfix, openldap-clients are already handled by puppet ( ssh is
monitored by puppet with Service )

smartmontools and icecream should be converted to puppet module. 

i am not sure that rpmmon work or is really needed. I remeber having
seems it being used at iurt.

autofs, nfs-utils-clients. I do not think autofs will be useful, and for
nfs-utils-client, we can use the mount type, and indeed add a requires
on it, since it seems iurt need nfs.

This let us with the following packages :
   
   perl-File-NCopy 
   perl-Filesys-Df
   perl-MIME-tools
   perl-RPM4
   perl-Image-Size     

I assume these are needed for some script. However, since there was lots
of cruft, I would be in favor of : 
- removing them, see what break, add those that are required 


   db42-utils
   db4-utils &gt;= 4.6
I also assume this was needed by some iurt hack, that blino removed
( not sure ). Again, maybe we can remove this ?

   mdv-youri-submit    
   mkcd                
   repsys

I am doubtful they are used on a pure buildhost. So maybe we can remove
them ? If they are needed because they provides some perl modules, they
will be pulled by the packages anyway.

   mdv-distrib-tools  
contain a perl module and a executable. I do not exactly what it does,
but I am pretty sure it is used on the main mirror, not on buildhost.
So we could likely remove it too. 


So, while I do not intend to remove them right now ( at least, not while
blino is still setting everything ), does people see something wrong in
the list ?

Aka, stop requiring everything, convert icecream, smartmontools and
nfs-utils to proper modules.
-- 
Michael Scherer

</PRE>



<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="000997.html">[Mageia-sysadm] [491] - add the zone for reverse dns on our ipv6	range
</A></li>
	<LI>Next message: <A HREF="001015.html">[Mageia-sysadm] [398] install iurt on main node as well, for scheduler tools
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#998">[ date ]</a>
              <a href="thread.html#998">[ thread ]</a>
              <a href="subject.html#998">[ subject ]</a>
              <a href="author.html#998">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
mailing list</a><br>
</body></html>