unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
  • [parent not found: <87o7ipvbhh.fsf@wireframe>]
  • * bug#64775: /run should be cleaned on boot
    @ 2023-07-21 19:23 Vagrant Cascadian
      2023-07-21 19:36 ` Csepp
      0 siblings, 1 reply; 10+ messages in thread
    From: Vagrant Cascadian @ 2023-07-21 19:23 UTC (permalink / raw)
      To: 64775
    
    [-- Attachment #1: Type: text/plain, Size: 1192 bytes --]
    
    So, if there are files sitting around in /run, they do not get cleaned
    up unless it is something guix is already aware of
    (e.g. /run/setuid-programs).
    
    I noticed this when experimenting with:
    
      https://issues.guix.gnu.org/61462
      Add support for file capabilities(7)
    
    Even after a reboot, the leftovers from that experimental patchset were
    still present in /run...
    
    While I know that Guix does not really follow the FHS in most respects,
    maybe the intention of /run defined there should still be respected?
    
      https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s15.html
    
      3.15. /run : Run-time variable data
      3.15.1. Purpose
    
      This directory contains system information data describing the system
      since it was booted. Files under this directory must be cleared
      (removed or truncated as appropriate) at the beginning of the boot
      process.
      ...
    
    Many distros implement this by having /run on a tmpfs, but making sure
    to clean up /run at boot seems like a reasonable thing to do at the very
    least.
    
    I am not sure if it makes sense to do housecleaning of /run from guix
    system reconfigure ... as there may be legitimate uses for other
    processes to write there.
    
    
    live well,
      vagrant
    
    [-- Attachment #2: signature.asc --]
    [-- Type: application/pgp-signature, Size: 227 bytes --]
    
    ^ permalink raw reply	[flat|nested] 10+ messages in thread

    end of thread, other threads:[~2024-09-15 22:30 UTC | newest]
    
    Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <87r0uuehlr.fsf@nckx>
         [not found] ` <129e8d298556f6a159fcb704ed3df4bf0709ddd3.1689465600.git.me@tobias.gr>
         [not found]   ` <87edl1yu2k.fsf@wireframe>
         [not found]     ` <87bkg5yt91.fsf@wireframe>
         [not found]       ` <87r0odpmot.fsf_-_@gnu.org>
         [not found]         ` <87o7ipvbhh.fsf__48662.4622646318$1693341314$gmane$org@wireframe>
    2023-08-29 21:21           ` bug#64775: /run should be cleaned on boot brian via Bug reports for GNU Guix
         [not found]         ` <87o7ipvbhh.fsf@wireframe>
    2024-09-15 22:29           ` Ludovic Courtès
    2023-07-21 19:23 Vagrant Cascadian
    2023-07-21 19:36 ` Csepp
    2023-07-21 19:57   ` Vagrant Cascadian
    2023-07-21 20:24     ` Saku Laesvuori via Bug reports for GNU Guix
    2023-08-06 13:18       ` Hilton Chain via Bug reports for GNU Guix
    2023-08-06 20:06         ` Vagrant Cascadian
    2023-08-07  1:33           ` Hilton Chain via Bug reports for GNU Guix
    2023-08-07 14:39         ` Maxim Cournoyer
    

    Code repositories for project(s) associated with this public inbox
    
    	https://git.savannah.gnu.org/cgit/guix.git
    
    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 read-only IMAP folder(s) and NNTP newsgroup(s).