Re: [systemd-devel] Offtopic question.

2013-01-02 Thread Stef Bon
No problem. Just a misunderstading or how you want to call it. Stef 2013/1/2 Dave Reisner > > On Jan 2, 2013 5:41 PM, "Stef Bon" wrote: > > > > You are sure?? I mean the locks file, not the mounts file. > > I think you haven't understood my post very good. > > Not a lack of understanding, jus

Re: [systemd-devel] Offtopic question.

2013-01-02 Thread Dave Reisner
On Jan 2, 2013 5:41 PM, "Stef Bon" wrote: > > You are sure?? I mean the locks file, not the mounts file. > I think you haven't understood my post very good. Not a lack of understanding, just misread it. My bad. ___ systemd-devel mailing list systemd-dev

Re: [systemd-devel] Offtopic question.

2013-01-02 Thread Stef Bon
You are sure?? I mean the locks file, not the mounts file. I think you haven't understood my post very good. Stef ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Offtopic question.

2013-01-02 Thread Dave Reisner
On Jan 2, 2013 4:59 PM, "Stef Bon" wrote: > > Hi, > > sorry for the offtopic question here, but I do not know a better place for it. > > I'm building a lockmonitor. I thought that would be just as easy as with the /proc/self/mountinfo "file". > > But that is not the case. It's not pollable, like t

[systemd-devel] Offtopic question.

2013-01-02 Thread Stef Bon
Hi, sorry for the offtopic question here, but I do not know a better place for it. I'm building a lockmonitor. I thought that would be just as easy as with the /proc/self/mountinfo "file". But that is not the case. It's not pollable, like the mountinfo fle is. I've looked into the code of the ke

Re: [systemd-devel] systemd-fstab-generator and multiple mounts to same mount point

2013-01-02 Thread John Lane
On 02/01/13 14:25, Zbigniew Jędrzejewski-Szmek wrote: On Wed, Jan 02, 2013 at 12:44:10PM +, John Lane wrote: On 02/01/13 12:15, Andrey Borzenkov wrote: В Wed, 02 Jan 2013 12:01:41 + John Lane пишет: Hello, I have a configuration where a filesystem is mounted on /images. Then a subd

Re: [systemd-devel] [PATCH] [RFC]logind: set locale in user sessions

2013-01-02 Thread Tom Gundersen
On Wed, Jan 2, 2013 at 12:55 PM, Andrey Borzenkov wrote: > В Wed, 2 Jan 2013 12:46:31 +0100 > Tom Gundersen пишет: >> The logic is: the kernel command-line takes precedence, > > Why? I would understand it if list did not include user-specific > locale.conf; but if it does, why system wide settin

Re: [systemd-devel] sometimes systemd takes a very long time to restart service

2013-01-02 Thread JB
Andrey Borzenkov wrote: В Wed, 02 Jan 2013 04:02:27 -0700 JB пишет: Andrey Borzenkov wrote: В Wed, 02 Jan 2013 02:28:19 -0700 JB пишет: Here's the service file: *** [Unit] Description=Webrick Test Service After=network.target [Serv

Re: [systemd-devel] systemd-fstab-generator and multiple mounts to same mount point

