Re: [systemd-devel] [PATCH v2 6/8] add GOP mode setting and splash drawing support

2014-01-23 Thread Joonas Lahtinen
Hi, On 17.01.2014 14:22, Tom Gundersen wrote: Hi Mikko, On Fri, Jan 17, 2014 at 12:18 PM, Ylinen, Mikko mikko.yli...@intel.com wrote: On Thu, Jan 16, 2014 at 5:21 PM, Tom Gundersen t...@jklm.no wrote: Could we first try to optimize the BMP loader? Also, could you share your test image so I

[systemd-devel] Installing gitlab

2014-01-23 Thread Marwan Rabbâa
Hi, I want to install gitlab (sidekiq and unicorn are required) on my fresh fedora installation. New to systemd manager, I've some trouble install this wonderful app. If I've understand systemd, I have to create 3 files : one per service (1 for sidekiq, 1 for unicorn, and 1 for gitlab).

Re: [systemd-devel] Installing gitlab

2014-01-23 Thread Marwan Rabbâa
there is already *Type=forking *in the service section 2014/1/23 Mathieu Bridon boche...@fedoraproject.org On Thu, 2014-01-23 at 10:51 +0100, Marwan Rabbâa wrote: that is not very useful for me. /var/www/gitlab/script/sidekiq is just a litle startup script for sidekiq

Re: [systemd-devel] Installing gitlab

2014-01-23 Thread Holger Schurig
Maybe this script *needs* a tty? Maybe it doesn't run as user git, e.g. wrong rights, wrong home directory? Try to put a set -x at the top of the script and restart it, then you'll see where it failed. Then, look into that program and find out why it failed. If in doubt, pepper it with debug

Re: [systemd-devel] Installing gitlab

2014-01-23 Thread Mathieu Bridon
On Thu, 2014-01-23 at 10:51 +0100, Marwan Rabbâa wrote: that is not very useful for me. /var/www/gitlab/script/sidekiq is just a litle startup script for sidekiq #!/usr/bin/env sh cd /var/www/gitlab /usr/local/bin/bundle exec sidekiq -q

Re: [systemd-devel] Installing gitlab

