Re: [systemd-devel] systemd config recipes for namespace-isolated webapps

2013-07-03 Thread Martin Langhoff
On Wed, Jul 3, 2013 at 12:53 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: I haven't really tried anythng like what you describe, but in general both container and container-less approaches should work. Thanks for your reply. Yes, I get the sense that in general, it should work. As

Re: [systemd-devel] systemd config recipes for namespace-isolated webapps

2013-07-03 Thread Martin Langhoff
On Wed, Jul 3, 2013 at 10:49 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: - How do I tell several services to use the same cg? They can't all use the same cg, because systemd uses groups to group units. But they can share a slice of resources, by assigning a group of services to

[systemd-devel] systemd config recipes for namespace-isolated webapps

2013-07-02 Thread Martin Langhoff
Hi folks! At OLPC, I got an early chance to use and abuse systemd, and I like it quite a bit. We currently have ~500 identical VMs (created from kickstarts, kept almost in sync via satellite), each hosts apache/mysql daemons, and 2 installs of the same PHP webapp (production, test). Goal is to

[systemd-devel] systemd 28 time handling changes breaks ntpdate and date ?

2012-04-25 Thread Martin Langhoff
Apologies if this has been discussed -- a search through the archives didn't find anything. Reading the announcement of systemd v28... At shutdown we no longer invoke hwclock --systohc, i.e. do not write the system clock back to the RTC. Why? In general there's not really a reason to assume that

[systemd-devel] Support machines with multiple RTCs?

2011-11-22 Thread Martin Langhoff
Hi list! I have just been perusing the systemd code, and wondering whether it supports systems that have two RTCs (where usually only one of them is the battery-backed clock, the other isn't battery backed but can wake the system up). Background: OLPC's new laptop, XO-1.75, is an ARM SoC that

Re: [systemd-devel] Support machines with multiple RTCs?

2011-11-22 Thread Martin Langhoff
On Tue, Nov 22, 2011 at 12:28 PM, Kay Sievers kay.siev...@vrfy.org wrote:  #1 -- check for the hctosys property. If _any_ rtc present in the system has sysfs attribute hctosys == 1, it means that the kernel took care of it all, and userland doesn't need to call hwclock, at all. Systemd

Re: [systemd-devel] Support machines with multiple RTCs?

2011-11-22 Thread Martin Langhoff
On Tue, Nov 22, 2011 at 3:21 PM, Kay Sievers kay.siev...@vrfy.org wrote: Yeah, that's intentional. Udev on other platforms can't know which rtc should be the preferred one. Well, now you can: if it says hctosys == 1, it means that the kernel config told it to pick that one, and that it's sync'd