[Server-devel] XS-0.7 fakeroot package updated to solve xs-rsync issue

2013-10-01 Thread Daniel Drake
Hi, German R in Nicaragua identified a problem with xs-rsync, where some files in the OS builds served to XOs are sent with bad permissions. This fails olpc-update's verification checks, and the systems can't update. This was a bug in fakeroot, not processing internal messages correctly, and

[Server-devel] xs-activity-server updates

2013-09-02 Thread Daniel Drake
Hi, 2 recent updates to xs-activity-server, new version 0.4.0 published just now: 1. Dotted activity versions (e.g. Browse-149.3) are now supported. 2. Separated input and output a bit better, easier to use with puppet and similar. Use rsync to sync your activities into

Re: [Server-devel] Interesting opportunity to study upstream - downstream relationship Was: Root fs on XO1

2013-08-10 Thread Daniel Drake
On Sat, Aug 10, 2013 at 10:29 AM, David Farning dfarn...@activitycentral.com wrote: The is an example of the opportunities and potential challenges that can occur between the community and the Association. This is why I was very pleased that the XSCE-XS thread last week shifted to

Re: [Server-devel] Dealing with the disruptions caused by XSCE.

2013-08-08 Thread Daniel Drake
On Thu, Aug 8, 2013 at 1:47 AM, David Farning dfarn...@activitycentral.com wrote: This disruption is particularly evident in the relationship between XSCE and OLPC. Long term, XSCE _might_ be valuable to OLPC in their role as The world food bank of education. Short term. in their roles as a

Re: [Server-devel] Attempting to upgrade XO 1.5 firmware. Says activation lease not found

2013-07-18 Thread Daniel Drake
On Thu, Jul 18, 2013 at 3:15 PM, Kevin Cole dc.l...@gmail.com wrote: I thought I had given sufficient detail, but... Your original mail raised several questions which the additional detail below answer perfectly clearly, thanks. On the first day of summer vacation, I went downtown to look for

[Server-devel] School networks and electrical equipment damage

2013-06-06 Thread Daniel Drake
Hi, Those of us familiar with setting up school networks (server + switch + APs) in some of our deployments will be familiar with the occasional loss of hardware, due to surges in the low quality electrical supply or whatever, even when the system is protected by a cheap UPS which supposedly

Re: [Server-devel] ds-backup

