[systemd-devel] getty login prompt

2011-11-22 Thread Devendra Talegaonkar
Hello, I am running systemd on imx-53 eval board with kernel version 2.6.38. I am not getting login prompt. Following are systemd messages while booting Can anybody tell what is going wrong? Regards, devendra <30>systemd[1]: systemd 37 running in system mode. (-PAM -LIBWRAP -AUDIT -SELINUX +SY

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

2011-11-22 Thread Martin Langhoff
On Nov 22, 2011 5:58 PM, "Kay Sievers" wrote: > > On Tue, Nov 22, 2011 at 23:42, Martin Langhoff > wrote: > > On Tue, Nov 22, 2011 at 3:21 PM, Kay Sievers wrote: > >> Yeah, that's intentional. Udev on other platforms can't know which rtc > >> should be the preferred one. > > > > Well, now you ca

Re: [systemd-devel] How to properly allow user to adjust LimitNOFILE?

2011-11-22 Thread Mathieu Bridon
On Tue, 2011-11-22 at 20:51 +0300, Peter Lemenkov wrote: > Hello! > I already found that I could add "LimitNOFILE=2048" to the "Service" > section to explicitly set max number of opened files but I need > something different. I want to allow user to specify it and set it > only in case he specifies

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

2011-11-22 Thread Kay Sievers
On Tue, Nov 22, 2011 at 23:42, Martin Langhoff wrote: > On Tue, Nov 22, 2011 at 3:21 PM, Kay Sievers 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 t

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 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 the system time to

[systemd-devel] [PATCH] Allow 'list-unit-files' to run with --root.

2011-11-22 Thread Bill Nottingham
To do so, move the check for the bus to the bus-using portion of list_unit_files(), and ensure that get_config_path doesn't abort when checking the runtime path with --root. --- src/install.c |5 ++--- src/systemctl.c |5 +++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git

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

2011-11-22 Thread Kay Sievers
On Tue, Nov 22, 2011 at 21:18, Koen Kooi wrote: > Op 22 nov. 2011, om 18:28 heeft Kay Sievers het volgende geschreven: >> On Tue, Nov 22, 2011 at 18:10, Martin Langhoff >>>  #2 -- is customary to prefer /dev/rtc if present -- so that we can >>> symlink to the right rtc from udev. src/util.c seems

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

2011-11-22 Thread Koen Kooi
Op 22 nov. 2011, om 18:28 heeft Kay Sievers het volgende geschreven: > On Tue, Nov 22, 2011 at 18:10, Martin Langhoff > wrote: >> 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 c

[systemd-devel] [PATCH] Run rc-local after network.target, as it's often used for frobbing the network.

2011-11-22 Thread Bill Nottingham
--- units/fedora/rc-local.service |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/units/fedora/rc-local.service b/units/fedora/rc-local.service index 106b12c..9a38e59 100644 --- a/units/fedora/rc-local.service +++ b/units/fedora/rc-local.service @@ -8,6 +8,7 @@ [Unit] De

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 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 requires that the t

[systemd-devel] How to properly allow user to adjust LimitNOFILE?

2011-11-22 Thread Peter Lemenkov
Hello! I already found that I could add "LimitNOFILE=2048" to the "Service" section to explicitly set max number of opened files but I need something different. I want to allow user to specify it and set it only in case he specifies it. It looks like I should use something like "ExecStartPre=ulimit

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

2011-11-22 Thread Kay Sievers
On Tue, Nov 22, 2011 at 18:10, Martin Langhoff wrote: > 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). > > Backgr

[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 has

[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 has

Re: [systemd-devel] Creating unit file - conditional process arguments

2011-11-22 Thread Michal Schmidt
On 11/22/2011 01:27 PM, Honza Horak wrote: Do I have to create the same bash script and execute it like: ExecStartPre=/path/to/simple/script ExecStart=/path/to/daemon $MYARGS This won't work, because environment is not transferred from one execution to another. You could solve this using a wr

Re: [systemd-devel] systemd diagnostics

2011-11-22 Thread Edward Z. Yang
Hello Gustavo, Of course! Excerpts from Gustavo Sverzut Barbieri's message of Tue Nov 22 04:49:00 -0500 2011: > > 1. Newline separated property information. When I run > > 'systemctl show -p "Wants" basic.target' I get a space-separated list of > > targets. This is pretty annoying, it would be

Re: [systemd-devel] [PATCH 0/3] watchdog handling with systemd

2011-11-22 Thread Michael Olbrich
On Tue, Nov 08, 2011 at 11:29:05AM +0100, Michael Olbrich wrote: > On Fri, Nov 04, 2011 at 03:38:39PM +0100, Michael Olbrich wrote: > > here is a new version of the first 3 patches updated as suggested. > > The actual /dev/watchdog handling is not part of this series. It needs some > > more work to

Re: [systemd-devel] systemd diagnostics

2011-11-22 Thread Michal Schmidt
On 11/22/2011 04:36 AM, Edward Z. Yang wrote: 3. Listing enabled services. We should not have to write horrible scripts like this: In F16 you can use "systemctl list-unit-files". Michal ___ systemd-devel mailing list [email protected].

[systemd-devel] WorkingDirectory in service file

2011-11-22 Thread Christian Hesse
Hello everybody, I use a service file for openvpn from the Arch Linux systemd-arch-units package: [Unit] Description=OpenVPN connection to %i After=network.target [Service] Type=forking ExecStart=/usr/sbin/openvpn --config /etc/openvpn/%i.conf --daemon openvpn@%i WorkingDirectory=/etc/openvpn [

[systemd-devel] Creating unit file - conditional process arguments

2011-11-22 Thread Honza Horak
Hi all, Let's have the following case: the environment variable $FOO can be defined but it doesn't have to be. Then I want to pass this variable to a process in the unit file like "--foo $FOO", but only if the variable is not empty. Something like the following has been done in the SysV init

Re: [systemd-devel] systemd diagnostics

2011-11-22 Thread Gustavo Sverzut Barbieri
On Tuesday, November 22, 2011, Edward Z. Yang wrote: > Hello all, > > We are currently hacking and clawing our way through systemd for all of our > legacy services, and there are a number of usability enhancements that would be useful, but > we are unsure if they exist. If these do not exist, it

Re: [systemd-devel] openvpn: tap0 & br0 missing

2011-11-22 Thread Reindl Harald
Am 22.11.2011 03:53, schrieb Michael D. Berger: > A few questions: > > In this line: > ExecStopPost=-/etc/init.d/openvpn-bridge stop Restart=always > > Why do you have '-' after '=' ? I don't see the '-' in to not fail if "/etc/init.d/openvpn-bridge" not exists and so i can use the same sy