mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
Revert "file-systems: %base-file-systems: Add tmpfs /run."
This reverts commit e88018be70
. Since this
change breaks current dbus-service-type, it would be better to wait
https://issues.guix.gnu.org/73494 finished.
This commit is contained in:
parent
4c68ef7454
commit
2bb8ecbfbf
3 changed files with 5 additions and 20 deletions
|
@ -632,7 +632,7 @@ information is missing, return the empty list (for channels) and possibly
|
|||
#~(begin
|
||||
(use-modules (guix build utils))
|
||||
|
||||
;; Clean out /tmp and /var/run.
|
||||
;; Clean out /tmp, /var/run, and /run.
|
||||
;;
|
||||
;; XXX This needs to happen before service activations, so it
|
||||
;; has to be here, but this also implicitly assumes that /tmp
|
||||
|
@ -663,12 +663,15 @@ information is missing, return the empty list (for channels) and possibly
|
|||
(setlocale LC_CTYPE "en_US.utf8")
|
||||
(delete-file-recursively "/tmp")
|
||||
(delete-file-recursively "/var/run")
|
||||
(delete-file-recursively "/run")
|
||||
|
||||
;; Note: The second argument to 'mkdir' is and'ed with umask,
|
||||
;; hence the 'chmod' calls.
|
||||
(mkdir "/tmp" #o1777)
|
||||
(chmod "/tmp" #o1777)
|
||||
(mkdir "/var/run" #o755)
|
||||
(chmod "/var/run" #o755)
|
||||
(mkdir "/run" #o755)
|
||||
(chmod "/var/run" #o755))))))
|
||||
|
||||
(define cleanup-service-type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue