[systemd-devel] reboot splash screen

2014-01-31 Thread Cliff Brake
Hi, I'm trying to get systemd to display a splash screen on powerdown. I've tried using something similar to these recipes: http://cgit.freedesktop.org/plymouth/tree/systemd-units But, for some reason my service is not being activated (included below): root@q7imx6:~# more /lib/systemd/system/re

[systemd-devel] moving the journal during bootup

2012-10-24 Thread Cliff Brake
Hello, We have an embedded system where we boot from an initramfs, but partway through the boot, we would like to move the journal to NAND flash if its available. I tried modifying the systemd-journald.service to Requires my nand-mount.mount unit, and that seems to work on bootup, but there is so

[systemd-devel] live remote logging?

2012-10-31 Thread Cliff Brake
Hello, We have a system that is composed of 8 embedded ARM CPUs, and one server. The embedded ARM units are booting an initramfs that uses systemd. We would like to store the logs from the 8 embedded systems on the server. In the past, we would use the syslog networking logging. What type of a

Re: [systemd-devel] live remote logging?

2012-10-31 Thread Cliff Brake
On Wed, Oct 31, 2012 at 10:36 AM, Mirco Tischler wrote: > 2012/10/31 Cliff Brake : > 6) nfs mount either the server's /var/log/journal over the clients > /var/log/journal, or all of the > clients /var/log/journal/s into the server's /var/log/journal. How does the process

Re: [systemd-devel] live remote logging?

2012-10-31 Thread Cliff Brake
On Wed, Oct 31, 2012 at 10:36 AM, Mirco Tischler wrote: > > > 2) can the systemd-journal-gatewayd be used on a independent directory > of > > log files? > systemd-journal-gatewayd doesn't take any arguments, so it currently > seems not possible. I assume because sd_journal_open_directory() ex

Re: [systemd-devel] live remote logging?

2012-10-31 Thread Cliff Brake
On Wed, Oct 31, 2012 at 11:16 AM, Cliff Brake wrote: > On Wed, Oct 31, 2012 at 10:36 AM, Mirco Tischler wrote: > >> >> > 2) can the systemd-journal-gatewayd be used on a independent >> directory of >> > log files? >> systemd-journal-gatewayd d

[systemd-devel] Journal over NFS

2013-01-24 Thread Cliff Brake
Hello, We have: * systemd v187 on 8 ARM systems * all 8 systems mount the /var/log/journal directory on a server via NFS We like the idea that all journals can be located in one place and querried on the server at the same time -- very neat. However, thus far, it seems like it performs very bad

Re: [systemd-devel] Journal over NFS

2013-01-25 Thread Cliff Brake
On Thu, Jan 24, 2013 at 8:56 PM, David Strauss wrote: > I think mounting the journal directory over NFS is a bad idea. It's > most of why we've worked on journal2gelf at Pantheon and supported the > gateway HTTP-based access work. Agreed, I've concluded the same. We gave the gateway a try and it

[systemd-devel] starting/stopping network interfaces with systemd

2011-10-07 Thread Cliff Brake
Hi, I'm trying to customize systemd to start/stop network interfaces in an embedded system (OpenEmbedded/Angstrom). Angstrom has some support for systemd and its working fairly well so far. Are there any examples I can start with? Basically, when a network device is installed (USB), I'd like to

Re: [systemd-devel] starting/stopping network interfaces with systemd

2011-10-08 Thread Cliff Brake
On Fri, Oct 7, 2011 at 7:01 PM, Mirco Tischler wrote: > 2011/10/7 Cliff Brake : > The problem is, as soon as ifup exits systemd thinks the service is dead and > calls the ExecStop line, which of cause brings down the interface > again instantly. > The solution should be to add Rema

Re: [systemd-devel] starting/stopping network interfaces with systemd

2011-10-08 Thread Cliff Brake
On Sat, Oct 8, 2011 at 11:09 AM, Cliff Brake wrote: >> and a service file like this: >> >> cat networl@.service: >> [Service] >> Type=oneshot >> RemainAfterExit=yes >> ExecStart=/sbin/ifup %i >> ExecStop=/sbin/ifdown %i >> StandardOutput=s

Re: [systemd-devel] starting/stopping network interfaces with systemd

2011-10-10 Thread Cliff Brake
On Sun, Oct 9, 2011 at 7:52 AM, Mirco Tischler wrote: > 2011/10/9 Cliff Brake : >> On Sat, Oct 8, 2011 at 11:09 AM, Cliff Brake wrote: >> However, it does not work for subsequent NIC insertions.  It appears >> that stop is not getting executed when the device is remove

[systemd-devel] mounting a UBIFS filesystem

2012-07-25 Thread Cliff Brake
Hello, I'm trying to figure out how to mount a UBI filesystem in systemd. One wrinkle is I need to run: ubiattach /dev/ubi_ctrl -m 6 before the file system is mounted. 1) what is the best way to run ubiattach? Should this be a service that runs first? 2) what is the best Before target to use

Re: [systemd-devel] mounting a UBIFS filesystem

2012-07-25 Thread Cliff Brake
wants/sys-fs-fuse-connections.mount -> ../sys-fs-fuse-connections.mount ./sysinit.target.wants/sys-kernel-config.mount -> ../sys-kernel-config.mount ./sysinit.target.wants/sys-kernel-debug.mount -> ../sys-kernel-debug.mount Thanks, Cliff On Wed, Jul 25, 2012 at 3:35 PM, Cliff Brak

Re: [systemd-devel] mounting a UBIFS filesystem

2012-07-26 Thread Cliff Brake
Below is what I ended up with. Let me know if there are better/more standard ways to do this. Thanks, Cliff my-app.service: Wants=data.mount data.mount: [Unit] Description=Mount data partition Requires=data-attach.service After=data-atta

[systemd-devel] using systemd in an initramfs

2012-08-30 Thread Cliff Brake
Hello, I am trying to use systemd in an initramfs. The same rootfs works fine from SD/NAND flash. Does anyone have suggestions what might be wrong, or how I can debug? Thanks, Cliff [8.276794] Freeing init memory: 29104K [8.281036] Failed to execute /init Failed to mount /sys/kernel/se

Re: [systemd-devel] using systemd in an initramfs

2012-09-13 Thread Cliff Brake
On Thu, Sep 13, 2012 at 2:08 AM, Lennart Poettering wrote: > On Thu, 30.08.12 21:15, Cliff Brake (cliff.br...@gmail.com) wrote: > > > Hello, > > > > I am trying to use systemd in an initramfs. The same rootfs works fine > > from SD/NAND flash. Does anyone have s