[systemd-devel] confine user(s) to a core with systemd + cgroup

2014-07-30 Thread lejeczek
sorry to bother developers I've been reading, asking forums, etc, but failed to find an answer to one quick question: how do I put users, their whole session from the moment they login into a cgroup cpuset? I thought it would be CPUAffinity responsible for it either in systemd-user-sessions

[systemd-devel] an enhancement request/suggestion

2015-06-29 Thread lejeczek
dear devel could we please have journalctl -o cat not loose coloring the output feature? many thanks P ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] service startup time ?

2016-06-08 Thread lejeczek
sorry to bother devel, I've sroogled up but failed to find an answer to this simple question - can I get the time that a service takes to start? Also at what time after kernel loaded service commenced its startup? many thanks, L. ___

[systemd-devel] dhcpd (via systemd) @boottime which does not wait for the interface..

2016-05-04 Thread lejeczek
hi devels I have my dhcpd to serve nothing but virbr0 (libvirt), OS is Centos 7.2 Dhcpd would not start, complaining like this: No subnet declaration for virbr0 (no IPv4 addresses). ** Ignoring requests on virbr0.  If this is not what    you want, please write a subnet declaration    in your

[systemd-devel] SCHED_FIFO

2017-02-21 Thread lejeczek
hi I have ctdb use team net devices but there is a problem: https://bugzilla.redhat.com/show_bug.cgi?id=1421378 2017/02/21 15:20:34.923629 [16515]: Unable to set scheduler to SCHED_FIFO (Operation not permitted) I do: system edit ctdb there: [Service] ExecStartPre=/bin/sh -c "echo 1 >

[systemd-devel] gluster & libvritd

2017-01-18 Thread lejeczek
sorry guys, I bugged libvirtd but... weirdly, quiet there, so I'm hoping an expert here would share a thought. I've a few VM guest which work/run perfectly fine, I believe, except for autostart. Configuration of system, gluster and libvirt is pretty regular and not complex. Errors I see: ...

[systemd-devel] oneshot & restart

2017-01-18 Thread lejeczek
hi all I'm reading man pages but cannot see whether there is a conflict there, a unit: [Service] Type=oneshot RemainAfterExit=yes TimeoutSec=0 $ systemctl edit [Service] Restart=on-failure RestartSec=90 TimeoutSec=10 and I see: Loaded: error (Reason: Invalid argument) Drop-In:

Re: [systemd-devel] how make systemd NOT to clutter dmesg?

2017-02-27 Thread lejeczek
On 27/02/17 10:10, Reindl Harald wrote: Am 27.02.2017 um 10:55 schrieb lejeczek: hi there I'm trying to solve problem which to you guys must be trivial, but it's a puzzle to me. I've searched the net & man pages but ... failed to find how/where systemd is told to put stuff like:

Re: [systemd-devel] how make systemd NOT to clutter dmesg?

2017-02-27 Thread lejeczek
On 27/02/17 12:04, Lennart Poettering wrote: On Mon, 27.02.17 11:03, lejeczek (pelj...@yahoo.co.uk) wrote: On 27/02/17 10:10, Reindl Harald wrote: Am 27.02.2017 um 10:55 schrieb lejeczek: hi there I'm trying to solve problem which to you guys must be trivial, but it's a puzzle to me

[systemd-devel] how make systemd NOT to clutter dmesg?

2017-02-27 Thread lejeczek
hi there I'm trying to solve problem which to you guys must be trivial, but it's a puzzle to me. I've searched the net & man pages but ... failed to find how/where systemd is told to put stuff like: Got message type... but basically seems like the whole lot, into the dmesg? I have one box

[systemd-devel] udev - ignore/hide persistent storage

2017-03-30 Thread lejeczek
sorry guys to bother you, but I'll see myself going slowly mad next week, for I've been reading and tryingand trying.. and I fail to tell udev to ignore a device and not to create symlinks. I need someone to 100% confirm this should work in v.219. The way Ithink(or hope) it should work

Re: [systemd-devel] udev - ignore/hide persistent storage

2017-03-31 Thread lejeczek
On 31/03/17 08:00, Lennart Poettering wrote: On Thu, 30.03.17 21:40, lejeczek (pelj...@yahoo.co.uk) wrote: sorry guys to bother you, but I'll see myself going slowly mad next week, for I've been reading and tryingand trying.. and I fail to tell udev to ignore a device and not to create

Re: [systemd-devel] how make systemd NOT to clutter dmesg?

2017-03-04 Thread lejeczek
On 27/02/17 16:43, Reindl Harald wrote: Am 27.02.2017 um 17:18 schrieb lejeczek: yes, correct, something did, in /etc/grub2.cfg systemd.log_level=debug systemd.log_target=kmsg even tough nothing of above is to be found in /etc/default/grub What I found and messaged Centos list about

[systemd-devel] systemd-tmpfiles-setup.service inside LXC fails