2013-01-02 Thread Tom Gundersen
On Wed, Jan 2, 2013 at 1:44 PM, John Lane wrote: > I think the problem is how systemd names the generated mount units. If there > is a clash, could it not > use a modified name for the unit (e.g if /run/systemd/generator/images.mount > exists it would create /run/systemd/generator/images-1.mount o

Re: [systemd-devel] systemd-fstab-generator and multiple mounts to same mount point

2013-01-02 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jan 02, 2013 at 12:44:10PM +, John Lane wrote: > On 02/01/13 12:15, Andrey Borzenkov wrote: > >В Wed, 02 Jan 2013 12:01:41 + > >John Lane пишет: > > > >>Hello, > >> > >>I have a configuration where a filesystem is mounted on /images. > >> > >>Then a subdirectory of that filesystem,

Re: [systemd-devel] sometimes systemd takes a very long time to restart service

2013-01-02 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jan 02, 2013 at 02:28:19AM -0700, JB wrote: > Andrey Borzenkov wrote: > >В Tue, 01 Jan 2013 23:37:56 -0700 > >JB пишет: > >>Andrey Borzenkov wrote: > >>>В Tue, 01 Jan 2013 18:52:38 -0700 > >>>JB пишет: > Thanks! I'll try and it may work in my case. What's > interesting is that i

Re: [systemd-devel] systemd-fstab-generator and multiple mounts to same mount point

2013-01-02 Thread John Lane
On 02/01/13 12:15, Andrey Borzenkov wrote: В Wed, 02 Jan 2013 12:01:41 + John Lane пишет: Hello, I have a configuration where a filesystem is mounted on /images. Then a subdirectory of that filesystem, say /images/1, is bind mounted on top as /images. Prior to moving to systemd, this ki

Re: [systemd-devel] systemd-fstab-generator and multiple mounts to same mount point

2013-01-02 Thread Andrey Borzenkov
В Wed, 02 Jan 2013 12:01:41 + John Lane пишет: > Hello, > > I have a configuration where a filesystem is mounted on /images. > > Then a subdirectory of that filesystem, say /images/1, is bind mounted > on top as /images. > > Prior to moving to systemd, this kind of thing has always worked

Re: [systemd-devel] sometimes systemd takes a very long time to restart service

2013-01-02 Thread Andrey Borzenkov
В Wed, 02 Jan 2013 04:02:27 -0700 JB пишет: > Andrey Borzenkov wrote: > > В Wed, 02 Jan 2013 02:28:19 -0700 > > JB пишет: > > > > > >> Here's the service file: > >> *** > >> [Unit] > >> Description=Webrick Test Service > >> After=network.target > >> > >

[systemd-devel] systemd-fstab-generator and multiple mounts to same mount point

2013-01-02 Thread John Lane
Hello, I have a configuration where a filesystem is mounted on /images. Then a subdirectory of that filesystem, say /images/1, is bind mounted on top as /images. Prior to moving to systemd, this kind of thing has always worked fine with /etc/fstab containing something like this: # images u

Re: [systemd-devel] [PATCH] [RFC]logind: set locale in user sessions

2013-01-02 Thread Andrey Borzenkov
В Wed, 2 Jan 2013 12:46:31 +0100 Tom Gundersen пишет: > Changes the pam module to now set the locale for user-sessions, similarly to > what is done system-wide in PID1. > > The logic is: the kernel command-line takes precedence, Why? I would understand it if list did not include user-specific

[systemd-devel] [PATCH] [RFC]logind: set locale in user sessions

2013-01-02 Thread Tom Gundersen
Changes the pam module to now set the locale for user-sessions, similarly to what is done system-wide in PID1. The logic is: the kernel command-line takes precedence, then XDG_CONFIG_HOME/locale.conf, then /etc/locale.conf and finally any legacy distro-specific files that might still be supported.

[systemd-devel] [PATCH] Added globbing support to EnvironmentFile

2013-01-02 Thread Pekka Lundstrom
This patch allows globbing to be used with EnvironmentFile option. Example: EnvironmentFile=/etc/foo.d/*.conf t. Pekka --- Signed-off-by: Pekka Lundstrom --- man/systemd.exec.xml |2 +- src/core/execute.c | 51 ++ 2 files changed, 40 inser

Re: [systemd-devel] sometimes systemd takes a very long time to restart service

2013-01-02 Thread JB
Andrey Borzenkov wrote: В Wed, 02 Jan 2013 02:28:19 -0700 JB пишет: Here's the service file: *** [Unit] Description=Webrick Test Service After=network.target [Service] Type=forking ExecStart=/usr/bin/ruby /home/rtuser/test.rb [Install] WantedBy=mult

Re: [systemd-devel] sometimes systemd takes a very long time to restart service

2013-01-02 Thread Andrey Borzenkov
В Wed, 02 Jan 2013 02:28:19 -0700 JB пишет: > Here's the service file: > *** > [Unit] > Description=Webrick Test Service > After=network.target > > [Service] > Type=forking > ExecStart=/usr/bin/ruby /home/rtuser/test.rb > > [Install] > WantedBy=multi-user

Re: [systemd-devel] sometimes systemd takes a very long time to restart service

2013-01-02 Thread JB
Andrey Borzenkov wrote: В Tue, 01 Jan 2013 23:37:56 -0700 JB пишет: Andrey Borzenkov wrote: В Tue, 01 Jan 2013 18:52:38 -0700 JB пишет: Thanks! I'll try and it may work in my case. What's interesting is that in your case it sounded like rsyslog was hanging around while it w