Re: [systemd-devel] Timed out waiting for device dev-mmcblkp1.device

2018-05-23 Thread Belisko Marek
On Wed, May 23, 2018 at 1:50 PM Mantas Mikulėnas <graw...@gmail.com> wrote: > On Wed, May 23, 2018 at 2:37 PM Belisko Marek <marek.beli...@gmail.com> wrote: >> Hello, >> I'm using system 234 build by yocto for BeagleBoneBlack. I ave some strange >> issue t

[systemd-devel] Timed out waiting for device dev-mmcblkp1.device

2018-05-23 Thread Belisko Marek
Hello, I'm using system 234 build by yocto for BeagleBoneBlack. I ave some strange issue that systemd start timeout because cannot find dev node (which is obviously non existing). Snippet: [ TIME ] Timed out waiting for device dev-mmcblkp1.device.

[systemd-devel] RTC clock not updated when timesyncd get correct date/time

2019-01-22 Thread Belisko Marek
Hi, I'm using systemd 234 on rapsberrypi (build from yocto). Board contains RTC chip with capacitor to keep correct date time when device is powered off. When I boot with eth cable plugged then timedatectl shows correct local date + time and also RTC is properly updated: hwclock Tue Jan 22

Re: [systemd-devel] starting qt application after DRM initialized

2018-12-11 Thread Belisko Marek
On Fri, Dec 7, 2018 at 12:45 PM Belisko Marek wrote: > > On Fri, Dec 7, 2018 at 12:34 PM Lennart Poettering > wrote: > > > > On Do, 06.12.18 22:58, Belisko Marek (marek.beli...@gmail.com) wrote: > > > > > [Unit] > > > Description=D

Re: [systemd-devel] starting qt application after DRM initialized

2018-12-07 Thread Belisko Marek
On Fri, Dec 7, 2018 at 12:34 PM Lennart Poettering wrote: > > On Do, 06.12.18 22:58, Belisko Marek (marek.beli...@gmail.com) wrote: > > > [Unit] > > Description=Demo > > After=systemd-user-sessions.service > > > > [Service] > > ExecStart=-/usr/bi

Re: [systemd-devel] starting qt application after DRM initialized

2018-12-06 Thread Belisko Marek
Hi Tomasz, On Fri, Dec 7, 2018 at 6:26 AM Tomasz Torcz wrote: > > On Thu, Dec 06, 2018 at 10:58:31PM +0100, Belisko Marek wrote: > > Hi, > > > > I'm trying to run qt qml application on intel nuc but when booted from > > hdd I'll get an eror when app is started: &

[systemd-devel] can I use network-online.target without NM and networkd

2019-03-25 Thread Belisko Marek
Hi, in my app I need to delay startup until network is really up & running. I go through [1] and it mentions that it works only with NetworkManager and systemd-networkd. I'm using ifup configuration for network so can I use this target to be sure that app will be called only when network is up?

Re: [systemd-devel] symlinking /etc/hostname to /data/etc/hostname woes

2019-07-01 Thread Belisko Marek
On Mon, Jul 1, 2019 at 9:48 AM Lennart Poettering wrote: > > On Mo, 01.07.19 08:25, Belisko Marek (marek.beli...@gmail.com) wrote: > > > Hi, > > > > I'm working on rpi3 by using mender OTA system and for identifying > > devices I would like to have f

[systemd-devel] symlinking /etc/hostname to /data/etc/hostname woes

2019-07-01 Thread Belisko Marek
Hi, I'm working on rpi3 by using mender OTA system and for identifying devices I would like to have for every of it different hostname. As rootfs is update-able (rootA, rootB layout) so I tried to create file in /data/etc (which is permanent) and in /etc create symlink. When now boot my system I

[systemd-devel] perform fsck on everyt boot

2019-11-11 Thread Belisko Marek
Hi, I'm using systemd 234 (build by yocto) and I've setup automount of sdcard in fstab. This works perfectly fine. But I have seen from time to time when system goes to emergency mode because sdcard filesystem (ext4) have an issue and cannot be mounted. I was thinking about forcing fsck for every

Re: [systemd-devel] perform fsck on everyt boot

2019-11-12 Thread Belisko Marek
On Mon, Nov 11, 2019 at 4:47 PM Lennart Poettering wrote: > > On Mo, 11.11.19 13:33, Belisko Marek (marek.beli...@gmail.com) wrote: > 65;5802;1c > > Hi, > > > > I'm using systemd 234 (build by yocto) and I've setup automount of > > sdcard in fstab. This works per

Re: [systemd-devel] perform fsck on everyt boot