2014-01-23 Thread Mathieu Bridon
On Thu, 2014-01-23 at 11:16 +0100, Marwan Rabbâa wrote: there is already Type=forking in the service section Indeed, I got confused between your two services (the second one doesn't have it). And the systemctl status output says the exit code was 1, not 0, so it has indeed nothing to do with

Re: [systemd-devel] Installing gitlab

2014-01-23 Thread Holger Schurig
Marwan, he specified it, see above the line directly after [Service] [Service] Type=forking User=git WorkingDirectory=/var/www/gitlab Environment=RAILS_ENV=production One thing that makes me wonder is however his sidekick.target thingy. It says that Redis and Postgresql should be started,

Re: [systemd-devel] [PATCH v2 6/8] add GOP mode setting and splash drawing support

2014-01-23 Thread Tom Gundersen
On Thu, Jan 23, 2014 at 10:42 AM, Joonas Lahtinen joonas.lahti...@linux.intel.com wrote: On 17.01.2014 14:22, Tom Gundersen wrote: We could then special case the particular bitmasks that correspond to BGRX and skip the loop. Does that sound like something you could work with? This sounds

Re: [systemd-devel] [PATCH v2 6/8] add GOP mode setting and splash drawing support

2014-01-23 Thread Kay Sievers
On Thu, Jan 23, 2014 at 11:52 AM, Tom Gundersen t...@jklm.no wrote: On Thu, Jan 23, 2014 at 10:42 AM, Joonas Lahtinen joonas.lahti...@linux.intel.com wrote: On 17.01.2014 14:22, Tom Gundersen wrote: We could then special case the particular bitmasks that correspond to BGRX and skip the loop.

[systemd-devel] Set cgroup attributes not supported by systemd - what do you recommend?

2014-01-23 Thread Barry Scott
I am running systemd 208 on Fedora 20. There are 2 cpu cgroup attributes that I need to set to allow realtime for some daemons: cpu.rt_period_us and cpu.rt_runtime_us. For the memory cgroup I need to set memory.memsw.limit_in_bytes for one of my slices. Do you plan to add support for setting

Re: [systemd-devel] Multiseat session creation fail, VT number not 0

2014-01-23 Thread David Herrmann
@Lennart ping? I'm not sure what to do to fix that properly. Thanks David On Fri, Jan 3, 2014 at 3:51 PM, David Herrmann dh.herrm...@gmail.com wrote: Hi On Fri, Jan 3, 2014 at 3:24 PM, Matthew Monaco m...@0x01b.net wrote: I was having trouble getting a session on seat1 with v208, so I

Re: [systemd-devel] logind and sessions tracking questions -

2014-01-23 Thread Djalal Harouni
On Wed, Jan 22, 2014 at 09:33:37AM +, Colin Guthrie wrote: 'Twas brillig, and Djalal Harouni at 20/01/14 12:18 did gyre and gimble: Hi Coling, Coling please I've some questions regarding what you have posted, see below. I'm trying to debug another bug in logind logic:

Re: [systemd-devel] [Patch 0/2] logind: make sure that closed sessions will be cleaned

2014-01-23 Thread Djalal Harouni
On Wed, Jan 22, 2014 at 09:51:05AM +, Colin Guthrie wrote: 'Twas brillig, and Djalal Harouni at 22/01/14 09:24 did gyre and gimble: On Thu, Jan 16, 2014 at 11:19:08AM +0100, Djalal Harouni wrote: On Thu, Jan 16, 2014 at 06:01:58AM +0100, Zbigniew Jędrzejewski-Szmek wrote: Indeed, in

[systemd-devel] Users and system namespaces

2014-01-23 Thread Ben Boeckel
Hi, As I mused on LWN[1] recently, I was wondering whether it was possible to have user units be able to hook into namespaces (namely the PrivateNetwork= and PrivateTmp= from systemd.exec(5) and more if other namespacing options are added in the future). I'm assuming that is not possible now to

Re: [systemd-devel] .socket in a network namespace

2014-01-23 Thread David Timothy Strauss
Has anyone looked at using socketat() for this? It's unclear whether that syscall actually exists in any supported form; it's certainly not documented. [1] http://lwn.net/Articles/407495/ ___ systemd-devel mailing list

Re: [systemd-devel] Users and system namespaces

2014-01-23 Thread David Timothy Strauss
To join a namespace, you'll need a file descriptor for the namespace so you can run setns() [1]. It's possible to share a file descriptor by keeping it open while forking (which is how socket activation works) or passing it over a Unix domain socket [2]. I know this doesn't really answer your

Re: [systemd-devel] Set cgroup attributes not supported by systemd - what do you recommend?

2014-01-23 Thread David Timothy Strauss
Our wiki page on the topic [1] was relevant before, but I'm pretty sure we dropped ControlGroupAttribute= from the options. Any answer to Barry's question here should probably involve an update to that wiki page, too. [1] http://www.freedesktop.org/wiki/Software/systemd/MyServiceCantGetRealtime/

Re: [systemd-devel] Users and system namespaces

2014-01-23 Thread Ben Boeckel
On Thu, Jan 23, 2014 at 11:43:52 -0800, David Timothy Strauss wrote: To join a namespace, you'll need a file descriptor for the namespace so you can run setns() [1]. It's possible to share a file descriptor by keeping it open while forking (which is how socket activation works) or passing it

Re: [systemd-devel] Users and system namespaces

2014-01-23 Thread David Timothy Strauss
I think the intention for your needs (a lot of namespace sharing for a family of services) would be to run another systemd in a namespece using something like systemd-nspawn, libvirt-lxc, LXC, a user session, or similar. Basically, a systemd instance would run in the namespace itself. Is that a

Re: [systemd-devel] Users and system namespaces

2014-01-23 Thread Ben Boeckel
On Thu, Jan 23, 2014 at 13:21:30 -0800, David Timothy Strauss wrote: I think the intention for your needs (a lot of namespace sharing for a family of services) would be to run another systemd in a namespece using something like systemd-nspawn, libvirt-lxc, LXC, a user session, or similar.

Re: [systemd-devel] .socket in a network namespace

2014-01-23 Thread Peeters Simon
2014/1/23 David Timothy Strauss da...@davidstrauss.net: Has anyone looked at using socketat() for this? It's unclear whether that syscall actually exists in any supported form; it's certainly not documented. [1] http://lwn.net/Articles/407495/ grep -ir socketat linux-3.12 doesn't return