2018-01-10 Thread lejeczek
hi everyone I guess it fails as below due to container restrictions, I use/run it from libvirtd. I read on https://libvirt.org/drvlxc.html in "Filesystem mounts": ".. /sys the host "sysfs" instance remounted read-only .." $ systemctl status -l systemd-tmpfiles-setup.service ●

[systemd-devel] Restart=on-failure & service failure "Dependency failed for"

2019-03-21 Thread lejeczek
dear devel I have a service which fails "Dependency failed for Pacemaker High Availability Cluster Manager" but that dependency is up & okey(corosync) (cannot say why pacemaker's systemctl thinks that some dep failed) So I thought I'd help pacemaker.service by adding: [Service]

[systemd-devel] indirectly related - pacemaker service

2019-05-29 Thread lejeczek
hi guys, something I was hoping one expert could shed bit more light onto - I have a pacemaker cluster composed of three nodes. One one always has a problem with pacemaker - it's tools would say thing like: $ crm_mon --one-shot Connection to cluster failed: Transport endpoint is not connected $

Re: [systemd-devel] Antw: [EXT] Re: successful mount starts a service - how?

2021-01-19 Thread lejeczek
On 19/01/2021 07:50, Ulrich Windl wrote: Andrei Borzenkov schrieb am 19.01.2021 um 06:30 in Nachricht <3a365c71-004e-031e-4153-80c376d80...@gmail.com>: 19.01.2021 04:00, lejeczek пишет: hi guys. I'm fiddling with it but have run out of options/ideas. What I would like to have is s

[systemd-devel] successful mount starts a service - how?

2021-01-18 Thread lejeczek
hi guys. I'm fiddling with it but have run out of options/ideas. What I would like to have is systemd starts a service when a device, in my case a crypt-luks device, gets mounted which mount would happen by manual 'cryptsetup open' I see when that manual action takes place then systemd

Re: [systemd-devel] service runs - but it's not really there

2021-01-29 Thread lejeczek
On 29/01/2021 13:02, Reindl Harald wrote: Am 29.01.21 um 13:55 schrieb lejeczek: ● user@0.service - User Manager for UID 0     Loaded: loaded (/usr/lib/systemd/system/user@.service; static; vendor preset: disabled)     Active: active (running) since Thu 2021-01-28 17:13:01 GMT; 2h 34min

[systemd-devel] service runs - but it's not really there

2021-01-28 Thread lejeczek
Hi guys This absolutely boggled my mind, my brain exploded, but go easy on me as I ain't an expert. I have, meaning the "root" but other users too, _NO_ "~/.config/systemd" - thus, how I understand it, no service definitions which are user-made, yet this.. ● user@0.service - User Manager

Re: [systemd-devel] luks - a particular device systemd treats differently?

2021-06-02 Thread lejeczek
On 01/06/2021 22:05, Lennart Poettering wrote: On Di, 01.06.21 16:55, lejeczek (pelj...@yahoo.co.uk) wrote: Hi guys. I have a crypttabl here: luks-devs /dev/mapper/dev1-devs /etc/.etc.enc.loop/crypttab.key discard,nofail,timeout=3s,noauto luks-home /dev/mapper/dev1-home /etc/.etc.enc.loop

[systemd-devel] depending on user units

2021-05-21 Thread lejeczek
Hi guys. While surfing the web for answers I thought I would try to call on experts - how, if possible at all, to make systemd service unit depend on users' unit/services? many thanks, L. ___ systemd-devel mailing list

Re: [systemd-devel] systemd-run / Failed to create bus connection: Input/output error

2021-05-21 Thread lejeczek
On 03/05/2021 16:04, Lennart Poettering wrote: On Fr, 30.04.21 14:33, lejeczek (pelj...@yahoo.co.uk) wrote: Hi guys. I'm do on my pretty vanilla, so I'd like to think, setup this: -> $ systemd-run --machine=qemu-8-c8kubernode1 /bin/cat /etc/centos-release Failed to create bus connect

Re: [systemd-devel] luks - a particular device systemd treats differently?

2021-06-02 Thread lejeczek
On 02/06/2021 13:46, Lennart Poettering wrote: On Mi, 02.06.21 10:00, lejeczek (pelj...@yahoo.co.uk) wrote: Conditional check - systemctl is-failed ... - works for all devices but that one. I am sorry, but I don#t really follow. I understand though that once of the instances of systemd

[systemd-devel] luks - a particular device systemd treats differently?

2021-06-01 Thread lejeczek
Hi guys. I have a crypttabl here: luks-devs /dev/mapper/dev1-devs /etc/.etc.enc.loop/crypttab.key discard,nofail,timeout=3s,noauto luks-home /dev/mapper/dev1-home /etc/.etc.enc.loop/crypttab.key discard,nofail,timeout=3s,noauto ... plus a few more lines with all options just as those two. I

[systemd-devel] systemd-run / Failed to create bus connection: Input/output error

2021-04-30 Thread lejeczek
Hi guys. I'm do on my pretty vanilla, so I'd like to think, setup this: -> $ systemd-run --machine=qemu-8-c8kubernode1 /bin/cat /etc/centos-release Failed to create bus connection: Input/output error Someone would care to decipher that for me or/and shed bit more light on possible

Re: [systemd-devel] service runs - but it's not really there

2021-01-29 Thread lejeczek
On 28/01/2021 21:32, Lennart Poettering wrote: On Do, 28.01.21 20:06, lejeczek (pelj...@yahoo.co.uk) wrote: Hi guys This absolutely boggled my mind, my brain exploded, but go easy on me as I ain't an expert. I have, meaning the "root" but other users too, _NO_ "~/.config/

[systemd-devel] is such a 'failed' state?

2021-03-28 Thread lejeczek
Hi guys. I have a service (which for some reason, I suspect SELinux, does not start at boot) which reports as: -> $ systemctl status -l lsyncd | cat ● lsyncd.service - Live Syncing (Mirror) Daemon    Loaded: loaded (/usr/lib/systemd/system/lsyncd.service; enabled; vendor preset: disabled)  

Re: [systemd-devel] is such a 'failed' state?

2021-03-28 Thread lejeczek
On 28/03/2021 20:26, Reindl Harald wrote: Am 28.03.21 um 21:19 schrieb lejeczek: I have a service (which for some reason, I suspect SELinux, does not start at boot) which reports as: -> $ systemctl status -l lsyncd | cat ● lsyncd.service - Live Syncing (Mirror) Daemon     Loaded: loa

[systemd-devel] when mount is delayed - start unit which depends on it - ?

2021-09-17 Thread lejeczek
Hi guys. I'm trying to have unit to start... well, I have a luks device which waits for manual passphrase input, when that happens 'systemd' mounts, without user intervention(which is great), that luks device. fstab: /dev/mapper/luks.devs /devs   ext4

Re: [systemd-devel] troubleshooting Clevis

2021-10-12 Thread lejeczek
On 28/09/2021 12:33, Lennart Poettering wrote: On Di, 28.09.21 12:26, lejeczek (pelj...@yahoo.co.uk) wrote: Hi guys. I have 'clevis' set to get luks pin from 'tang' but unlock does not happen at/during boot time and I wonder if someone can share thoughts on how to investigate that? I

Re: [systemd-devel] troubleshooting Clevis

2021-10-12 Thread lejeczek
On 12/10/2021 16:54, Lennart Poettering wrote: On Di, 12.10.21 16:17, lejeczek (pelj...@yahoo.co.uk) wrote: I have 'clevis' set to get luks pin from 'tang' but unlock does not happen at/during boot time and I wonder if someone can share thoughts on how to investigate that? I cannot see

[systemd-devel] troubleshooting Clevis

2021-09-28 Thread lejeczek
Hi guys. I have 'clevis' set to get luks pin from 'tang' but unlock does not happen at/during boot time and I wonder if someone can share thoughts on how to investigate that? I cannot see anything obvious fail during boot, moreover, manual 'clevis-luks-unlock' works no problems. many

[systemd-devel] LUKS - lost token?

2023-10-28 Thread lejeczek
Hi guys. I know this is most likely not best suited question for this list, but I'm hoping some experts might be able to help. I have a LUKS device which had keyslot with pass-phrase removed and token for TPM keyslot removed too - I think this is the case, for none of my passphrase works

Re: [systemd-devel] user unit with delayed users homes mount - ?

2022-10-14 Thread lejeczek
On 14/10/2022 12:02, Andrei Borzenkov wrote: On Fri, Oct 14, 2022 at 12:59 PM lejeczek wrote: Hi guys. I'm on Centos 8 S with systemd 239. Users homes are mounted at later (latest?) stage off NFS so when such a user logs in then: -> $ systemctl --user status -l xyz.service U

[systemd-devel] user unit with delayed users homes mount - ?

2022-10-14 Thread lejeczek
Hi guys. I'm on Centos 8 S with systemd 239. Users homes are mounted at later (latest?) stage off NFS so when such a user logs in then: -> $ systemctl --user status -l xyz.service Unit xyz.service could not be found. -> $ systemctl --user daemon-reload -> $ systemctl --user status -l

Re: [systemd-devel] user unit with delayed users homes mount - ?

2022-12-05 Thread lejeczek
On 16/10/2022 16:34, Lennart Poettering wrote: On Fr, 14.10.22 10:59, lejeczek (pelj...@yahoo.co.uk) wrote: Hi guys. I'm on Centos 8 S with systemd 239. Users homes are mounted at later (latest?) stage off NFS so when such a user logs in then: -> $ systemctl --user status -l xyz.serv

how to keep eth link down across reboots ?

2023-12-07 Thread lejeczek
Hi guys. Perhaps not strictly _systemd_ question but community here surely is capable - a matter of me being lucky - how would you keep an Ethernet link/port powered down? I was thinking I'll try first _udev_ rules - given other tools/managers are told to stay away from the link/port Is there