Re: [systemd-devel] Systemd logo usage

2023-03-08 Thread Colin Guthrie
efore. I immediately thought it looked like Pingu's head when he does his "noot noot" noise! https://media.tenor.com/bUe5f8xAVckC/pingu-noot-noot.gif A penguin reference seems appropriate too! -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day

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

2022-10-14 Thread Colin Guthrie
ectories are mounted it is rather hard to answer. Are they mounted from within /etc/fstab? Homes are mounted by other daemons started later(by systemd). Have you tried to set those daemons Before=systemd-logind.service? Or perhaps Before=systemd-user-sessions.service? -- Colin Guthrie gmane(at

Re: [systemd-devel] systemd has not the same behaviour following the version of the kernel ; StopWhenUnneeded no longer works

2022-09-28 Thread Colin Guthrie
ice Best regards --- Eric-Olivier Perrin eric-olivier.per...@sysnav.fr <mailto:eric-olivier.per...@sysnav.fr> SYSNAV 72, rue Emile Loubet 27200 Vernon (France) +33.(0)2.78.77.03.46 www.sysnav.com <http://www.sysnav.com/en/> -- Colin Guthrie

Re: [systemd-devel] Can /usr/lib/systemd/user/sockets.target.wants be used to autoenable a socket by a vendor package?

2022-09-19 Thread Colin Guthrie
ultimately becomes enabled if you do the links manually. Hope that helps explain things. Col -- Colin Guthrie

Re: [systemd-devel] Antw: Antw: [EXT] SRe: VirtualBox VM as a unit failures

2022-09-02 Thread Colin Guthrie
ript snippet I posted does that. -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.mageia.org/ PulseAudio Hacker http://www.pulseaudio.org/ Trac Hacker http://trac.edgewall.org/

[systemd-devel] SRe: VirtualBox VM as a unit failures

2022-09-01 Thread Colin Guthrie
bin/VBoxManage startvm %i --type headless ExecStop=/usr/bin/VBoxManage controlvm %i acpipowerbutton [Install] WantedBy=default.target (End of file) What is the proper way to configure this kind of unit? Thanks in advance -- -- Sergio Belkin LPIC-2 Certified - http://www.lpi.org <http://w

Re: [systemd-devel] Running actual systemd-based distribution image in systemd-nspawn

2022-06-16 Thread Colin Guthrie
Andrei Borzenkov wrote on 15/06/2022 16:56: I tried it (loop mounting qemu image): systemd-nspawn -D ./hd0 -b and it failed miserably with "Timeout waiting for device dev-disk-by...". Which is not surprising as there are no device units inside of container (it stops in single user allowing me

Re: [systemd-devel] Antw: [EXT] Re: Q: Start network in chroot?

2022-06-13 Thread Colin Guthrie
Ulrich Windl wrote on 13/06/2022 14:42: Colin Guthrie schrieb am 13.06.2022 um 14:58 in Nachricht : Ulrich Windl wrote on 13/06/2022 09:09: Hi! Two questions: 1) Why can't I use "systemctl start network" in a chroot environment (e.g. mounting the system from a rescue med

Re: [systemd-devel] Q: Start network in chroot?

2022-06-13 Thread Colin Guthrie
Ulrich Windl wrote on 13/06/2022 09:09: Hi! Two questions: 1) Why can't I use "systemctl start network" in a chroot environment (e.g. mounting the system from a rescue medium to fix a defective kernel)? When I try I get: "Running in chroot, ignoring command 'start'" 2) How can I start the

[systemd-devel] mkosi: Empty rpmdb after building older RPM distro on Fedora 36 host

2022-06-01 Thread Colin Guthrie
here to see if anyone has any suggestions which they/I can add to the issue. Cheers Col -- Colin Guthrie gmane(at)colin.guthr.ie

Re: [systemd-devel] No space left errors on shutdown with systemd-homed /home dir

2022-05-31 Thread Colin Guthrie
Hi, Neal Gompa wrote on 01/02/2022 19:55: On Tue, Feb 1, 2022 at 2:02 PM Colin Guthrie wrote: Goffredo Baroncelli wrote on 30/01/2022 09:27: On 29/01/2022 19.01, Chris Murphy wrote: On Sat, Jan 29, 2022 at 2:53 AM Goffredo Baroncelli wrote: I think that for the systemd uses cases

Re: [systemd-devel] homed: Issues with LUKS storage on btrfs

