summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2010-December/001110.html
blob: 2388cf87d5663cbbad1bb0ec54c4ce272d3a4077 (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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-sysadm] Puppet Report for valstar.mageia.org
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Puppet%20Report%20for%20valstar.mageia.org&In-Reply-To=%3C1291935611.17378.113.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="001108.html">
   <LINK REL="Next"  HREF="001111.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-sysadm] Puppet Report for valstar.mageia.org</H1>
    <B>Michael Scherer</B> 
    <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Puppet%20Report%20for%20valstar.mageia.org&In-Reply-To=%3C1291935611.17378.113.camel%40akroma.ephaone.org%3E"
       TITLE="[Mageia-sysadm] Puppet Report for valstar.mageia.org">misc at zarb.org
       </A><BR>
    <I>Fri Dec 10 00:00:11 CET 2010</I>
    <P><UL>
        <LI>Previous message: <A HREF="001108.html">[Mageia-sysadm] Puppet Report for valstar.mageia.org
</A></li>
        <LI>Next message: <A HREF="001111.html">[Mageia-sysadm] [573] allow schedbot user to log in valstar (for	svn)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#1110">[ date ]</a>
              <a href="thread.html#1110">[ thread ]</a>
              <a href="subject.html#1110">[ subject ]</a>
              <a href="author.html#1110">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Le jeudi 09 d&#233;cembre 2010 &#224; 23:37 +0100, <A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">report at valstar.mageia.org</A> a
&#233;crit :
&gt;<i> Thu Dec 09 23:37:50 +0100 2010 /Stage[main]/Buildsystem::Mainnode/Buildsystem::Sshuser[schedbot]/User[schedbot]/comment (err): change from schedbot to System user used to schedule builds failed: Could not set comment on user[schedbot]: Execution of '/usr/sbin/usermod -c System user used to schedule builds schedbot' returned 6: usermod: user 'schedbot' does not exist in /etc/passwd
</I>&gt;<i> 
</I>&gt;<i> Thu Dec 09 23:37:50 +0100 2010 /Stage[main]/Buildsystem::Mainnode/Buildsystem::Sshuser[schedbot]/User[schedbot]/shell (err): change from /usr/local/bin/sv_membersh.pl to /bin/bash failed: Could not set shell on user[schedbot]: Execution of '/usr/sbin/usermod -s /bin/bash schedbot' returned 6: usermod: user 'schedbot' does not exist in /etc/passwd
</I>&gt;<i> 
</I>&gt;<i> Thu Dec 09 23:37:50 +0100 2010 /Stage[main]/Buildsystem::Mainnode/Buildsystem::Sshuser[schedbot]/Exec[unlockschedbot] (err): Failed to call refresh: usermod -p '*' schedbot returned 6 instead of one of [0] at /etc/puppet/modules/buildsystem/manifests/init.pp:164
</I>
This was caused by me trying to solve a problem that blino submitted :

the schedbot user need to write ( and read ) to svn. 
So either we add acl in svn ( quite tricky IMHO ),
or we add schedbot to mga-commiters.

But schedbot is user in /etc/passwd, and mga-commiters is in ldap.

The solution that we found was to move schedbot to ldap. Unfortunately,
that's still a manual process ( ie, puppet could do it, but I am not
sure we should push every bot in ldap ). 

I tested to just add schedbot to the group in ldap, it didn't work.

So far, schedbot is in ldap and in /etc/passwd.
And we need to find a way to let puppet add it to ldap.
 
-- 
Michael Scherer

</PRE>





<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="001108.html">[Mageia-sysadm] Puppet Report for valstar.mageia.org
</A></li>
	<LI>Next message: <A HREF="001111.html">[Mageia-sysadm] [573] allow schedbot user to log in valstar (for	svn)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#1110">[ date ]</a>
              <a href="thread.html#1110">[ thread ]</a>
              <a href="subject.html#1110">[ subject ]</a>
              <a href="author.html#1110">[ 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>