Re: [systemd-devel] systemd-networkd bring interface up without link

2019-05-06 Thread Andrei Borzenkov
07.05.2019 4:22, Matt Zagrabelny пишет: > Greetings, > > I'm using Debian Buster with systemd 241-3. > > I have a computer (server) that is running isc-dhcpd and I have a hardwired > interface with static addressing on the computer: > > $ cat /etc/systemd/network/eth-router.network > [Match] >

Re: [systemd-devel] EFI loader partition unknown

2019-05-06 Thread Chris Murphy
On Mon, May 6, 2019 at 10:26 AM Chris Murphy wrote: > Looks like it wants to mount root, but it's already mounted and hence > busy. Btrfs lets you do that, ext4 and XFS don't, they need to be bind > mounted instead. Just a guess. Nope, that's not correct. I can mount /dev/vda2 on /mnt just

[systemd-devel] systemd-networkd bring interface up without link

2019-05-06 Thread Matt Zagrabelny
Greetings, I'm using Debian Buster with systemd 241-3. I have a computer (server) that is running isc-dhcpd and I have a hardwired interface with static addressing on the computer: $ cat /etc/systemd/network/eth-router.network [Match] MACAddress=00:01:c0:1e:25:dd [Network]

Re: [systemd-devel] EFI loader partition unknown

2019-05-06 Thread Chris Murphy
Waiting for device (parent + 2 partitions) to appear... Found writable 'root' partition (UUID 87d5a92987174be9ad216482074d1409) of type xfs without verity on partition #2 (/dev/vda2) Found writable 'esp' partition (UUID b5aa8c29b4ab4021b2b22326860bda97) of type vfat on partition #1 (/dev/vda1)

Re: [systemd-devel] unable to fully halt system

2019-05-06 Thread Matt Zagrabelny
On Wed, May 1, 2019 at 11:02 PM Mantas Mikulėnas wrote: > On Thu, May 2, 2019, 04:19 Matt Zagrabelny wrote: > >> Greetings, >> >> I'm hitting an issue and I'm not quite sure the best place to debug it. >> >> I've got a fresh install of Debian Buster, systemd 241-3. >> >> and when I run "sudo

Re: [systemd-devel] EFI loader partition unknown

2019-05-06 Thread Lennart Poettering
On So, 05.05.19 17:02, Chris Murphy (li...@colorremedies.com) wrote: > > > blkid reports: > > > /dev/vda1: SEC_TYPE="msdos" UUID="927C-932C" TYPE="vfat" > > > PARTLABEL="EFI System Partition" > > > PARTUUID="0e3a48c0-3f1b-4ca7-99f4-32fd1d831cdc" > > > > > > gdisk reports: > > > Partition number

Re: [systemd-devel] Systemd service and structured logging

2019-05-06 Thread Lennart Poettering
On Fr, 03.05.19 11:09, Thomas Güttler (guettl...@thomas-guettler.de) wrote: > I have a systemd service which is of type "simple". > > I want my service to log key-value pairs. > > Is there a way to use structured logs with systemd? Depend on your programming language. In C,

Re: [systemd-devel] Systemd service and structured logging

2019-05-06 Thread Vincent Dahmen
Hi there, I wrote my first response not to the list, so sry for the double. > On the other hand, JSON parsing might be a useful addition to journald, as > apparently "@cee: {}" is a quite common syslog format. JSON is meant to be parsed by an application and I am not sure if logging (specially

Re: [systemd-devel] Systemd service and structured logging

2019-05-06 Thread Mantas Mikulėnas
On Mon, May 6, 2019 at 10:09 AM Thomas Güttler wrote: > Am 03.05.19 um 13:29 schrieb Jérémy ROSEN: > > if you want the whole power of structured logs, you need to use the > journald API > On the other hand, JSON parsing might be a useful addition to journald, as apparently "@cee: {}" is a quite

Re: [systemd-devel] Systemd service and structured logging

2019-05-06 Thread Jérémy ROSEN
you can have both your app and the wrapper launched by a shell, and have systemd monitor the shell... Le lun. 6 mai 2019 à 09:09, Thomas Güttler a écrit : > Am 03.05.19 um 13:29 schrieb Jérémy ROSEN: > > if you want the whole power of structured logs, you need to use the > journald API > > I am

Re: [systemd-devel] Systemd service and structured logging

2019-05-06 Thread Thomas Güttler
Am 03.05.19 um 13:29 schrieb Jérémy ROSEN: if you want the whole power of structured logs, you need to use the journald API I am not sure in what language your program is written, but if you are using C, it's pretty trivial to do (and i'm pretty sure most bindings are trivial to use too)