2022-01-18 Thread Colin Guthrie
it working on Fedora 35 install with a little PAM fighting and selinux tweaks. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.mageia.org/ PulseAudio Hacker http

Re: [systemd-devel] homed: Issues with LUKS storage on btrfs

2022-01-06 Thread Colin Guthrie
Hi, Sebastian Wiesner wrote on 28/12/2021 00:04: Hello, I've experimented with homectl today, and noticed two issues when creating LUKS-lookback-backed home areas on top of a btrfs filesystem: 1) homectl resize doesn't work reliably on btrfs: It looks as if on btrfs resizing a home area

Re: [systemd-devel] Run reboot as normal user

2021-11-30 Thread Colin Guthrie
e into I don't think as all you're doing is talking to systemd which does all the grunt work. HTHs Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.mageia.org/ PulseAudio

Re: [systemd-devel] Run reboot as normal user

2021-11-30 Thread Colin Guthrie
Mantas Mikulėnas wrote on 30/11/2021 08:42: On Tue, Nov 30, 2021 at 10:11 AM Mohamed Ali Fodha mailto:fodha.mohamed@gmail.com>> wrote: Hello, I want to run reboot as normal user using the following command: dbus-send --system --print-reply --reply-timeout=2000

Re: [systemd-devel] Output from `tee' is not showing up in system journal consistently on some systems

2021-10-27 Thread Colin Guthrie
e to work around this isn't ideal anyway, but just trying to help debug the underlying problem. This is just a random guess and might not at all be how the logging or cgroup handing works! Col -- Colin Guthrie

Re: [systemd-devel] [systemd]: How to set systemd not to generate loop0.device and mtdblockx.device?

2021-10-11 Thread Colin Guthrie
Hi, www wrote on 09/10/2021 04:27: In our system, the whole machine starts too slowly. We want to do some optimization. I found that two services( *loop0.device and mtdblock5.device*) started slowly. I want to remove them (I personally think our system are not need them). I want to ask you

Re: [systemd-devel] fstab automount of a mdns samba share

2021-09-28 Thread Colin Guthrie
l to make things more robust (although I'm not sure how these work with cifs). See man systemd.mount for some more info. HTHs Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contri

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

2021-09-21 Thread Colin Guthrie
target (again coupled with PartOf in the dependant services). HTHs -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.mageia.org/ PulseAudio Hacker http://www.pulseaudio.org/ Trac Hacker http://trac.edgewall.org/

Re: [systemd-devel] Xorg or Wayland Environment

2021-09-21 Thread Colin Guthrie
perhaps plasma-core being the default target for your user when it shouldn't be... Hope this helps you debug things. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.mage

Re: [systemd-devel] mkosi: rpm using host machine's users/groups

2021-09-16 Thread Colin Guthrie
Colin Guthrie wrote on 01/09/2021 14:40: Colin Guthrie wrote on 01/09/2021 14:30:    rpm -qa | xargs rpm --setugids >/dev/null 2>&1 Correction: --restore is actually needed over --setugids as although only the latter is strictly needed, it seems without the former the setuid b

Re: [systemd-devel] systemd | Requires statement with an instantiated service

2021-09-02 Thread Colin Guthrie
ces etc. Ultimately the problem here is "a" is notifying too early. Whether you solve this properly (i.e. fix "a") or with some duct tape and good will (i.e. a sleep 3 in "b") is up to you :-) Cheers Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.

Re: [systemd-devel] mkosi: rpm using host machine's users/groups

2021-09-01 Thread Colin Guthrie
Colin Guthrie wrote on 01/09/2021 14:30:   rpm -qa | xargs rpm --setugids >/dev/null 2>&1 Correction: --restore is actually needed over --setugids as although only the latter is strictly needed, it seems without the former the setuid bits on e.g. /usr/bin/su etc are also reset, so

[systemd-devel] mkosi: rpm using host machine's users/groups

2021-09-01 Thread Colin Guthrie
management/rpm/issues/882 While I don't think it helps, the user namespaces may be a useful work around (e.g. semi related to https://github.com/systemd/mkosi/issues/716) but I think the real fix is likely in glibc/rpm. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie

Re: [systemd-devel] systemd-udevd: Race condition when rule starts both a systemd-mount and an unit accessing that mount

2021-08-25 Thread Colin Guthrie
of the start-standalone-mender-deployment@media-sdb1.service out of the udev rule and instead worry about the mount path, not the device name? So the udev rule just worries about mounting, then the path unit triggers the start of the mender deployment? Just a thought and not 100% how well it wor

Re: [systemd-devel] Upgraded multiple systems to systemd 249.3 and all had eth1 not started / configured

2021-08-17 Thread Colin Guthrie
and where? (Kernel or Systemd?). *Also another point is, I have set ConfigureWithoutCarrier=yes in network files and all are static IPs, so systemd-networkd should have configured the devices even if links are not up. But its not doing that anymore either after today's update.* Regards Amish.

[systemd-devel] systemd on RHEL 8/CentOS 8 adding leading / to mount What= values

2021-07-05 Thread Colin Guthrie
Hi all, I've been running happily on CentOS 8.3 for a while but did an update recently to 8.4 and systemd-239-45.el8_4.1.x86_64 (old version but with a ton of backports as I'm sure you know/can imagine) Since then my mount units for VirtualBox Shared Folders stopped working. I traced this

Re: [systemd-devel] Only start a tomcat server when you are sure that time-sync.target is online

2021-03-25 Thread Colin Guthrie
Jan Hugo Prins wrote on 25/03/2021 14:11: Hi, > Does systemd give me a different way to check if the time is in sync? > Is there a way to create this dependency without implying a restart when > ntpd restarts? https://unix.stackexchange.com/questions/388586/systemd-requires-vs-wants

Re: [systemd-devel] consider dropping defrag of journals on btrfs

2021-02-11 Thread Colin Guthrie
Phillip Susi wrote on 11/02/2021 16:29: Colin Guthrie writes: Are those journal files suffixed with a ~. Only ~ suffixed journals represent a dirty journal file (i.e. from an unexpected shutdown). Nope. Journals rotate for other reason too (e.g. user request, overall space requirements

Re: [systemd-devel] consider dropping defrag of journals on btrfs

2021-02-11 Thread Colin Guthrie
. Are those journal files suffixed with a ~. Only ~ suffixed journals represent a dirty journal file (i.e. from an unexpected shutdown). Journals rotate for other reason too (e.g. user request, overall space requirements etc.) which might explain this wasted space? Just a thought. Col -- Colin

Re: [systemd-devel] service kills application differently on shutdown vs on stop

2020-12-14 Thread Colin Guthrie
John wrote on 14/12/2020 12:52: > Note that it looks > like I will need to add some udev rules to allow the kodi user to > shutdown the system which it could do when the PAMName=login was > present. Just a small hint, but it might be policykit rules you need to add rather than udev rules. Col

Re: [systemd-devel] mkosi question: third party repos + dnf modules

2020-12-08 Thread Colin Guthrie
it again after. Have subscribed to the issue. Cheers Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.mageia.org/ PulseAudio Hacker http://www.pulseaudio.or

Re: [systemd-devel] mkosi question: third party repos + dnf modules

2020-12-08 Thread Colin Guthrie
Reindl Harald wrote on 07/12/2020 21:34: > and how is that systemd relevant at all? https://github.com/systemd/mkosi ^^^ Maybe that bit? The fact that mkosi is a systemd project? If you don't have anything positive to add, it's a lot less effort to just do nothing! Col

Re: [systemd-devel] Help with Systemd + Apache 2.4 - CentOS 7

2020-11-24 Thread Colin Guthrie
Lucas Possamai wrote on 23/11/2020 21:57: > I don't find any extra info in the Apache Logs. The attached error message > is the only log I can see. You will get more info by running e.g. systemctl status httpd. As others have hinted at, if the systemd unit for httpd is using Type=notify, you

Re: [systemd-devel] Workaround for system upgrade bug suggestions

2020-11-03 Thread Colin Guthrie
Barry wrote on 02/11/2020 22:20: > What is the work around until the bug is fixed? I'd imagine you could just disable lingering for the users in question before running the dnf upgrade command? Not ideal but it's a workaround as you asked! Col -- Colin Guthrie gmane(at)colin.guthr.ie h

Re: [systemd-devel] systemctl reboot/halt with non-privilege user

2020-10-28 Thread Colin Guthrie
l rights to things like service management and reboot etc, so it's possible a rogue/buggy policy file from an unrelated package is causing this behaviour too. -- Colin Guthrie gmane(at)colin.guthr.ie https://colin.guthr.ie/ Day Job: Tribalogic Limited https://www.tribalogic.net/ ___

Re: [systemd-devel] [EXT] Re: Using timedatectl on a readonly rootfile system using mender

2020-09-09 Thread Colin Guthrie
Alvin Šipraga wrote on 08/09/2020 22:54: > Hi, > > On 9/8/20 4:12 PM, Colin Guthrie wrote: > >> 2. Set your /etc/ master image to make /etc/localtime to be a symlink to >> /run/localtime and then ensure /run/localtime is a symlink to the >> appropriate file

Re: [systemd-devel] [EXT] Re: Using timedatectl on a readonly rootfile system using mender

2020-09-08 Thread Colin Guthrie
it in /etc so much anymore, but manage it in /run (where > >>> transient state is generally kept), and only keep a compat > symlink in > >>> /etc. If you try to convince people though that the local timezone > >>> should just be transient s

Re: [systemd-devel] Shutdown order in systemd

2020-08-11 Thread Colin Guthrie
/github.com/ryran/reboot-guard > > Thanks! > >> On Aug 4, 2020, at 4:01, Colin Guthrie > <mailto:gm...@colin.guthr.ie>> wrote: >> >> Zheng SHAO wrote on 03/08/2020 13:31: >>> Hello, >>> >>> We are finding a robust way to handle ACPI G2

Re: [systemd-devel] Shutdown order in systemd

2020-08-03 Thread Colin Guthrie
Screen. > > Aug 3 21:23:09 shao-redis-prd-base systemd: Started Show Plymouth Power Off > Screen. > > [ OK ] Stopped Dynamic System Tuning Daemon. > > Aug 3 21:23:09 shao-redis-prd-base systemd: Stopped Dynamic System Tuning > Daemon. > ```

