Hi, I have a keyboard daemon that sometimes fails to come up, I guess
because the device is not there. However my current attempt does not
work:
[hendry@alarmpi ~]$ cat /usr/lib/systemd/system/shkd.service
[Unit]
Description=Simple HotKey Daemon
On 25 March 2014 18:01, Kai Hendry hen...@webconverger.com wrote:
Requires=dev-input-by\x2did-usb\x2d13ba_0001\x2devent\x2dkbd.device
On #systemd IRC I was recommended After=, and I think it's working as it should!
After=dev-input-by\x2did-usb\x2d13ba_0001\x2devent\x2dkbd.device
Is Requires
Thanks Michael for answering, :)
On 26 March 2014 18:59, Michael Biebl mbi...@gmail.com wrote:
2014-03-26 3:56 GMT+01:00 Kai Hendry hen...@webconverger.com:
If your daemon is not functional if the hardware is not present, I'd
probably start it via a udev rule and SYSTEMD_WANTS.
Do you have
On 26 March 2014 22:55, Jóhann B. Guðmundsson johan...@gmail.com wrote:
SUBSYSTEM==input, ENV{ID_INPUT_KEYBOARD}==?*, ENV{.INPUT_CLASS}=kbd,
TAG+=systemd, ENV{SYSTEMD_WANTS}+=shkd@%p.service
Trying to teach myself how to fish here. How did you know it would
match this particular device?
$
On 31 March 2014 01:00, Andrey Borzenkov arvidj...@gmail.com wrote:
udevadm monitor --env would be more useful, it also shows device
attributes after event is processed.
Thank you Andrey!
With %N and a reboot, the keyboard is working. However for interest
sake, I un-plugged the USB device and
On 31 March 2014 09:54, Kai Hendry hen...@webconverger.com wrote:
Not sure what to try next? If I start it manually `sudo systemctl
start shkd@-dev-input-event0.service`, it starts working again. Is
http://www.freedesktop.org/software/systemd/man/systemd.service.html#TimeoutSec=
the right way
Hi guys,
http://sprunge.us/SLSF is the service file I have currently. I'm
running http://archlinuxarm.org/ on a Rpi with systemd 204-3.
I'm having issues creating a service file for darkice a audio
streamer that depends on:
* a network connection
* a microphone
On 18 July 2013 20:27, Lennart Poettering lenn...@poettering.net wrote:
You need an After= here for the device, too.
Thanks this fixes the first scenario: http://sprunge.us/LiQF
I must say needing After BindsTo is a bit confusing. I also don't
see the need for different sections. Never quite
On 19 July 2013 01:29, Lennart Poettering lenn...@poettering.net wrote:
It is certainly surprising at first, but it makes a lot of sense. In
systemd ordering deps and requirement deps are truly orthogonal. This is
useful in many cases, because sometimes you just want to pull something
else in,
On 22 July 2013 23:56, Andrey Borzenkov arvidj...@gmail.com wrote:
network-online.target has no requirement for pingtest.service. All that
this configuration does is delaying network-online.target by at most 60
seconds, that's all. If network is not up at this point - too bad.
That ping switch
On 25 July 2013 00:56, Andrey Borzenkov arvidj...@gmail.com wrote:
Do you really want all your services that depend on network being up to
fail if your AP is busy and needs 61 seconds to establish connection?
Firstly I use a PI with a wired connection with netctl ifplugd. I
don't know if there
On 24 July 2013 20:26, Colin Guthrie gm...@colin.guthr.ie wrote:
Also as the previous enable would have written the .wants symlink, ti's
probably work doing a rm -f
/etc/systemd/system/network-online.target.wants/pingtest.service to
ensure it's cleaned out properly (in theory it shouldn't do
On 25 July 2013 12:55, Kai Hendry hen...@iki.fi wrote:
Though if you take a look at http://ix.io/6Rz you can see `systemctl
show -p Requires network-online.target` does not work for some
reason. I was expecting it to say darkice.service. I probably just
don't understand how dependencies work
On 25 July 2013 17:37, Colin Guthrie gm...@colin.guthr.ie wrote:
These targets are effectively static synchronisation points. The problem
here is that you're trying to map a very dynamic concept (networks
coming and going) to a static one (targets being reached).
Well I'm happy just with
On 26 July 2013 04:17, Lennart Poettering lenn...@poettering.net wrote:
We generally generate warnings about invalid lines and proceed. Aftre we
parsed everything we then do a couple of checks whether a unit still
makes sense with the stuff that was correctly parsed, and only if the
unit
Hi there,
I hope this is the right forum for a systemd question, to address a
particular problem I'm trying to solve.
Problem is I've found Firefox (for example, this probably can be
extrapolated to any browser) to lock up machines when memory is
exhausted. Ideally when the browser hits a
On 12 November 2012 19:35, Colin Guthrie gm...@colin.guthr.ie wrote:
When launching firefox becomes a user unit, then it will be contained
within it's own cgroup and can have resource limits imposed with
relative ease.
Thanks Colin for your reply.
I'm interested in a general systemd framework
Hi there,
I would normally put these `powertop -html` tunables in rc.local:
http://s.natalian.org/2012-11-19/1353291487_1366x768.png
Is http://0pointer.de/public/systemd-man/tmpfiles.d.html the right
place? If so powertop could do with some patches to help create the
file, one would think.
Many
Thanks!
Any ideas how to stream out only new events? Ideally both open close?
Many thanks,
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel
On 29 January 2013 01:51, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote:
So just 'journalctl MESSAGE_ID=b72ea4a2881545a0b50e200e55b9b06f
MESSAGE_ID=b72ea4a2881545a0b50e200e55b9b070'
should work.
Indeed it does. Though how do I listen on journalctl for *future events*?
`journalctl -f -b
On 29 January 2013 15:33, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote:
Try 'journalctl --lines=0 --follow' with the latest git.
Ah, I see the change:
http://cgit.freedesktop.org/systemd/systemd/commit/?id=67e04a486b92fcb656049cb4d6b66148c7d2e61b
I'm too much of a newbie to compile
Hi there,
How do I figure out why or where something is stuck?
http://s.natalian.org/2015-03-25/systemd-start-issue.png
`journalctl -u surf -f` prints nothing.
Binary surf runs fine when I run it manually.
Many thanks,
___
systemd-devel mailing list
First, thanks for trying to help me Kai. Awesome name btw.
On Fri, 27 Mar 2015, at 03:26 AM, Kai Krakow wrote:
Try Type=simple to not let it wait. That is telling systemd, that the
binary
will not daemonize - athough it should be default according to [1].
It's still getting stuck with
On Fri, 27 Mar 2015, at 12:14 PM, Daurnimator wrote:
My first guess based on that screenshot is case: Simple vs simple.
No I fixed that problem. :) http://ix.io/h8U
Wish there was a service validator service.
___
systemd-devel mailing list
On Tue, 7 Apr 2015, at 11:13 PM, Lennart Poettering wrote:
What does networkctl status say when this happens? And networkctl
status -a?
Oooh, I love those commands. Here is the output which says I'm routable:
http://s.natalian.org/2015-04-08/networkctl.txt
Maybe all of this has something
Thanks for the reply Lennart! I'm sorry I couldn't attend your FOSSASIA
talk in Singapore. I was on holiday.
On Sat, 4 Apr 2015, at 12:16 AM, Lennart Poettering wrote:
something else that runs before it is hanging hence. What does
systemctl list-jobs say before you run this and it hangs?
On Thu, 18 Jun 2015, at 07:04 PM, Lennart Poettering wrote:
What does systemctl status say for it?
http://s.natalian.org/2015-06-18/1434659705_1912x1036.png
Sorry, my fault. Seems like I failed to run: systemctl daemon-reload...
Many thanks,
___
On Thu, 18 Jun 2015, at 07:04 PM, Lennart Poettering wrote:
What does systemctl status say for it?
http://s.natalian.org/2015-06-18/1434659705_1912x1036.png
Sorry, my fault. Seems like I failed to run: systemctl daemon-reload...
Many thanks,
___
On Thu, 18 Jun 2015, at 06:56 PM, Lennart Poettering wrote:
nah, this is completely unrelated. The message was printed on
kdbus-less systems. We have now downgraded this so that nobody has to
see this unless he turns on debug logging.
Ah, ok. Though could you recognise what's wrong with my
Hi there,
Trying to setup a timer on my Archilnux Arm Raspberry PI running systemd
219-6.
Can anyone spot a problem with my timer?
http://s.natalian.org/2015-06-17/1434580520_1912x1036.png Getting these
wierd error messages like: Unit type .busname is not supported on this
system.
Hi there,
I've managed to get Firefox running like so:
sudo systemd-nspawn --setenv=DISPLAY=:0 \
--setenv=XAUTHORITY=~/.Xauthority \
--bind-ro=$HOME/.Xauthority:/root/.Xauthority \
-D ~/containers/firefox \
firefox
However I want to
On Sun, 23 Aug 2015, at 10:05 PM, Mantas Mikulėnas wrote:
Try adding --bind=/tmp/.X11-unix, for the named X11 sockets.
Ah! Thank you Mantas. I logged this tip on http://dabase.com/e/12009/
___
systemd-devel mailing list
On Mon, 24 Aug 2015, at 08:05 PM, Lennart Poettering wrote:
I'd be careful with things like this... You invoke firefox as PID 1
then. On UNIX PID 1 is special, it needs to reap foreign children and
needs to handle signals differently, thus taking arbitrary processes
and running them like this
On Mon, 2 Nov 2015, at 09:46 PM, Felipe Sateler wrote:
> Maybe the better option is to load the tcp pulseaudio module, allow
> connections from the container ip, and inject PULSE_SERVER envvar into
> the container.
Using tcp will not work since I'm using OpenVPN which seems to usurp all
network
Hi there guys,
I have a service where it's important that it cleans up *after* it's
run. In fact it's probably a good idea to make sure it's clean *before*
it's run too.
I got as far as:
After=clean.service
Requires=clean.service
But that does not seem to clean on stop (say if the machine is
On Tue, 3 Nov 2015, at 02:27 AM, Lennart Poettering wrote:
> Hmm, maybe there's something wrong with the ACLs on the journal files
> or the directory they reside in? Normally, there should be an ACL that
> allows the "systemd-journal" group access to all files, and
> systemd-journal-gatewayd is
On Mon, 2 Nov 2015, at 07:58 PM, Colin Guthrie wrote:
> I suspect that you'd probably want to hide this behind some kind of
> proxy for security reasons. That proxy could add appropriate
> authentication (e.g IP restrictions, user auth etc) and add in any
> additional headers).
> I could be wrong
Hi there,
I'm trying to have a super simple way of launching a browser in a VPN.
I am on Archlinux with systemd 227-1 with pulseaudio 7.1-1 & I have
another Arch container configured like so:
X1C3:~$ cat
/etc/systemd/system/systemd-nspawn@firefox.service.d/override.conf
[Service]
ExecStart=
Hi guys,
Just playing around with the journalctl Web interface here:
http://s.natalian.org/2015-11-02/journalctl.mp4
How come messages like `logger foo` do not appear in
http://localhost:19531/browse but they do in `journalctl -b -f`?
Is the API for http://localhost:19531/ defined somewhere
On Wed, 4 Nov 2015, at 05:41 PM, Andrei Borzenkov wrote:
> Why? It sounds like exact use case for Pre/Post commands.
Well, with long lines like:
ExecStartPre=/bin/bash -c 'grep -q noclean /etc/webc/cmdline || for d in
~/{.mozilla,.cache,.adobe,.macromedia,Downloads}; do rm -vrf $d; done'
On Mon, 2 Nov 2015, at 06:10 PM, Lennart Poettering wrote:
> Note that the website will show only those accessible to the
> "systemd-journal" group.
>
> Did you run "logger" unprivileged? Did you run journalctl privileged?
> That might explain the difference?
In that video earlier I ran
On Mon, 27 Jun 2016, at 08:33 PM, Reindl Harald wrote:
> normally service level agreemnets contain basic prerequisites and if the
> are ignored the customers has to pay a penalty in case of support cases
You live in a different world to me.
Just going to follow up with a blog I found on the
Hi there,
I had a quick look at
https://github.com/systemd/systemd/tree/master/src/timesync to try work
out if /usr/lib/systemd/systemd-timesyncd had some sort of fallback if
ntp UDP port 123 traffic is blocked.
This happens all too often with my deployments of Webconverger and I was
wondering
On Mon, 27 Jun 2016, at 10:42 AM, Reindl Harald wrote:
> are you aware that in case of many machines you should setp *one* ntpd
> and the other machines only acess this internal host to take away load
> from pool.ntp.org which would also solve the problem access port 123
> outside your network
On Mon, 27 Jun 2016, at 01:03 PM, Mantas Mikulėnas wrote:
> Who would host the sync server? Or would you just point it at a random
> site
> and hope its operators don't mind? It's already bad enough that systemd
> defaults to Google's private NTP servers, IMHO.
Reminds me of the "Am I on the
Hi there,
I want my T460s machine to suspend on lid close only when it's not
charging off mains.
I've looked over
https://www.freedesktop.org/software/systemd/man/logind.conf.html &
https://wiki.archlinux.org/index.php/Power_management and I don't see
how this can be achieved.
Is it reasonable
On Sat, 18 Jun 2016, at 07:56 PM, Paul Menzel wrote:
> Is that possible by just using systemd, or is a load balancer like
> HAProxy or a special NGINX configuration and service file templates
> needed?
I'm looking for answers too and the best switcheroo I've found so far is
On Thu, 14 Jul 2016, at 05:07 PM, David Timothy Strauss wrote:
> Dokku would be about a 5-10 lines of shell script with services running
> in
> systemd.
I would love to see that 10 lines of shell you claimed, but I think you
might be underestimating the fine work that went into Dokku!
Cheers,
Hi there,
I maintain a service file with a lot of switches in the ExecStart
https://github.com/kaihendry/pingprom/blob/master/prometheus%40.service#L8
I want to almost document each switch ... e.g.
-storage.local.retention=8544h # keep data for a year
I know inline comments do *not* work in
Hi guys,
After making https://www.youtube.com/watch?v=gh3jkIENmAM I'm thinking the
install process could be a lot smoother if:
somehow systemd could do the initramfs, i.e. take over mkinitcpio's hook role
I don't understand why sd-encrypt can't autodiscover the cryto_LUKS root
partition.
50 matches
Mail list logo