patches and low-level development discussion
 help / color / mirror / code / Atom feed
* Starting programs before udev is running
@ 2025-09-02  9:09 Demi Marie Obenour
  2025-09-02 12:25 ` [systemd-devel] " Barry Scott
  0 siblings, 1 reply; 2+ messages in thread
From: Demi Marie Obenour @ 2025-09-02  9:09 UTC (permalink / raw)
  To: systemd development; +Cc: Spectrum OS Development, Alyssa Ross


[-- Attachment #1.1.1: Type: text/plain, Size: 1091 bytes --]

Is it dangerous to start programs before udev is running,
so long as all of the other dependencies of these programs
(such as /var and /home being read-write) have been satisfied?
Or do programs assume that udev has actually started, not
merely bound to its sockets connections?

The reason I ask is that I'm using systemd-udevd with a
non-systemd service manager (s6 + s6-rc) and it has an
incompatible method for readiness notification (writing
a newline to a file descriptor).  s6-rc has full support
for dependencies, so I can easily have udev write to a FIFO
when it picks up /dev/zero and have other things depend on
that, but I'm curious if there are any other problems with
this approach.

In case it matters, the only programs running on the machine
will be some VMs, a few programs to support them, a Wayland
compositor (now Weston, eventually COSMIC), some XDG portals,
and possibly a couple of others.  No code not included in the
(signed and dm-verity protected) root filesystem will be
allowed to execute.
-- 
Sincerely,
Demi Marie Obenour (she/her/hers)

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 7253 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-09-03 14:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-02  9:09 Starting programs before udev is running Demi Marie Obenour
2025-09-02 12:25 ` [systemd-devel] " Barry Scott

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).