[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux_var] Log temporanei con OverlayFS e Systemd



Buona Domenica,
Oggi stavo provando a costruire un OverlayFS utilizzando un tmpfs per rendere la directory /var/log del mio sistema volatile in maniera trasparente. Ho pensato di utilizzare Systemd con alcune unit servizio e altre di mount. Le unit costruite sembrano funzionare a dovere se avviate da linea di comando ma una volta abilitate al boot creano non pochi problemi con un “Ordering cycle” che porta a saltare alcune fasi di avvio del sistema. In particolare le tre unit sono una dipendenza dell’altra e vengono eseguite nell’ordine corretto quando si avvia var-log.mount. Ho provato ad indagare su questo ciclo senza successo. Alla mail ho allegato le unit, il mio log di boot e l’output del comando systemctl list-dependencies, spero che qualcuno di voi super esperti riesca ad aiutarmi.

Un saluto,
Leonardo

Attachment: boot.log
Description: Binary data

default.target
â?? â??â??accounts-daemon.service
â?? â??â??gdm.service
â?? â??â??livesys-late.service
â?? â??â??livesys.service
â?? â??â??rtkit-daemon.service
â?? â??â??systemd-update-utmp-runlevel.service
â?? â??â??multi-user.target
â??   â??â??abrt-ccpp.service
â??   â??â??abrt-oops.service
â??   â??â??abrt-vmcore.service
â??   â??â??abrt-xorg.service
â??   â??â??abrtd.service
â??   â??â??atd.service
â??   â??â??auditd.service
â??   â??â??avahi-daemon.service
â??   â??â??chronyd.service
â??   â??â??crond.service
â??   â??â??cups.path
â??   â??â??dbus.service
â??   â??â??libvirtd.service
â??   â??â??livesys-late.service
â??   â??â??livesys.service
â??   â??â??mcelog.service
â??   â??â??mdmonitor.service
â??   â??â??ModemManager.service
â??   â??â??netcf-transaction.service
â??   â??â??NetworkManager.service
â??   â??â??plymouth-quit-wait.service
â??   â??â??plymouth-quit.service
â??   â??â??rngd.service
â??   â??â??sshd.service
â??   â??â??systemd-ask-password-wall.path
â??   â??â??systemd-logind.service
â??   â??â??systemd-update-utmp-runlevel.service
â??   â??â??systemd-user-sessions.service
â??   â??â??vmtoolsd.service
â??   â??â??basic.target
â??   â?? â??â??-.mount
â??   â?? â??â??alsa-restore.service
â??   â?? â??â??alsa-state.service
â??   â?? â??â??fedora-autorelabel-mark.service
â??   â?? â??â??fedora-autorelabel.service
â??   â?? â??â??fedora-loadmodules.service
â??   â?? â??â??firewalld.service
â??   â?? â??â??tmp.mount
â??   â?? â??â??paths.target
â??   â?? â??â??slices.target
â??   â?? â?? â??â??-.slice
â??   â?? â?? â??â??system.slice
â??   â?? â??â??sockets.target
â??   â?? â?? â??â??avahi-daemon.socket
â??   â?? â?? â??â??cups.socket
â??   â?? â?? â??â??dbus.socket
â??   â?? â?? â??â??dm-event.socket
â??   â?? â?? â??â??iscsid.socket
â??   â?? â?? â??â??iscsiuio.socket
â??   â?? â?? â??â??rpcbind.socket
â??   â?? â?? â??â??systemd-initctl.socket
â??   â?? â?? â??â??systemd-journald-audit.socket
â??   â?? â?? â??â??systemd-journald-dev-log.socket
â??   â?? â?? â??â??systemd-journald.socket
â??   â?? â?? â??â??systemd-udevd-control.socket
â??   â?? â?? â??â??systemd-udevd-kernel.socket
â??   â?? â??â??sysinit.target
â??   â?? â?? â??â??dev-hugepages.mount
â??   â?? â?? â??â??dev-mqueue.mount
â??   â?? â?? â??â??dmraid-activation.service
â??   â?? â?? â??â??dracut-shutdown.service
â??   â?? â?? â??â??iscsi.service
â??   â?? â?? â??â??kmod-static-nodes.service
â??   â?? â?? â??â??ldconfig.service
â??   â?? â?? â??â??lvm2-lvmetad.socket
â??   â?? â?? â??â??lvm2-lvmpolld.socket
â??   â?? â?? â??â??lvm2-monitor.service
â??   â?? â?? â??â??multipathd.service
â??   â?? â?? â??â??plymouth-read-write.service
â??   â?? â?? â??â??plymouth-start.service
â??   â?? â?? â??â??proc-sys-fs-binfmt_misc.automount
â??   â?? â?? â??â??sys-fs-fuse-connections.mount
â??   â?? â?? â??â??sys-kernel-config.mount
â??   â?? â?? â??â??sys-kernel-debug.mount
â??   â?? â?? â??â??systemd-ask-password-console.path
â??   â?? â?? â??â??systemd-binfmt.service
â??   â?? â?? â??â??systemd-firstboot.service
â??   â?? â?? â??â??systemd-hwdb-update.service
â??   â?? â?? â??â??systemd-journal-catalog-update.service
â??   â?? â?? â??â??systemd-journal-flush.service
â??   â?? â?? â??â??systemd-journald.service
â??   â?? â?? â??â??systemd-machine-id-commit.service
â??   â?? â?? â??â??systemd-modules-load.service
â??   â?? â?? â??â??systemd-random-seed.service
â??   â?? â?? â??â??systemd-sysctl.service
â??   â?? â?? â??â??systemd-sysusers.service
â??   â?? â?? â??â??systemd-tmpfiles-setup-dev.service
â??   â?? â?? â??â??systemd-tmpfiles-setup.service
â??   â?? â?? â??â??systemd-udev-trigger.service
â??   â?? â?? â??â??systemd-udevd.service
â??   â?? â?? â??â??systemd-update-done.service
â??   â?? â?? â??â??systemd-update-utmp.service
â??   â?? â?? â??â??systemd-vconsole-setup.service
â??   â?? â?? â??â??cryptsetup.target
â??   â?? â?? â??â??local-fs.target
â??   â?? â?? â?? â??â??-.mount
â??   â?? â?? â?? â??â??boot-efi.mount
â??   â?? â?? â?? â??â??boot.mount
â??   â?? â?? â?? â??â??fedora-import-state.service
â??   â?? â?? â?? â??â??fedora-readonly.service
â??   â?? â?? â?? â??â??systemd-fsck-root.service
â??   â?? â?? â?? â??â??systemd-remount-fs.service
â??   â?? â?? â?? â??â??tmp.mount
â??   â?? â?? â?? â??â??var-lib-machines.mount
â??   â?? â?? â?? â??â??var-log.mount
â??   â?? â?? â??â??swap.target
â??   â?? â??   â??â??dev-mapper-fedora\x2dswap.swap
â??   â?? â??â??timers.target
â??   â??   â??â??mlocate-updatedb.timer
â??   â??   â??â??systemd-tmpfiles-clean.timer
â??   â??   â??â??unbound-anchor.timer
â??   â??â??getty.target
â??   â?? â??â??getty@tty1.service
â??   â??â??nfs-client.target
â??   â?? â??â??auth-rpcgss-module.service
â??   â?? â??â??rpc-statd-notify.service
â??   â?? â??â??remote-fs-pre.target
â??   â??â??remote-fs.target
â??     â??â??nfs-client.target
â??       â??â??auth-rpcgss-module.service
â??       â??â??rpc-statd-notify.service
â??       â??â??remote-fs-pre.target

Attachment: var-log.mount
Description: Binary data

Attachment: tmp-log.service
Description: Binary data

Attachment: mnt-tmp.mount
Description: Binary data

_______________________________________________
Talking mailing list
Talking@ml.linuxvar.it
http://ml.linuxvar.it/cgi-bin/mailman/listinfo/talking