Re: [systemd-devel] [PATCH] systemd-cgroup-limits.patch

2011-08-22 Thread Lennart Poettering
On Thu, 14.07.11 13:17, Patrascu, Cristian (cristian.patra...@windriver.com) wrote: > I've changed the options, it was indeed confusing, sorry for that. > Very good observation, Thank you! > > Patch adds functionality to apply certain cgroups limits, such as shares of > > cpu, memory limit and

[systemd-devel] generators and service symlink

2011-08-22 Thread Frederic Crozat
Hi, I'm testing a systemd-generator to create default.target symlink, depending on /etc/inittab content. Generator is working fine, creating symlink in /run/systemd/generator but systemd isn't noticing the file (it is still using default.target from /lib/systemd/system/ ) until systemctl daemon-r

[systemd-devel] PATCH: fix kexec support when using /dev/initctl

2011-08-22 Thread Frederic Crozat
Hi, when the various sysvinit compat symlink are not installed, calling kexec /boot/vmlinuz doesn't kexec the system because systemd-initctl doesn't check /sys/kernel/kexec_loaded value (unlike when using systemctl reboot or when systemctl is symlinked to /sbin/shutdown). Attached patch fixe

[systemd-devel] Question about nspawn.c

2011-08-22 Thread Stef Bon
Hi, I'm looking for developing a pam module which creates a new namespace and a chroot. It's doing at the same time what pam_script, pam_chroot and pam_namespace do, but then in one module. I'm using nspawn.c to look how it does a chroot, mounting the different important system directories. I'm

Re: [systemd-devel] PATCH: add support for compose_table, kbd_rate and disabling caplocks

2011-08-22 Thread Frederic Crozat
Le vendredi 19 août 2011 à 18:15 +0200, Kay Sievers a écrit : > What's the plan long term with that code we add here? TARGET_SUSE (and > all the others) will need to move to the distro's package after a > while, instead of having it available in the upstream tree. We need to > find a balance betwe