2013-04-16 Thread Daniel Drake
On Fri, Apr 5, 2013 at 3:16 PM, George Hunt georgejh...@gmail.com wrote: Hi Daniel, I noticed that you were working on ds-backup recently. I was trying to get XSCE running on fc18, and encountered the issue of fedora dropping mod-python (see https://fedorahosted.org/rel-eng/ticket/5165).

Re: [Server-devel] puppet

2013-03-19 Thread Daniel Drake
On Mon, Mar 18, 2013 at 7:17 PM, Tim Moody timmo...@sympatico.ca wrote: Over the years there have been a number of expressions of interest in puppet. Are there any modules out there for actual XS services? I know about http://dev.laptop.org/git/users/martin/puppet-example/tree/, which has

Re: [Server-devel] Running complete Wikipedia offline

2012-12-16 Thread Daniel Drake
On Wed, Dec 12, 2012 at 9:28 PM, Sameer Verma sve...@sfsu.edu wrote: I've been debating the possibility of running a *complete* copy of Wikipedia (txt and images) offline on the XS. At this point, the targets are English (https://en.wikipedia.org) and Hindi (https://hi.wikipedia.org). The

Re: [Server-devel] usbmount alternatives

2012-11-26 Thread Daniel Drake
On Thu, Nov 22, 2012 at 11:20 AM, Tony Anderson tony_ander...@usa.net wrote: The Community XS is being mounted on Fedora. Adam reports the Fedora does not support usbmount. I'd be interested in confirming that usbmount is now unusable and unfixable on Fedora, if that is what is being suggested.

Re: [Server-devel] usbmount alternatives

2012-11-22 Thread Daniel Drake
On Wed, Nov 21, 2012 at 8:35 PM, Holt h...@laptop.org wrote: George/Daniel/Tony/Jerry, Was there a conclusion here, if any? I'm still waiting for someone to write here explaining what exactly the problem is with usbmount. Thanks Daniel ___

[Server-devel] Post XS-0.7 plans

2012-11-13 Thread Daniel Drake
Hi, On Tue, Nov 13, 2012 at 2:08 PM, Tim Moody timmo...@sympatico.ca wrote: Hi Daniel, Can you tell me what plans there are for the XS beyond version 0.7 and who would be undertaking them. Based on recent discussions at the OLPC community summit in San Francisco, it looks like the next

Re: [Server-devel] Post XS-0.7 plans

2012-11-13 Thread Daniel Drake
On Tue, Nov 13, 2012 at 4:37 PM, Tim Moody timmo...@sympatico.ca wrote: So would it be accurate to say that OLPC does not plan any future XS other than the Community School Server, currently a work-in-progress by George, Jerry, and others? I can't comment on behalf of OLPC, and asking about an

Re: [Server-devel] pushing activities to XOs

2012-09-06 Thread Daniel Drake
On Wed, Sep 5, 2012 at 9:09 PM, Gonzalo Odiard gonz...@laptop.org wrote: Maybe we can prepare a Feature for the next cycle. Also, we are shipping a old updater, not integrated with the changes done in sugar (sugar was changed to support different backends, as ASLO and OLPC, but our code does

Re: [Server-devel] pushing activities to XOs

2012-09-05 Thread Daniel Drake
On Wed, Sep 5, 2012 at 9:46 AM, Sameer Verma sve...@sfsu.edu wrote: Jerry, I had to manually add http://schoolserver/activities; to the Group under Software Update in the Control Panel. Then, when I run the update, it pings the XS and grabs new activities. Is this expected behavior? Yes.

Re: [Server-devel] Networking issue with XS 0.7 on EPC-AT270

2012-08-01 Thread Daniel Drake
On Tue, Jul 31, 2012 at 5:57 PM, David Leeming da...@leeming-consulting.com wrote: Hello, I am training some teachers in PNG to set up school servers. We are using the EPC-AT270 (brochure attached, specs on page 7) and previously have installed X_-v0.6 with no problems at all. This time I

Re: [Server-devel] ARM on XS -- how can I integrate my work?

2012-06-27 Thread Daniel Drake
On Wed, Jun 27, 2012 at 9:26 AM, George Hunt georgejh...@gmail.com wrote: Thanks Daniel for the reality check.  I often seem to get caught up in wanting to learn about something without seeing the larger context. I was looking at the function per watt, and not seeing the

Re: [Server-devel] ARM on XS -- how can I integrate my work?

2012-06-25 Thread Daniel Drake
On Sun, Jun 24, 2012 at 8:14 AM, George Hunt georgejh...@gmail.com wrote: I'm not done yet, but I've been making progress on porting XS code to ARM by making modifications to DSD's  XS-0.7.  Upon his suggestion, I have been basing my work on the srpms posted at

Re: [Server-devel] failed to register

2012-06-04 Thread Daniel Drake
On Mon, Jun 4, 2012 at 4:19 PM, Holt h...@laptop.org wrote: One XO-1.5 successfully registered back on Saturday.  It successfully then pushed 36MB to the XS' /library/users/SHC03801C2E (after running /usr/bin/ds-backup.sh on the XO-1.5 and waiting ~30min).  So we went home Saturday night with

Re: [Server-devel] xs-otp tarball pkg?

2012-05-16 Thread Daniel Drake
On Wed, May 16, 2012 at 2:06 PM, George Hunt georgejh...@gmail.com wrote: For most of the packages, I've taken the easy way out, and used DDrake's source rpms at http://xs-dev.laptop.org/xsrepos/stable/olpc/xs-0.7/source/ as a basis for my arm rebuilds.  But I'm wondering what diff's there

Re: [Server-devel] From Marina Orth Foundation

2012-04-21 Thread Daniel Drake
On Sat, Apr 21, 2012 at 12:44 PM, Tim Moody timmo...@sympatico.ca wrote: How do you perform the initial installation of these XS servers? next next next finish in the XS-0.7 installer, then we enter the hostname, then configure the puppet server address and puppet does the rest. What is your

Re: [Server-devel] From Marina Orth Foundation

2012-04-18 Thread Daniel Drake
Hi, On Wed, Apr 18, 2012 at 3:06 PM, Luis Fernando Sanchez direc...@fundaorth.org wrote: Hi Daniel, this is Luis Fernando Sanchez, Executive Director of Marina Orth Foundation in Medellin, Colombia. I have a question, but let me contextualize the situation  first . In Itagui town in Colombia

Re: [Server-devel] oatslite under RHEL/CentOS x86_64

2012-03-27 Thread Daniel Drake
On Tue, Mar 27, 2012 at 10:34 AM, Reuben K. Caron reu...@laptop.org wrote: Does this effect xs-activation installed on XS 0.7? XS-0.7 is 32-bits only. Daniel ___ Server-devel mailing list Server-devel@lists.laptop.org

Re: [Server-devel] XS on XO

2012-02-23 Thread Daniel Drake
On Wed, Feb 22, 2012 at 9:08 PM, Martin Langhoff martin.langh...@gmail.com wrote: I'd recommend, on XO-1.5 - take a 11.x.y buid - use the yum repos dsd prepared for XS, groupinstall the right group (OLPC School Server?) - disable the prefdm service (remove/rename /etc/init/prefdm) - disable

Re: [Server-devel] XS-0.7 beta 2 installation successful

2012-02-23 Thread Daniel Drake
On Fri, Feb 17, 2012 at 6:58 PM, Sameer Verma sve...@sfsu.edu wrote: Do you have any pointers to specs on the boxes you guys are using? Nothing too exciting, just what we could get our hands on at short notice. Regular/unbranded desktop systems with Intel motherboard, Intel G620 CPU (2.6GHz, 3M

Re: [Server-devel] XS-0.7 Ometepe released

2012-02-21 Thread Daniel Drake
On Mon, Feb 20, 2012 at 3:50 PM, Daniel Drake d...@laptop.org wrote: Hi, Named after the island for which it was developed, XS-0.7 Ometepe is released. http://wiki.laptop.org/go/XS_Installing_Software_0.7 Yesterday the above site had the download link as http://dev.laptop.org/xs/OLPC

Re: [Server-devel] How to make a public antitheft server

2012-02-20 Thread Daniel Drake
Hi, On Sun, Feb 19, 2012 at 6:33 PM, Juan Cubillo jcubi...@fundacionqt.org wrote: Hello, Could anyone please tell me if there are up-to-date instructions to create a centralized antitheft server? Currently the wiki page http://wiki.laptop.org/go/Antitheft:Public_Server talks about Fedora

Re: [Server-devel] XS-0.7 beta 2 released

2012-02-20 Thread Daniel Drake
On Sat, Feb 18, 2012 at 1:22 PM, Sameer Verma sve...@sfsu.edu wrote: I used the unetbootin approach to build a USB stick to boot from. I've had trouble with the step where it looks for the media. Says something like hd: LABEL=OLPC School Server 0.7 i386:olpcxs.ks and loops at that step.

[Server-devel] XS-0.7 beta 2 installation successful

2012-02-17 Thread Daniel Drake
Hi, Over the last 2 days, German Ruiz and I installed six XS-0.7 beta 2 test servers in Managua. 5 were installed by USB, 1 by CD. Overall it was successful and the plan is still to produce XS-0.7 final on Monday. We found 2 minor problems, both added to XS release notes: The USB installer

Re: [Server-devel] XS-0.7 beta 1 released

2012-02-15 Thread Daniel Drake
On Tue, Feb 14, 2012 at 5:45 PM, Jerry Vonau jvo...@shaw.ca wrote: Hi Daniel: Just downloaded the install iso, before I burn this to cd should /isolinux/initrd.img and /images/pxeboot/vmlinuz be 0 bytes in the iso? isolinux/initrd.img should be 30421445 bytes images/pxeboot/vmlinuz should be

[Server-devel] XS-0.7 beta 2 released

2012-02-15 Thread Daniel Drake
Hi, Repos updated, and new install media available: http://wiki.laptop.org/go/XS_Installing_Software_0.7 Changes since XS-0.7 beta 1: Exclude fprintd-pam from install (#11631) Add more etckeeper checkpoints (#11632) Update named.root (#11626) Disable IPv6 DNS lookups (#11630) Include simple IPv6

Re: [Server-devel] initial notes on 0.7

2012-02-14 Thread Daniel Drake
On Sun, Feb 12, 2012 at 2:18 AM, Sameer Verma sve...@sfsu.edu wrote: Problem: XS seems to cause XOv1 computers to repeatedly restart X (brief text messages say something about dcon freeze?) Happening to both XO-1 and XO-1.5 running build 883. XO 1.5 HS with build 852 was unaffected. I've been

[Server-devel] Old mirror URLs fixed

2012-02-14 Thread Daniel Drake
Hi, As reported several times here, running yum update on XS-0.6 or older wasn't working. This should now be fixed - the old URLs should continue to work even though we have moved things to a different server. Testing confirmation welcome! Thanks, Daniel

Re: [Server-devel] datastore is corrupt on 0.7

2012-02-13 Thread Daniel Drake
On Sun, Feb 12, 2012 at 1:54 PM, Sameer Verma sve...@sfsu.edu wrote: This shows up on the Moodle end of things: http://dev.laptop.org/ticket/11619 This is the same on 0.6, for client XOs running recent releases. Or have you found a case where the same XO release works on XS-0.6 but not on 0.7?

Re: [Server-devel] initial notes on 0.7

2012-02-13 Thread Daniel Drake
On Sun, Feb 12, 2012 at 2:18 AM, Sameer Verma sve...@sfsu.edu wrote: Step 5: Boot server machine from USB stick using: default option            In the from option (hard drive, CD/DVD, NFS etc.) pick: hard drive            Which disk contains install medium: usually /dev/sda1            Once

Re: [Server-devel] XS-0.7 CentOS6.2 rebase - other pending items

2012-02-10 Thread Daniel Drake
On Fri, Feb 10, 2012 at 2:11 AM, Martin Langhoff mar...@laptop.org wrote: For users that install CentOS and *then* install our stuff, we may need to add a warning if we don't see our custom revision prefix. It's gotta be a soft warning 'cause we don't really know if it's wrong or not. I'll

[Server-devel] XS-0.7 review round 3

2012-02-10 Thread Daniel Drake
Hi Martin, Everything acked so far has been pushed and built, output is at http://dev.laptop.org/xs/repos/stable/olpc/xs-0.7/i386/ Pending items are: 1. Moodle - needs 'pu' branch review, and the possible updates you mentioned. For now, the repo above includes a RPM from the pu branch (just

[Server-devel] XS-0.7 ready for early testing

2012-02-10 Thread Daniel Drake
Hi, The CentOS-based XS-0.7 is ready for early testing. I haven't produced install media yet (hopefully tomorrow!) but the alternative install method is now possible, where you install the XS stuff on top of a CentOS installation. Install CentOS 6.2 (minimal install will do) and then follow

Re: [Server-devel] ejabberd-2.1.10 issues

2012-02-09 Thread Daniel Drake
On Wed, Feb 8, 2012 at 6:42 PM, Martin Langhoff mar...@laptop.org wrote: Ok. Following the breadcrumbe here, I get to https://support.process-one.net/browse/EJAB-919 which has a nice patch authored by the Geoff Cant, a fellow Catalyst-er. I can help w a rebuild here. As you've seen - getting

[Server-devel] XS-0.7 CentOS6.2 rebase - other pending items

2012-02-09 Thread Daniel Drake
Hi, I now have an XS fully up and running and passing all my basic tests. Here are the remaining items that need addressing before we have a test release: ejabberd - see the other thread. Need to decide on forking the package as 'ejabberd' or 'ejabberd-xs' to move forward. Once that is done, I

Re: [Server-devel] XS rebase review

2012-02-08 Thread Daniel Drake
On Wed, Feb 8, 2012 at 5:32 AM, Martin Langhoff mar...@laptop.org wrote: xs-config: pu branch recreated. Changes since yesterday: I think that the new pu branch you pushed out is incomplete. It has a very short run of patches, a massive diff from the pu I reviewed, and it ends at  11bdbdb

[Server-devel] New XS release very soon

2012-02-07 Thread Daniel Drake
Hi, To avoid leaving the other threads dangling: I have been working on a new XS release in collaboration with the Zamora Teran Foundation (http://www.fundacionzt.org/). The underlying goal here is to move the XS to a new OS base, which supports new hardware. The foundation has recently had a

Re: [Server-devel] New XS release very soon

2012-02-07 Thread Daniel Drake
On Tue, Feb 7, 2012 at 2:07 PM, Sameer Verma sve...@sfsu.edu wrote: How will this play with XS on ARM? It won't at all, yet. However, the liberation of the packages from the base install is the first step in this direction. Daniel ___ Server-devel

Re: [Server-devel] XS-AU registration issue Fwd: Upgrade from XO 1.5 Firmware Q3B19 to Q3B22 results to Registration Failed Error

2012-02-06 Thread Daniel Drake
On Sat, Feb 4, 2012 at 8:22 AM, Mitchell Seaton msea...@ekindling.org wrote: Hey Guys and dev lists, You haven't seen this issue with XO build 883, and XS-AU 0.7? Can't be firmware issue as he says, must been OS or XS-AU issue/config. If 'schoolserver' resolves on XO and registration shows

Re: [Server-devel] CentOS hardware support doubts

2012-02-03 Thread Daniel Drake
On Thu, Feb 2, 2012 at 9:09 PM, Martin Langhoff martin.langh...@gmail.com wrote: I assume here that CentOS is reasonably in sync with RHEL. Does http://elrepo.org/bugs/print_bug_page.php?bug_id=126 help? More generally, does any of the external repos have a kmod-staging or kmod-atl1e that

Re: [Server-devel] Who wrote http://wiki.laptop.org/go/XS_Install_Server?

2012-01-31 Thread Daniel Drake
On Mon, Jan 30, 2012 at 11:40 AM, George Hunt georgejh...@gmail.com wrote: I met Tony Anderson in Haiti, and again at the San Francisco OLPC Summit in late 2011. He prevailed upon me to spend some time trying to figure out how to rebase XS on a more recent Fedora Core. Yesterday I also started

[Server-devel] CentOS hardware support doubts

2012-01-31 Thread Daniel Drake
Hi, Like others, I'm interested in moving the XS to a newer OS base. My key motivation for this is that the Foundation Zamora Teran (OLPC Nicaragua) is having difficulty buying servers for new schools being added to the project - Fedora 9 is too old to support this hardware. For the next XS

[Server-devel] [PATCH] xs-activation: Support creating rtcreset signatures with master key

2011-12-30 Thread Daniel Drake
If the master keypair is available as lease.public/lease.private, use it to create rtc reset signatures (rather than relying on delegations). The UUID of the client must be known to the server, stored in the moodle database. --- oat.py | 51

Re: [Server-devel] mesh and newer builds

2011-10-12 Thread Daniel Drake
On Wed, Oct 12, 2011 at 4:53 AM, Sameer Verma sve...@sfsu.edu wrote: 1) I have a XS-on-XO-1 which shows up in the Neighborhood as school-mesh-0 but when I connect the XO client, I get a 169.254.xxx.xxx address and the XO won't register. If I connect to mesh1, I get a 172.18.xxx.xxx address,

Re: [Server-devel] deregister laptops

2011-05-25 Thread Daniel Drake
Hi David, On 16 May 2011 01:21, David Leeming da...@leeming-consulting.com wrote: I tried sugar-control-panel -c registration and get this error: sugar-control-panel: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you

Re: [Server-devel] XS-0.7 plans -- your thoughts please...

2011-01-18 Thread Daniel Drake
On 18 January 2011 19:29, Martin Langhoff martin.langh...@gmail.com wrote: So -- going back on the traffic we've see in the last 24 months, what would you highlight? What have people asked for (that wasn't easy/trivial/possible)? What problems have we heard that were hard to diagnose...? Some

Re: [Server-devel] oatslite: Report stolen and fix

2010-08-29 Thread Daniel Drake
On 28 August 2010 17:19, Martin Langhoff mar...@laptop.org wrote: Working in LR, fixed a bug in oatslite, plus minor improvements. Maybe we are looking at the wrong repo or otherwise using stale code? The code as-is could not have worked as it's missing a \n that is required in the format...

Re: [Server-devel] Schoolserver development in Uruguay

2010-08-19 Thread Daniel Drake
On 19 August 2010 18:25, Bernie Innocenti ber...@codewiz.org wrote: == Jabber == There are two people working on Jabber. They have been using ejabberd and, quite surprisingly, they've not seen any issues of high CPU load and database corruption. Tomorrow I'll get to work more with them.

Re: [Server-devel] wifi setup

2010-08-04 Thread Daniel Drake
On 3 August 2010 23:56, James Cameron qu...@laptop.org wrote: Just now I've set up three access points with the same essid; a NetComm NB600W and two WRT54G running OpenWrt. XO-1.5 and XO-1 development build os304 for release 10.1.2 shows a single icon in the Neighbourhood View, and clicking

Re: [Server-devel] Help for unreliable ADSL and cable modems: bounce-eth0.sh

2010-07-26 Thread Daniel Drake
On 26 July 2010 17:22, Martin Langhoff mar...@laptop.org wrote: [ What I remember is that the NIC was a 'mii' device on an IBM SOHO-style minitower server. The cablemodem is a Motorola modem I've used before without trouble with Linux boxes. Cannot remember model, apologies. ] I've had 3

[Server-devel] automatic OS updates from school server

2010-05-10 Thread Daniel Drake
In my opinion one of the bigger holes left in the school server is the fact that we can't push OS updates to the XOs. And the team here in La Rioja keep asking about it, Actually the hard work is all done (XS has updates server, XO has update client, both work well), the only missing bit is a

Re: [Server-devel] documentation for customizing XS ISO

2010-05-04 Thread Daniel Drake
On 4 May 2010 12:58, Martin Langhoff martin.langh...@gmail.com wrote: On Tue, May 4, 2010 at 11:15 AM, Daniel Drake d...@laptop.org wrote: I thought I saw some official documentation once for how deployments can customize kickstart, add more packages, etc. Can't find it now. Was I dreaming

Re: [Server-devel] OATs delegations -- change in procedure -- need to use sig01 format too...

2010-04-28 Thread Daniel Drake
On 28 April 2010 14:54, Martin Langhoff martin.langh...@gmail.com wrote: All fixed now, see my earlier messages. The truncated needs fixing was related to the brokenness of dynlibs in olpc-bios-crypto and the -utils splitoff. I have reverted both temporarily and built an RPM that works well.

[Server-devel] problems installing xs-activation on F12

2010-04-27 Thread Daniel Drake
http://fedora.laptop.org/xs/stable/olpc/xs-0.6/i386/xs-activation-0.2.39.g2277cdf-1.xs9.noarch.rpm Straightforward rpm -ivh of the RPM gives dependency errors. It needs: olpc-contents python = 2.5 python-json usbmount xs-tools olpc-contents and python-json easily installed by yum. xs-tools

Re: [Server-devel] problems installing xs-activation on F12

2010-04-27 Thread Daniel Drake
On 27 April 2010 10:34, Peter Robinson pbrobin...@gmail.com wrote: Does a recompile of this against a F-12 system not fix the python 2.5 - 2.6 problem? Probably yes, but not so sure I want to leave such a task in the hands of the deployment here, as this is something that will have to be

Re: [Server-devel] olpc-bios-crypto - relative vs abs symlinks?

2010-04-27 Thread Daniel Drake
On 27 April 2010 11:44, Martin Langhoff martin.langh...@gmail.com wrote: Curious - I see in your makefile and spec fixups you've changes the obc-* symlinks from abs to relative. Is it better in some sense in the context of an RPM? Can't recall, but I suspect it would have been something in

Re: [Server-devel] olpc-bios-crypto - relative vs abs symlinks?

2010-04-27 Thread Daniel Drake
On 27 April 2010 11:51, Daniel Drake d...@laptop.org wrote: On 27 April 2010 11:44, Martin Langhoff martin.langh...@gmail.com wrote: Curious - I see in your makefile and spec fixups you've changes the obc-* symlinks from abs to relative. Is it better in some sense in the context of an RPM

Re: [Server-devel] OATs delegations -- change in procedure -- need to use sig01 format too...

2010-04-26 Thread Daniel Drake
On 25 April 2010 01:40, Martin Langhoff martin.langh...@gmail.com wrote:  - We should make --act a no-op, so we just forget about it in the future. Gonzalo and Daniel have been working on the scripts and I am a bit behind on what they've done. Guys, would be great if you apply this -- or I'll

Re: [Server-devel] make-server-delegations output and importing to XS

2010-04-26 Thread Daniel Drake
On 26 April 2010 10:07, Gonzalo Odiard godi...@gmail.com wrote: I can do a python version. I don't like having hundreds of files opened, it's ok with you? I just wrote one, committing now. Daniel ___ Server-devel mailing list

Re: [Server-devel] make-server-delegations output and importing to XS

2010-04-23 Thread Daniel Drake
On 23 April 2010 12:54, Martin Langhoff martin.langh...@gmail.com wrote: On Thu, Apr 22, 2010 at 4:50 PM, Daniel Drake d...@laptop.org wrote: OK, no problem. Just curious though, whats the justification behind this? is there an existing project that runs in this way? The single file model

[Server-devel] Roadblocks for a central OATS server

2010-04-23 Thread Daniel Drake
Hi Martin, As discussed we're planning on putting a central internet-accessible OATS server in La Rioja, in addition to the ones in the schools. The purpose is to be able to deactivate stolen laptops before their lease expiry (assuming the thief doesn't take the laptop to the school, but does put

[Server-devel] make-server-delegations output and importing to XS

2010-04-22 Thread Daniel Drake
Hi Martin, We're working on the antitheft stage where the private signing server generates delegations and sends them to the internet-accessible antitheft server. We can work with the scripts that are already in bios-crypto but we're a bit confused by their design. Perhaps we are missing

Re: [Server-devel] make-server-delegations output and importing to XS

2010-04-22 Thread Daniel Drake
On 22 April 2010 17:39, Martin Langhoff mar...@laptop.org wrote: I propose a different design: Works for me as long as you also craft a script that handles the run from a whole CSV file. In other words, the main workflow starts with a single 3-field CSV file exported from an inventory

Re: [Server-devel] Now completely fixed - ejabberd crashes when segregating presence by course...

2010-02-16 Thread Daniel Drake
On 29 December 2009 12:37, Martin Langhoff martin.langh...@gmail.com wrote: Thanks to Devon's good reporting, a few peeks at the server, and some discussion with the ejabberd dev team, this is completely fixed. Short version:   yum --enablerepo=olpcxs-testing install moodle-xs ejabberd-xs

[Server-devel] OpenDNS instructions don't work

2010-02-03 Thread Daniel Drake
http://wiki.laptop.org/go/XS_Techniques_and_Configuration#Use_OpenDNS This doesn't work - xs-config.make says it shouldnt be used for named-xs.conf, and named doesn't work afterwards since the config file is borked. Daniel ___ Server-devel mailing list

Re: [Server-devel] xs-activation and OS update info

2009-10-29 Thread Daniel Drake
2009/10/27 Martin Langhoff martin.langh...@gmail.com: Right... makes sense. I am a bit intrigued with the custom config file parser / writer (that is 3x the sloc of the whole xs-activation ;-) ). It's not really a custom config file parser. It's a trivial change to Python's own ConfigParser

Re: [Server-devel] xs-activation and OS update info

2009-10-29 Thread Daniel Drake
2009/10/30 Martin Langhoff martin.langh...@gmail.com: It is about avoiding maintaining a bespoke lib. If you say it is a variant on a python standard lib, do you think we can subclass it? Or is there a reason not to? Yeah it can probably be subclassed. It is needed up until Python 3.0,

Re: [Server-devel] PolicyKit dependency chain for headless machines

2009-10-25 Thread Daniel Drake
2009/10/23 Martin Langhoff martin.langh...@gmail.com: Working on the OLPC XS rebase to F11 -- I end up with random bits of gnome and kde, brought in by PolicyKit, which wants a PolicyKit-authentication-agent. Yum only seems to know of KDE and Gnome authentication-agents. How does PK handle

[Server-devel] minor xs-activation-httphandler bug

2009-10-23 Thread Daniel Drake
xs-activation-httphandler.py does: lease = myoat.get_lease(sn, 300) if lease is not None: myoat.mark_served_lease(sn) resp[lease] = lease However, get_lease doesn't look like it will ever return None. Instead, it returns False if there is no lease. So we

Re: [Server-devel] Nepal XS customizations

2009-10-23 Thread Daniel Drake
2009/10/23 Martin Langhoff martin.langh...@gmail.com:  - a script to simplify eth0 configuration How does that work? http://hg.olenepal.org/NEXS_scripts/file/tip/netsetup.sh Notes on self test:  - 32 tests performed, to check that: hostname has been set, both ethernet interfaces present,

[Server-devel] Nepal XS customizations

2009-10-22 Thread Daniel Drake
Here are the customizations we're making on top of XS-0.6 here in Nepal. This version will start being distributed to the field on Monday. Kickstart file modifications: - no GUI, just use text mode - auto reboot at the end of installation - no interactivity during installation - timezone and

[Server-devel] create_user and re-registration

2009-10-12 Thread Daniel Drake
Hi, If an XO re-registers with the XS, its key is once again appended to .ssh/authorized_keys. Since introducing automatic registration in nepal we end up with many duplicate copies of the keys... any chance this small patch could be added? or that we could overwrite instead of append to the

Re: [Server-devel] create_user and re-registration

2009-10-12 Thread Daniel Drake
2009/10/12 Martin Langhoff martin.langh...@gmail.com: Hi Daniel, Reasonable request... I reviewed the patch, expecting you'd be running `sort -u` over a tmp copy of authorized_keys, but it does nothing like that. How does it help, then? What does sort -u do? The man page doesn't make it

Re: [Server-devel] XS-0.6 -

2009-10-08 Thread Daniel Drake
2009/10/7 Martin Langhoff martin.langh...@gmail.com: 65d0816e002fe83f4e0130b6a92577377b9fd2e3  OLPC-School-Server-0.6-i386.iso c872907f1f696ea7bb1bb6e95319fa27e62ce76c  OLPC-School-Server-0.6-i386.img.gz Great! What's changed since 0.6d5? Daniel ___

[Server-devel] what is xs-callhome?

2009-10-06 Thread Daniel Drake
I just noticed for the first time this xs-callhome thing. What's the intended purpose of it? It seems quite broken at the moment. It is launched by cron every few hours, but looks for configuration in the wrong place (/etc/sysconfig/callhome instead of /etc/sysconfig/callhome/callhome.conf). Can

[Server-devel] noisy service dhcpd status

2009-09-24 Thread Daniel Drake
Running XS-0.6d, service dhcpd status is unusually noisy. It looks like it is regenerating the config file every time I check its status. Is this intentional? # service dhcpd status /etc / xs-commitchanged -m 'Dirty state' dhcpd-xs.conf #SERVERNUM := 1 #BASEDNSNAME := testxs.olenepal.org cp

Re: [Server-devel] Troubles running F9 mock chroot under F11

2009-09-17 Thread Daniel Drake
2009/9/16 Jerry Vonau jvo...@shaw.ca: That should be do-able using mkslim (read it first) from xs-livecd's git repo, along with my idea to use a pre-configured updates repo on the iso. http://lists.laptop.org/pipermail/server-devel/2009-February/002937.html Thanks! Got it working as follows:

Re: [Server-devel] Troubles running F9 mock chroot under F11

2009-09-17 Thread Daniel Drake
2009/9/17 Jerry Vonau jvo...@shaw.ca: Well not quite the way I would of done it, I was hoping someone else would test my idea, but glad you got what you needed done. Mind sharing the yumdownloader routine? I might try to use something like that to populate my updates repo, then remove any

Re: [Server-devel] [PATCH] create_user: fix handling of parameters - fixes empty authorized_keys

2009-09-15 Thread Daniel Drake
2009/9/15 Martin Langhoff mar...@laptop.org: We need doublequotes for interpolation. Single quotes look more symmetrical in if [ $a == 'x' ] constructs but we want the left side to be interpolated and the right side to be taken literally. oops, I ran into the same issue with my own patch but

Re: [Server-devel] [PATCH] create_user: fix handling of parameters - fixes empty authorized_keys

2009-09-15 Thread Daniel Drake
2009/9/15 Martin Langhoff martin.langh...@gmail.com: On Tue, Sep 15, 2009 at 12:28 PM, Daniel Drake d...@laptop.org wrote: oops, I ran into the same issue with my own patch but looks like I completely forgot to send a fixed one. Thanks for taking care of that! Bad boy! Question: have you got

Re: [Server-devel] Troubles running F9 mock chroot under F11

2009-09-15 Thread Daniel Drake
2009/9/15 Jerry Vonau jvo...@shaw.ca: Are you just adding rpms to the install media? Or are you trying something more difficult? I have a process in mind if you're just adding rpms to the mix... Just adding RPMs would be enough, but also we're customizing the kickstart file a little.

[Server-devel] disable makewhatis

2009-08-31 Thread Daniel Drake
Hi, By default, makewhatis runs every day on the XS. Seems like a waste of resources. Could we turn it off by default? The setting is in /etc/man.config Daniel ___ Server-devel mailing list Server-devel@lists.laptop.org

[Server-devel] idmgr broken in latest 0.6

2009-08-18 Thread Daniel Drake
Hi Martin, Latest idmgr in the XS is broken. No laptops can register because the database is still in the v2 format. /home/idmgr/create_registration only creates a v2 database, and marks the fs accordingly: echo 2 /home/idmgr/storage_format_version The spec file would then ordinarily cause

Re: [Server-devel] idmgr broken in latest 0.6

2009-08-18 Thread Daniel Drake
2009/8/18 Daniel Drake d...@laptop.org: The spec file would then ordinarily cause the upgrade_2_to_3 to be run, but it doesn't because commit 5ef89de945 makes the spec file update that file to '3' Also upgrade_users_2_to_3 doesn't work if idmgr was running. The wasrunning check is broken

Re: [Server-devel] how to copy activation leases to XS?

2009-08-10 Thread Daniel Drake
2009/8/10 Joshua N Pritikin jpriti...@pobox.com: Is there an easy way to disable security on 30 laptops besides requesting dev keys, etc? You could send the 30 serial numbers to OLPC and ask if they will create developer keys on your behalf. Daniel

[Server-devel] revisor-2.1.8 rebuilt for F9

2009-08-06 Thread Daniel Drake
Hi, In case anyone is interested... the revisor in F9 (used for XS builds) is quite out of date. It downloads everything twice, which is a real pain for Nepal. The revisor developers told me this is fixed in the latest version, so I rebuilt it for F9. everything you need is here:

Re: [Server-devel] revisor-2.1.8 rebuilt for F9

2009-08-06 Thread Daniel Drake
2009/8/6 Daniel Drake d...@laptop.org: I'm running a build with it now, so I'm not yet sure if it works or of it actually does avoid the duplicate downloading It didn't work. Revisor is quite tied into anaconda, and revisor takes advantage of various new changes in anaconda. It fails

Re: [Server-devel] skipping or automating anaconda during install

2009-08-04 Thread Daniel Drake
2009/8/3 Jerry Vonau jvo...@shaw.ca: Might be an anaconda bug, can't recall off the top of my head. Are you being prompted for language/keyboard/timezone info only? Try # out interactive in the ks.cfg file. That did it, thanks! ___ Server-devel

Re: [Server-devel] XS backup/restore feature

2009-08-04 Thread Daniel Drake
Here are new, tested versions of the backup/restore scripts. They are more robust (not using temporary disk space any more), which has a small speed penalty but should improve reliability and decrease disk space requirements. xs-backup now has a --uncompressed option which produces an un-gzipped

[Server-devel] skipping or automating anaconda during install

2009-08-03 Thread Daniel Drake
Hi, Does anyone know how to automate the anaconda step of the XS install? I placed the details that we want (disk layout, root password and timezone) in the .ks file but anaconda still prompts for that information and more or less ignores all of my additions except for the default disk layout

Re: [Server-devel] XS automount design

2009-08-03 Thread Daniel Drake
2009/8/3 Martin Langhoff martin.langh...@gmail.com: The other thing that bothers me is that unmounting it automatically makes a mess for anyone working interactively with USB sticks from the commandline. Remounting it RO at least leaves the mountpoint in place, and it's relatively easy and

Re: [Server-devel] XS automount design

2009-07-31 Thread Daniel Drake
2009/7/30 Martin Langhoff martin.langh...@gmail.com: I don't know if usbmount is sane in the face of triggering the unmount from the mount-post-processing scripts. It works fine and the usbmount code is already crafted to cleanly handle such a situation. how do you feel about this 98-umount

Re: [Server-devel] the first user is admin moodle policy

2009-07-30 Thread Daniel Drake
2009/7/30 Joshua N Pritikin jpriti...@pobox.com: If you guys need any help testing the XO laptop autologin stuff, don't hesitate to ask. I'll do whatever I can to help you figure out why it's not working for us. I did a fresh XS-0.6d2 install and it works just fine here. Is anyone else

[Server-devel] XS automount design

2009-07-30 Thread Daniel Drake
It seems a little strange to me that the XS scripts that process files on USB sticks do not unmount the disk after use. In fact they don't even mount the disk in read-only mode. Do we encourage users to login as root and unmount the disk before unplug, or are we actually encouraging users that

Re: [Server-devel] XS automount design

2009-07-30 Thread Daniel Drake
2009/7/30 Martin Langhoff martin.langh...@gmail.com: No, we encourage them to wait for the done bells. Let me explain.  - we don't have any scripts that write, but we will likely do, so mounting ro is not a good idea  - we're either mounting sync or with the not-so-lazy async that was

  1   2   >