2019-11-20 Thread Belisko Marek
On Thu, Nov 21, 2019 at 7:25 AM Chris Murphy wrote: > > On Tue, Nov 12, 2019 at 3:52 AM Belisko Marek wrote: > > > > On Mon, Nov 11, 2019 at 4:47 PM Lennart Poettering > > wrote: > > > > > > On Mo, 11.11.19 13:33, Belisko Marek (marek.beli...@gma

Re: [systemd-devel] perform fsck on everyt boot

2019-11-20 Thread Belisko Marek
Hi Andrei, On Sat, Nov 16, 2019 at 9:31 AM Andrei Borzenkov wrote: > > 12.11.2019 13:52, Belisko Marek пишет: > > On Mon, Nov 11, 2019 at 4:47 PM Lennart Poettering > > wrote: > >> > >> On Mo, 11.11.19 13:33, Belisko Marek (marek.beli...@gmail.

Re: [systemd-devel] reformat partition when device is in emergency mode

2020-01-13 Thread Belisko Marek
On Mon, Jan 13, 2020 at 12:59 PM Ulrich Windl wrote: > > >>> Belisko Marek schrieb am 13.01.2020 um 10:19 in > Nachricht > : > > Hi, > > > > I have embedded system which contains fat32 partition at the end of > > partition table. I

[systemd-devel] reformat partition when device is in emergency mode

2020-01-13 Thread Belisko Marek
Hi, I have embedded system which contains fat32 partition at the end of partition table. In case partition cannot be mounted (I'm using fstab-generator to automatically mount partition) device will enter emergency mode. My idea is to check somehow in this mode that partition is corrupted and

[systemd-devel] journalctl --sync blocks when some app intensively log to stdout

2020-09-11 Thread Belisko Marek
Hi, I have an application which print bit often to log (every 500ms) and when ap is started by systemd and try to perform journalctl --sync (I don't have persistent flag in conf set so it should sync on /tmp AFAIU) it blocks with this trace: getpid()= 2571

[systemd-devel] Alias use in socket file

2020-09-08 Thread Belisko Marek
Hi, I'm using yocto build systemd and I'm using openssh server which create sshd.socket + sshd@.service files. With socket I can control if ssh is enabled / disabled. I have an application which expects to check statu of ssh.service. I tried to add Alias=ssh.service to sshd.socket file and tried

Re: [systemd-devel] date/time set to epoch when using readonly rootfs

2020-10-22 Thread Belisko Marek
On Thu, Oct 22, 2020 at 7:58 AM Tomasz Torcz wrote: > > On Wed, Oct 21, 2020 at 10:13:10PM +0200, Belisko Marek wrote: > > Hi, > > > > I'm facing a strange issue. When I boot system using systemd (244.3) > > and in one service I'm generating some certificates. When

Re: [systemd-devel] date/time set to epoch when using readonly rootfs

2020-10-23 Thread Belisko Marek
On Thu, Oct 22, 2020 at 12:57 PM Lennart Poettering wrote: > > On Do, 22.10.20 11:53, Belisko Marek (marek.beli...@gmail.com) wrote: > > > > Hmm? this service has nothing to do with epoch/clock setting. It's > > > used for systems that have a "reboot-for-update

Re: [systemd-devel] date/time set to epoch when using readonly rootfs

2020-10-22 Thread Belisko Marek
On Thu, Oct 22, 2020 at 11:51 AM Lennart Poettering wrote: > > On Do, 22.10.20 11:47, Belisko Marek (marek.beli...@gmail.com) wrote: > > > On Thu, Oct 22, 2020 at 10:52 AM Lennart Poettering > > wrote: > > > > > > On Mi, 21.10.20 22:13, Belisk

Re: [systemd-devel] date/time set to epoch when using readonly rootfs

2020-10-22 Thread Belisko Marek
On Thu, Oct 22, 2020 at 10:52 AM Lennart Poettering wrote: > > On Mi, 21.10.20 22:13, Belisko Marek (marek.beli...@gmail.com) wrote: > > > Hi, > > > > I'm facing a strange issue. When I boot system using systemd (244.3) > > and in one service I'm generating

[systemd-devel] date/time set to epoch when using readonly rootfs

2020-10-21 Thread Belisko Marek
Hi, I'm facing a strange issue. When I boot system using systemd (244.3) and in one service I'm generating some certificates. When checking them I'm getting the result that the certificate was created 1.1.1970 which is invalid. I can wait until I get a network connection and only then create

[systemd-devel] service killed when usb device reloaded

2021-01-13 Thread Belisko Marek
Hi, I'm facing a strange issue. I have gsm modem and when modem is restarted (removed from usb bus and plugged back) one of services is restarted (with enabled systemd debug level): Jan 07 09:07:00 device systemd[1]: Received SIGCHLD from PID 166 (systemtest). Jan 07 09:07:00 device kernel[174]:

[systemd-devel] timesyncd manager_connect exhaust server and add unneeded delay

2021-03-19 Thread Belisko Marek
Hi, I'm using a bit older systemd 234 and debugging issues when on connection lost/recover timesyncd wait some until it makes actual server connection again. My theory: When connection is established manager_network_event_handler is called and check online/connected. In case of unplug cable it's

[systemd-devel] use RTC date/time to set system date time

2021-03-01 Thread Belisko Marek
Hi, I have a case when a board boots without network connection but RTC have the correct date/time. Does systemd use RTC date/time to set systemd time or it needs to be done manually? Thanks and regards, marek -- as simple and primitive as possible

[systemd-devel] setting up journal-remote

2021-02-18 Thread Belisko Marek
Hi, I'm trying to setup journal-remote between 2 hosts (Ubuntu 20.04 server and CentOS 8 client). I've installed on both systemd systemd-journal-remote and on server I enabled systemd-journal-remote.service and socket. I just did small update in service file to use http instead of https: