Re: [systemd-devel] Why does stopping mount units kill user sessions?

2023-05-22 Thread Frank Steiner
, but for the moment we will just work around by removing the idle-timeout. And I will ask at the autofs list about a possible fix in their code. Thanks! cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. BioinformatikMail: http://www.bio.ifi.lmu.de/~steiner/m

[systemd-devel] Why does stopping mount units kill user sessions?

2023-05-16 Thread Frank Steiner
opping a session.scope/ So, can someone explain a) why the ssh session of biouser is killed when stopping the mount unit of his home dir? b) why the session is not killed when invoked with "su -l biouser"? And is there a way I can change a) so that the ssh session stays and the stop job re

Re: [systemd-devel] idle home NFS gets unmounted although user is still logged in

2023-05-16 Thread Frank Steiner
ng the user sessions is like "Oh, that mount is idle, I umount it, but, hmm, there are processes still using it, so I kill these first, although theses processes show me that the mount is not idle"... -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl

Re: [systemd-devel] idle home NFS gets unmounted although user is still logged in

2023-05-16 Thread Frank Steiner
from /home/b, the mount is removed a minute later. How can /home/b be considered idle with the above processes running..? cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. BioinformatikMail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU

[systemd-devel] idle home NFS gets unmounted although user is still logged in

2023-05-16 Thread Frank Steiner
considers /home/b idle although a user with home /home/b/biouser still has a login session running? Or can it be configured somewhere? Thanks for any ideas or help! cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. BioinformatikMail: http://www.bi

Re: [systemd-devel] [systemd‑devel] Removing bold fonts from boot messages

2021-10-16 Thread Frank Steiner
understand that I can only turn colors and bold print off or on at the same time. But it's ok as I've learned how to disable bold fonts in xterm on-the-fly. And it's really no big deal, sorry if I made it sound like a serious problem :-) -- Dipl.-Inform. Frank Steiner Web: http://www.bio.

Re: [systemd-devel] [systemd‑devel] Removing bold fonts from boot messages

2021-10-16 Thread Frank Steiner
function for that, it's quite easy to turn them on and off on-the-fly... Thanks for your explanations! -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. BioinformatikMail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89

Re: [systemd-devel] [systemd‑devel] Removing bold fonts from boot messages

2021-10-13 Thread Frank Steiner
on to bind "allow-bold-fonts(toggle)" to a key in xterm resources allows to block bold fonts whenever watching systemd boot messages via ipmi or AMT in a xterm... -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. BioinformatikMail: http://www.bio.i

[systemd-devel] Removing bold fonts from boot messages

2021-10-12 Thread Frank Steiner
if there is a place where the ascii sequences for colors and font faces are defined and can be adjusted? Or is there some option to remove the bold face only, but not the colors? systemd.log_color=0 removes all formatting, but I'd like to keep the colors... cu, Frank -- Dipl.-Inform. Frank Steiner Web: http

Re: [systemd-devel] systemd update "forgets" ordering for shutdown

2020-05-20 Thread Frank Steiner
I missed this mail, sorry! Andrei Borzenkov wrote: 16.05.2020 19:28, Frank Steiner пишет: Hi Andrei, Andrei Borzenkov wrote: Can you reproduce it by simply running "systemctl daemon-reexec" without any package update? Yes, indeed! This is enough to destroy the ordering fo

Re: [systemd-devel] systemd update "forgets" ordering for shutdown

2020-05-18 Thread Frank Steiner
Attachments missing, sorry! -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. BioinformatikMail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049

Re: [systemd-devel] systemd update "forgets" ordering for shutdown

2020-05-18 Thread Frank Steiner
rrupt installations TimeoutSec=1200 # this is neccessary to make sure we are stopped on reboot. RemainAfterExit=yes -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. BioinformatikMail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, A

Re: [systemd-devel] systemd update "forgets" ordering for shutdown

2020-05-16 Thread Frank Steiner
Hi Andrei, Andrei Borzenkov wrote: Can you reproduce it by simply running "systemctl daemon-reexec" without any package update? Yes, indeed! This is enough to destroy the ordering for the next shutdown. cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.

[systemd-devel] systemd update "forgets" ordering for shutdown

2020-05-15 Thread Frank Steiner
bug maybe fixed in some later version so that I could ask SuSE to add the patch? cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. BioinformatikMail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049

Re: [systemd-devel] Antw: Re: /etc/fstab obsolete?

2019-08-28 Thread Frank Steiner
opped. And you would be surprised how much advantages you can get from the new features. cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. BioinformatikMail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180

Re: [systemd-devel] failing unmounts during reboot

2019-07-25 Thread Frank Steiner
Lennart Poettering wrote: Things like ssh when run as a sysv script: people expect that shutting down ssh doesn't kill all your children, and it didn't in sysv... And there are similar things. That's a reasonable example, thanks! -- Dipl.-Inform. Frank Steiner Web: http

Re: [systemd-devel] Antw: failing unmounts during reboot

2019-07-25 Thread Frank Steiner
e shutdown before the network goes down. Check in /run/systemd/generator to see if this entry is missing in your units. -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. BioinformatikMail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17

Re: [systemd-devel] failing unmounts during reboot

2019-07-25 Thread Frank Steiner
stemd-sysv-generator creates. I just have to deal with those, but the KillMode drop-in does help enough. Thanks for all the explanations! cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. BioinformatikMail: http://www.bio.ifi.lmu.de/~stei

Re: [systemd-devel] failing unmounts during reboot

2019-07-25 Thread Frank Steiner
anks for pointing me to the right direction :-) cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. BioinformatikMail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax:

Re: [systemd-devel] failing unmounts during reboot

2019-07-25 Thread Frank Steiner
t.d script, I always use units for my own stuff. I'm talking about init.d scripts that are still delivered with many software packages and that I wouldn't like or try to rewrite. cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. BioinformatikM

Re: [systemd-devel] Antw: failing unmounts during reboot

2019-07-25 Thread Frank Steiner
en trying to unmount manually. But it does help in many cases, so lsof+kill could be helpful, even if it's not a perfect solution. Or at least having the possibility to do sth. like that on my own via a drop-in. -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinfo

[systemd-devel] failing unmounts during reboot

2019-07-25 Thread Frank Steiner
ount@.service that would be called for every umount with e.g. the mounpoint accessable with a variable. cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. BioinformatikMail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone

Re: [systemd-devel] Separating user-0.slice from other users

2019-03-07 Thread Frank Steiner
Ok, so I'll have to live with that. Thanks for explaining! -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. BioinformatikMail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax

[systemd-devel] Separating user-0.slice from other users

2019-03-07 Thread Frank Steiner
root.slice? Or any other way to exclude only the root user from the limits set for the user.slice? cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. BioinformatikMail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +

Re: [systemd-devel] Shared limit for different cgroups

2019-03-07 Thread Frank Steiner
Lennart Poettering wrote: You can do theopposite however, just use Slice= in your services to assign arbitrary system services to user.slice. Works great! Thanks a lot! -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. BioinformatikMail: http

[systemd-devel] Shared limit for different cgroups

2019-03-06 Thread Frank Steiner
) automatically put oder move user proceses started from apache or grid into the user slice? Or move the whole apache/grid cgroup into the user slice? Thanks! cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. BioinformatikMail: http

Re: [systemd-devel] Reboot hangs at the very last step

2016-07-20 Thread Frank Steiner
not sure when this happens on our production servers, they should always cleanly shutdown all iscsi devices, but maybe this sometimes fails for some reason. I remember that I once saw a "could not umount fs blabla, busy" or. sth. The SuSE support is working on both issues now. Thanks fo

Re: [systemd-devel] Reboot hangs at the very last step

2016-07-19 Thread Frank Steiner
t contain sth. like "After=network.service"? Maybe it's a missing patch in the quite old version of systemd in SLE 12. cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. BioinformatikMail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, A

Re: [systemd-devel] bind mounts are not delayed until the underlying fs gets mounted

2016-02-02 Thread Frank Steiner
ering mechanism should be "from top to bottom" in fstab, but it looks like this vanishes for entries delayed by _netdev. Maybe systemd collects all _netdev entries for later activation but then forgets to re-order them? cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.d

Re: [systemd-devel] No maintenance shell on local fs failure (/bin/sh: no such file or directory)

2016-01-15 Thread Frank Steiner
In case someone else steps in this; Frank Steiner wrote > Hi, > > on one of my serves I have a LVM that, due to an error in my lvm.conf, > couldn't be mounted on boot. But I didn't get a maintenance shell as > I usually got on other servers, the output just stopped af

Re: [systemd-devel] Detect if a script runs during bootup

2015-11-23 Thread Frank Steiner
Colin Guthrie wrote > Zbigniew Jędrzejewski-Szmek wrote on 11/11/15 15:55: >> On Wed, Nov 11, 2015 at 04:39:23PM +0100, Frank Steiner wrote: >>> Isn't there an easy way to figure out if this script is running >>> inside the boot process? Some variable set or not yet se

[systemd-devel] No maintenance shell on local fs failure (/bin/sh: no such file or directory)

2015-11-23 Thread Frank Steiner
LVM doesn't exist. I'd be very thankful for any hint pointing me to the right direction. At the moment I've really no clue whats happening :-( cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. BioinformatikMail: http://www.bio.ifi.lmu.de/~steiner/m/

Re: [systemd-devel] Detect if a script runs during bootup

2015-11-12 Thread Frank Steiner
SLE 12 does not yet know about this option, but I'll ask for an update. Thanks so far! cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. BioinformatikMail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 803

[systemd-devel] Detect if a script runs during bootup

2015-11-11 Thread Frank Steiner
m not sure if this reliable or not. cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. BioinformatikMail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 *

Re: [systemd-devel] Detect if a script runs during bootup

2015-11-11 Thread Frank Steiner
forming this special action. If I was able to work with systemd unit files, I could perfectly do what I want, but I'm stuck with this LSB file. Isn't there an easy way to figure out if this script is running inside the boot process? Some variable set or not yet set? cu, Frank -- Dipl.-Inform. Frank

[systemd-devel] Solution for evaluating variables in environment files

2015-10-07 Thread Frank Steiner
erent versions of container.conf could be created for forking scripts etc., but this simple version was enough for us to run e.g. apache2 and tomcat. Maybe this helps someone else :-) cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik

Re: [systemd-devel] How to keep certain services or mounts active during shutdown?

2015-07-14 Thread Frank Steiner
the configs manually, so I missed it there, too. Anyway, problem solved ;-) cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. BioinformatikMail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333

Re: [systemd-devel] How to keep certain services or mounts active during shutdown?

2015-07-03 Thread Frank Steiner
.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. BioinformatikMail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man

Re: [systemd-devel] How to keep certain services or mounts active during shutdown?

2015-07-03 Thread Frank Steiner
everything that was left over by that first phase. It's basically a umount loop that That's ok as I only need to keep the mounts over a certain point, then they can go :-) Thanks for your help! cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f

[systemd-devel] How to keep certain services or mounts active during shutdown?

2015-07-02 Thread Frank Steiner
? No matter if they have a *.mount in /run/ or not? cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. BioinformatikMail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax

Re: [systemd-devel] How to keep certain services or mounts active during shutdown?

2015-07-02 Thread Frank Steiner
wonder if the shutdown initramfs feature [1] would help here. I didn't see how that might help. I'll try to setup *.mount file for these mounts and try to order them with Before/After directivies so that they are kept as long as possible during the shutdown. cu, Frank -- Dipl.-Inform. Frank

Re: [systemd-devel] How to get systemd boot messages on serial console and screen?

2015-04-17 Thread Frank Steiner
one. I'm not sure how one can write to all consoles in parallel from user space, I think in SLES 11 blogd was used for this. It would be nice if systemd could print to all consoles without helper programs like plymouth etc. cu, Frank -- Dipl.-Inform. Frank Steiner Web: http

[systemd-devel] How to get systemd boot messages on serial console and screen?

2015-04-14 Thread Frank Steiner
-- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. BioinformatikMail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen

Re: [systemd-devel] systemd --test fails

2015-03-16 Thread Frank Steiner
distribution to backport the fixes. I got a backport for SLES 12 from the SuSE support and now the test mode works fine. Thanks for the hint :-) cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. BioinformatikMail: http://www.bio.ifi.lmu.de/~steiner/m

[systemd-devel] systemd --test fails

2015-03-06 Thread Frank Steiner
need to run the test mode? Adding him to the root group didn't suffice. Thanks! cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. BioinformatikMail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049