aboutsummaryrefslogtreecommitdiff
path: root/src/property/service.lisp
Commit message (Collapse)AuthorAge
* rename ASSERT-EUID-ROOT -> ASSERT-REMOTE-EUID-ROOTSean Whitton2022-04-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add PUSH-HOSTATTR, don't use &rest in PUSH-HOSTATTRS & fix docstringSean Whitton2022-04-04
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename basic propapp accessorsSean Whitton2022-04-04
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add & propagate :NO-SERVICES connattr and respect in LIBVIRT:STARTEDSean Whitton2021-10-29
| | | | | | | | | | | | | | | | | This change was prompted by the realisation that RECONNECTS nullifies any enclosing SERVICE:WITHOUT-STARTING-SERVICES because *HOST* during RECONNECTS is a distinct HOST value, computed at hostattrs time, which can't be affected by an enclosing combinator that works by temporarily pushing hostattrs at :APPLY time. So, for example, if we chroot and subsequently establish a :SETUID connection, properties might try to start services as the non-root user and there is no way for them to know they shouldn't. We can avoid this problem by using a connattr instead because we have a mechanism for propagating connattrs to subsequently established connections. And as in most cases the reason for not starting services is solely due to the way in which we're connecting to the host, a connattr is more appropriate. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* UNWIND-PROTECT-IN-PARENT -> UNWIND-PROTECTSean Whitton2021-07-24
| | | | | | No longer needed thanks to f4e9170e73cb4bcfa7328422b4ff4f72d1339dd0. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix some uses of CL-INTERPOLSean Whitton2021-06-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add SERVICE:RESTARTED, SERVICE:RELOADEDSean Whitton2021-06-18
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* SERVICE:WITHOUT-STARTING-SERVICES: fix call to ESEQPROPSSean Whitton2021-05-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* SERVICE:WITHOUT-STARTING-SERVICES: use UNWIND-PROTECT-IN-PARENTSean Whitton2021-05-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* OS:TYPECASE->OS:ETYPECASE & OS:HOST-TYPECASE->OS:HOST-ETYPECASESean Whitton2021-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* SERVICE:RUNNING: assume no change madeSean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* untabifySean Whitton2021-03-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* simplify SERVICE:NO-SERVICES & add SERVICE:WITHOUT-STARTING-SERVICESSean Whitton2021-03-21
| | | | | | For the purposes of CHROOT:OS-BOOTSTRAPPED, this should be more robust. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix OS types DEBIAN -> DEBIANLIKESean Whitton2021-03-21
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add and use :CONSFIGURATOR named readtableSean Whitton2021-03-20
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add SERVICE:NO-SERVICES, SERVICE:RUNNINGSean Whitton2021-03-19
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>