Re: [systemd-devel] [PATCH 0/6] RFC: Initial implementation of mount table handling using libmount kernelwatch

2020-08-03 Thread Colin Guthrie
ssion process. It can be an RFC Pull request. Just means the discussion can all take place in Github and can go through various iterations there. So, in short, don't worry about it being fully "ready" before pushing and doing a pull requests. Col -- Colin Guthrie gmane(at)col

Re: [systemd-devel] Antw: [EXT] Re: Accpetance of Environment Variables in Attributes

2020-06-26 Thread Colin Guthrie
ces as nobody. They could, in theory, mess with each other in some cases (deleting each others temporary files, sockets etc). So one dodgy/vulnerable "nobody" service could then interfere with a more robust "nobody" service just because they are running as the same us

Re: [systemd-devel] Issue on Ordering of systemd services during boot

2019-12-10 Thread Colin Guthrie
r /A.service/ during boot. However, > even after setting */After=A.service/*//and */BindsTo=A.service/*//in > /B.socket/, sometimes /B.socket/ is starting before /A.service/. > >   > > Please let me know if I am missing something. > >   > >   > > Thanks and Regards, > > Yashashvi > >   &g

Re: [systemd-devel] How to control the login prompt from my application service unit file?

2019-10-15 Thread Colin Guthrie
n still login) but if any user tries to login, the contents of the file can explain to the user why they cannot login (rather than them just sitting there with a delay). Just a thought about an alternative approach that you may want to explore. Col -- Colin Guthrie gmane(at)co

Re: [systemd-devel] Antw: Re: Unexpected behaviour not noticed by systemctl command

2019-10-10 Thread Colin Guthrie
issued a git-style "did you mean systemctl disable --now ..." error response. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.mageia.org/ PulseAudio Hacker htt

Re: [systemd-devel] org.freedesktop.systemd1.manage-units - which unit?

2019-10-07 Thread Colin Guthrie
-permitted-user" without any prompt. It's a nasty work around, but for me it was all wrapped up in a script rather than manually run, so it didn't matter too much really. You can adjust that to suit make it more tolerant to other arguments etc, but it's definitely no where near as nice or elegan

Re: [systemd-devel] Make systemd-localed modify the kernel commandline for the initrd keymap?

2019-10-07 Thread Colin Guthrie
ay from that eventually) Just out of curiosity, when /boot is the EFI (as is recommended in the BLS) how do you deal with symlinks when the FS is FAT based? Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source

Re: [systemd-devel] systemd prerelease 242-rc4

2019-04-09 Thread Colin Guthrie
v242-rc4.tar.gz > > NOTE: This is ☠️ pre-release☠️ software. Do not run this on production > systems, but please test this and report any issues you find to GitHub: > > https://github.com/systemd/systemd/issues/new?template=Bug_report.md > > Changes since the previous

Re: [systemd-devel] logging in RAM and journald configuration issue

2019-03-20 Thread Colin Guthrie
l). If this is the case, then why don't you just amend that bootstrapping to bind mount /var/log/journal to persistent storage rather than letting it be just a subdir on the tmpfs? That way you can get your mem-only syslog (or native logging) setup as you do now and get persistent journa

Re: [systemd-devel] How to suppress "A start job is running for offline-updates" knight-rider status output?

2019-02-28 Thread Colin Guthrie
rogress reports anyway, so it knows the context in which it's run. I could simply suppress the sending of SIGRTMIN+22 and leave just the pk-offline-update messages? Obviously would need a tweak to plymouth, but perhaps it's not too crazy? Just a thought. Col -- Colin Guthrie gmane(at)colin.guthr.ie

Re: [systemd-devel] Fail to load network modules properly

2019-01-29 Thread Colin Guthrie
f the module is compiled into the kernel or included in the initrd, then the firmware file would also typically have to be included in the initrd too. dracut takes care of all this for you, not sure about other initrd generators. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.

Re: [systemd-devel] systemd-nspawn: access to disk devices does not work on centos 7/systemd 219

2019-01-17 Thread Colin Guthrie
a "fairly large" deployment :-p Worth having a little look over (I haven't had the need yet - like yourself I've found workarounds for the itches I need to scratch that are fixed in newer systemds - but may do at some point) Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.

Re: [systemd-devel] Bugfix release(s)

2019-01-16 Thread Colin Guthrie
t when this happens would be nice too, as some folk will likely still follow the list more than they login to github (and for those that do login to github they may have many other projects so it could get lost in the noise) Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin

Re: [systemd-devel] Global nspawn container settings

2018-10-16 Thread Colin Guthrie
nd line, but it would get it for machines started from template units or via machinectl so may get you most of the way there. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://

Re: [systemd-devel] systemd behavior during shutdown

2018-09-19 Thread Colin Guthrie
ore" the service which is trying to use it. This should mean that the stop is not performed until after the unit that's using it. I'm not 100% sure how the socket activation stuff works in this scenario, but you may need to make sure the service unit of for the socket is actually started rather than rel

Re: [systemd-devel] CPU usage limit to systemd-nspawn container is not working

2018-07-19 Thread Colin Guthrie
ervice.d/ if you want the overrides defined in the .conf file to only apply to that one machine. All the best and HTHs Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.mag

Re: [systemd-devel] Encrypted partitions not decrypted at boot time when using key-file.

2018-03-27 Thread Colin Guthrie
name devices > # that works even if disks are added and removed. See fstab(5). > # > # > /dev/mapper/victor-odos / ext4errors=remount-ro 0 1 > /dev/mapper/victor-archos /boot ext2defaults0 2 > /dev/mapper/victor-oikia /home ext4defaults

Re: [systemd-devel] systemd-networkd-wait-online should know if there is anything to wait for

2018-03-27 Thread Colin Guthrie
*at all*, but perhaps there isn't much point in enabling the networkd-wait-online service at all in that case anyway? Struggling to understand the "why" question here, but could easily be missing something! :-) Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job

Re: [systemd-devel] Idea: adding WantsFileBefore= and WantsFileAfter=?

2018-03-27 Thread Colin Guthrie
upercell/EGOIST), Hiroyuki Sawano >>> everyone else https://refi64.com/ > > > > ___ > systemd-devel mailing list > systemd-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/systemd-devel >

Re: [systemd-devel] How to debug why a unit is started when?

2018-03-19 Thread Colin Guthrie
f you have no network filesystems (defined without noauto or nofail) and no LDAP/NIS users etc., then you may not need networkmanager-wait-online.service and if you disable this, things might go a lot faster. Be careful however, as some old network-listening services may still need this dodgy

Re: [systemd-devel] systemd-logind failing due to dbus error on org.freedesktop.systemd1

2018-02-01 Thread Colin Guthrie
f by "owned" you mean that it >> does have a process associated to it, then I would say no. Here is a >> link for the output of `busctl` https://pastebin.com/VqT38tya >> >> >>> Does `kill -SIGUSR1 1` help you? >> Nope. The issue persists (and the output of `busctl` keeps the same). >&g

Re: [systemd-devel] Again, why this strange behavior implied by "auto" in fstab ?

2018-01-25 Thread Colin Guthrie
to mount them. As systemd is more reactive (i.e. hotplug friendly) what's to say a device plugged in 2s after boot is not a device plugging in at boot but which takes a while to appear on the bus and filter through to become a device node? I don't think it would make technical sense to define a p

Re: [systemd-devel] How to stop systemctl --user processes before backup runs then restart

2018-01-04 Thread Colin Guthrie
Barry Scott wrote on 31/12/17 17:41: > I think that for my backups to run for a user I will need to stop their > systemd user services. Out of curiosity, why do you think that the process needs to be stopped for the backups to run? Col -- Colin Guthrie gmane(at)colin.guthr.i

Re: [systemd-devel] How to run forking daemon with systemd in correct way, without errors?

2017-11-23 Thread Colin Guthrie
with nginx and httpd restarting is not something you would ideally want to do in production unless you can use full socket activation supported by systemd so as not to create a small window when connections from clients are refused. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://co

Re: [systemd-devel] 回复: 回复: 回复: 回复: 回复: 回复: 回复: [systemd-d e vel] sys temctl can't executestopactually,whenservice isstarted by other way

2017-11-01 Thread Colin Guthrie
want to set soft limit to 100. From how I read it, the OP is asking for the syntax to set the soft limit in the .service file to whatever the current system-wide hard limit is. I'm afraid I'm not sure of the underlying concepts there to say whether this is supported (or indeed sensible) Col --

Re: [systemd-devel] restricting resource of a process within a service

2017-10-18 Thread Colin Guthrie
other or, depending on your IPC mechanisms, you can use socket or bus activation. This then lets you have separate systemd units for each and apply whatever accounting and restrictions you may wish on each. HTHs Col -- Colin Guthrie colin(at)mageia.org http://colin.guthr.ie/ Day

Re: [systemd-devel] Formatting Execstart= for readability

2017-08-16 Thread Colin Guthrie
like I want? > > Many thanks! Write a companion man page and/or web page and reference it in Documentation= Col -- Colin Guthrie colin(at)mageia.org http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.ma

Re: [systemd-devel] Github systemd issue 6237

2017-07-05 Thread Colin Guthrie
of "- prefix suppresses errors", but "User=notauser" should fail IMO. Col -- Colin Guthrie colin(at)mageia.org http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.ma

Re: [systemd-devel] start user-service only with UID greater than 1000

2017-05-10 Thread Colin Guthrie
m? >> > > Afaics, the logind/PAM session for gdm/Debian-gdm is deliberate. gdm > spawns that via gdm-launch-environment, see > /etc/pam.d/gdm-launch-environment, which in turn includes > pam_systemd.so And I think this is needed and desirable for stuff like pulseaudio for

Re: [systemd-devel] VERY slow systemd startup

2016-12-20 Thread Colin Guthrie
s you have some graphical thing (e.g. plymouth) but for some reason it's built without password entry support. Hope this helps Col -- Colin Guthrie colin(at)mageia.org http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://

Re: [systemd-devel] Spurious failures starting ConnMan with systemd

2016-11-15 Thread Colin Guthrie
Hi, Daniel Wagner wrote on 15/11/16 15:02: > Hi Colin, > > On 11/15/2016 03:46 PM, Colin Guthrie wrote: >> Hope you're keeping well? > > Doing fine! How is live in the north? Grand thank you! :) >> So, by default, dbus should be socket activated. That means that wh

Re: [systemd-devel] Spurious failures starting ConnMan with systemd

2016-11-15 Thread Colin Guthrie
ervice/dbus.socket in this case. >> >> Why the automatically added After= dependency on basic.target has >> turned into a Requires= dependency with the v1.30 file, but the >> explicit After=dbus.service dependency in the file from 09aa024 >> remains an After= dep

Re: [systemd-devel] assign variable to some service item

2016-10-05 Thread Colin Guthrie
age Failed to parse > CPU affinity '$CPUAffinity' > Environment file contains CPUAffinity="0-2" > Does it possible to assign cpu affinity via env variable ? > Thanks! > > -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited h

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

2016-07-20 Thread Colin Guthrie
Andrei Borzenkov wrote on 20/07/16 11:54: > On Wed, Jul 20, 2016 at 12:20 PM, Colin Guthrie <gm...@colin.guthr.ie> wrote: > >> >> Is it enough to just add the "_netdev" option to the fstab mounts in >> question? > > The problem is triggered by ma

Re: [systemd-devel] Standardizing names for graphical session units

2016-07-06 Thread Colin Guthrie
Jan Alexander Steffens wrote on 06/07/16 10:44: > On Wed, Jul 6, 2016 at 10:51 AM Colin Guthrie <gm...@colin.guthr.ie > <mailto:gm...@colin.guthr.ie>> wrote: > > Martin Pitt wrote on 04/07/16 23:08: > >> > Why would you call it graphical-<$DE>.sl

Re: [systemd-devel] Standardizing names for graphical session units

2016-07-06 Thread Colin Guthrie
ed too. I'm not sure how this would work regarding things like g-s-d which you want in multiple DEs.. perhaps the gnome.target would have to be split up into gnome-base.target and gnome.target to allow for this use case? Or perhaps g-s-d could just become bus activated and not need any

Re: [systemd-devel] why does bootctl default to /boot and not to /boot/efi?

2016-06-01 Thread Colin Guthrie
modified to detect which is used and copy the kernel to the appropriate directory (or copy it to both). I really like the ESP as /boot approach but it's hard to get people to buy into it :( Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Lim

Re: [systemd-devel] Transaction contains conflicting jobs 'restart' and 'stop'

2016-03-11 Thread Colin Guthrie
t and make all > otehr services (firewalld, iptables and fail2ban) PartOf this target. > You would then start/stop firewall.target instead of individual services. That's certainly more the kind of configuration PartOf= was originally developed to support. I wasn't

Re: [systemd-devel] [ANNOUNCE] systemd v229

2016-02-12 Thread Colin Guthrie
e the user available before the package is installed - i.e. an RPM %pre script. Just a guess at why it was left out. Personally, I'd just make such folders ghosts and them have them created by tmpfiles after package install (and thus after sysusers has run to create the user who will own the folders)

Re: [systemd-devel] [RFC] the chopping block

2016-02-12 Thread Colin Guthrie
get your reasoning for wanting to do this, but it's not really comparable to /usr support. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.

Re: [systemd-devel] [ANNOUNCE] systemd v229

2016-02-12 Thread Colin Guthrie
Armin K. wrote on 12/02/16 09:56: > On 12.02.2016 10:54, Colin Guthrie wrote: >> Dave Reisner wrote on 12/02/16 01:09: >>> On Thu, Feb 11, 2016 at 10:26:51PM +0100, Reindl Harald wrote: >>>> >>>> Am 11.02.2016 um 22:19 schrieb Dave Reisner: >>>&

Re: [systemd-devel] Trying to set up DNS server.

2016-01-27 Thread Colin Guthrie
ate community resource. You can perhaps ask via your distribution support/community channels or see help from the upstream named community or perhaps stack overflow or other general purpose community support forum. HTHs Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day

Re: [systemd-devel] Can one service receive SD_NOTIFY (Ready) message of another service?

2016-01-27 Thread Colin Guthrie
f service A talks to service B via a socket, then just ensure that service B can be socket activated and then you can technically start them both in parallel. Col -- Colin Guthrie colin(at)mageia.org http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source:

Re: [systemd-devel] known but not-listed units

2016-01-15 Thread Colin Guthrie
Mikhail Kasimov wrote on 14/01/16 15:27: > 'systemctl list-unit-files --user': to display units-files from > /etc/systemd/system dir I wouldn't use --user here as "systemctl --user" has an existing meaning. Col -- Colin Guthrie colin(at)mageia.org http://colin.guthr.ie/ Day J

Re: [systemd-devel] Github issue progress stalled

2015-12-10 Thread Colin Guthrie
h hopefully contains a short string that tells you > which source is being triggered there ... I think I've supplied all that information on the issue no? Is there something I'm missing? Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited

[systemd-devel] Github issue progress stalled

2015-12-08 Thread Colin Guthrie
There also seems to be no way to remove a "needs-reporter-feedback" tag after I've provided feedback so it'll probably be getting ignored in any workflows you use that exclude bugs with that tag. How is this workflow with GH issues supposed to work? Col -- Colin Guthrie gmane(at)coli

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

2015-11-12 Thread Colin Guthrie
ystem-running (see the man page). I guess another option would just be to write out a flag file into /run tree when you do the first call. First call the file won't exist, all subsequent calls it will. That might fit better with a scripted solution than calling out to an exec, but YMMV. Col -- C

Re: [systemd-devel] [packaging] split of systemd package

2015-11-11 Thread Colin Guthrie
;nspawn" itself doesn't mean anything unless you know what nspawn is, and if you know what it is, then you know what a container is, so the name systemd-container makes sense there. So +1 from me for that name as a general recommendation. Col -- Colin Guthrie colin(at)mageia.org http://

Re: [systemd-devel] journalctl's http://localhost:19531/browse

2015-11-02 Thread Colin Guthrie
is would be my first guess at how you would solve this problem. Col -- Colin Guthrie colin(at)mageia.org http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.mageia.org/ PulseAudio Hacker http://www.pulseaudio.org/ Tra

Re: [systemd-devel] checking predictable interface names

2015-10-19 Thread Colin Guthrie
chroot environment, while the host is for example not a systemd system, > and I want to configure network because I will have no other access to > the newly installed os after reboot. Does this work for you? udevadm test-builtin net_id ? -- Colin Guthrie colin(at)mageia.org http://

Re: [systemd-devel] Setting the shell to the system locale

2015-10-15 Thread Colin Guthrie
ide locale and a per-user one for user preferences. Not sure if this ended up happening or not tho'. It may be worth looking at the console stuff in systemd to see how it sets locales? Not much info from me but hopefully helps a bit! Col -- Colin Guthrie colin(at)mageia.org http://colin.gu

Re: [systemd-devel] [PATCH 2/2] udev/path_id: improve and enhance bus detection for Linux on z Systems

2015-10-09 Thread Colin Guthrie
erhaps retry via GitHub? Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.mageia.org/ PulseAudio Hacker http://www.pulseaudio.org/ Trac Hacker http://trac.edgewa

Re: [systemd-devel] systemd shutdown query

2015-10-07 Thread Colin Guthrie
think it does...) I'd strongly advice against using su, but if you have to you'd have to wrap this command in some kind of script: e.g. ExecStop=/bin/sh -c '/sbin/su example-user; /sbin/foo .' But I'd really recommend finding a cleaner way to do this! Col -- Colin Guthrie colin(at)mageia.org

Re: [systemd-devel] run no more than one of foo@.service at a time

2015-10-06 Thread Colin Guthrie
nces. If you post your unit or provide more details of the kind of thing you are actually wanting to achieve (rather than the solution you want) then people may be able to offer other suggestions. Cheers Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tri

Re: [systemd-devel] What I think is really wrong with systemd

2015-09-17 Thread Colin Guthrie
tions use serve precisely the same purpose. Just because they are not distributed as a tarball makes no odds. Systemd itself is no longer distributed as a tarball either and as you said, it [doesn't] matter which person is responsible. So, as your argument make no sense... http://i1.kym-cdn.com/pho

Re: [systemd-devel] Kill on console works, ExecStop not

2015-08-12 Thread Colin Guthrie
is left, it mops up), sending SIGTERM to the emacs --daemon process. Depending on how it handles the signals and where in it's destruction process (from the emacsclient signal) it *might* exit with status 15. HTHs Col -- Colin Guthrie colin(at)mageia.org http://colin.guthr.ie/ Day Job

Re: [systemd-devel] starting processes for other users

2015-08-01 Thread Colin Guthrie
things here and have process for the wrong users in sessions if you use this kind of approach (same for setuid binaries). The trick is to avoid doing these things if this is not what you want! :) Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited

Re: [systemd-devel] [ANNOUNCE] systemd-223 around the corner

2015-07-24 Thread Colin Guthrie
!). Not had a chance to poke into code yet, but if no-one has time for this release, I'll try and do that for 224. systemctl reload-or-try-restart does not fail silently as per documentation https://github.com/systemd/systemd/issues/688 Col -- Colin Guthrie gmane(at)colin.guthr.ie http

Re: [systemd-devel] How to properly write an umbrella unit

2015-07-21 Thread Colin Guthrie
at install time. Your package install script would still have to enable (or preset) the nifty.target however. This might or might not be desirable overall (in the example above, I can imagine someone still wanting to disable only the IPv6 component for example!). Col -- Colin Guthrie colin

Re: [systemd-devel] Confusing journal information - journal size

2015-07-20 Thread Colin Guthrie
definitely be nice. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.mageia.org/ PulseAudio Hacker http://www.pulseaudio.org/ Trac Hacker http://trac.edgewall.org

  1   2   3   4   5   6   7   >