[systemd-devel] refcount of bus returned from sd_bus_default_system

2019-05-08 Thread Stanislav Angelovič
Heya, when writing sdbus-c++, we've observed that sd_bus_default_system function called in a fresh new thread returns a bus with initial ref count 2. We built our code upon that assumption -- we had to unref the bus twice when the thread local storage got freed, otherwise we'd have gotten memory

[systemd-devel] interacting with logind to detect user idle time

2019-05-08 Thread Germano Massullo
Hi, I am doing some practice with writing software using GDBus API. I need it to implement on BOINC client, user(s) idle time detection by retrieving such info from logind. In order to retrieve user idle time I was thinking of using the property IdleSinceHint. What do you think about? Best

Re: [systemd-devel] EFI loader partition unknown

2019-05-08 Thread Lennart Poettering
eOn Mo, 06.05.19 10:26, Chris Murphy (li...@colorremedies.com) wrote: > 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