Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 21/01/2024, à 16:19

geole

Utilisation des services pour sauvegarder le contenu du home

voir aussi https://answers.launchpad.net/launchpad … ion/709116

Bonjour.
Le contexte actuel.
   Je sauvegarde les  données du home de façon manuelle. C'est à dire au moment où j'y pense.
Le script est basé sur la commande RSYNC.
Pour l'automatiser, j'ai pensé utiliser les services proposés par systemd.
Je dirais que cela fonctionne à peu près.
              Avec un service timer qui se déclenche régulièrement.

systemctl cat HomeRsync.timer
# /etc/systemd/system/HomeRsync.timer
[Unit]
Description=Lance une sauvegarde toutes les 2 heures. 
[Timer]
OnActiveSec=2h
OnUnitActiveSec=2h
[Install]
WantedBy=timers.target

        et  avec un service qui se déclenche à l'arrêt de la machine ou de sa mise en sommeil.

systemctl cat HomeRsync.service
# /etc/systemd/system/HomeRsync.service
[Unit]
Description=Duplication du HOME de l'utilisateur connecté.
DefaultDependencies=no
Before=shutdown.target sleep.target 
[Service]
Type=oneshot
ExecStart=/home/Rsync.sh
StandardOutput=journal+console
StandardError=journal+console
TimeoutSec=5minutes
[Install]
WantedBy=shutdown.target sleep.target

C'est cette seconde partie qui ne me plaît pas trop.
En effet, cet ordinateur  est utilisé alternativement  par plusieurs  utilisateurs.
Donc le script est obligé de sauvegarder tous les utilisateurs.  Ce qui prend un peu de temps. Enfin plus que s'il ne sauvegardait que les données du dernier utilisateur.
Je voudrais faire autrement.  J'ai le choix entre:
    Sauvegarder les données de  l'utilisateur  lorsqu'il se connecte. Je pense savoir le faire.
    Sauvegarder les données de l'utilisateur  lorsqu'il  se déconnecte. Ce qui me semble  plus normal.
   Mais je n'ai pas su trouver d'exemples de codification de service se lançant à  la déconnexion de l'utilisateur.
   Mon idée est de lancer le service de sauvegarde pour l'utilisateur qui se déconnecte.  Il faut aussi trouver comment ne pas  bloquer la nouvelle connexion pendant que la sauvegarde se réalise.
La trace que j'ai relevée au changement d'utilisateur est

janv. 21 15:20:05 p unknown: ===================================================================================
janv. 21 15:20:05 p unknown: ========            ON VA CHANGER D UTILISATEUR                  ==================
janv. 21 15:20:05 p unknown: ===================================================================================
janv. 21 15:20:05 p sudo[20985]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
janv. 21 15:20:05 p sudo[20985]: pam_unix(sudo:session): session closed for user root
janv. 21 15:20:05 p sudo[20989]:        a : TTY=pts/0 ; PWD=/home/a ; USER=root ; COMMAND=/usr/bin/tee -a /dev/kmsg
janv. 21 15:20:05 p sudo[20989]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
janv. 21 15:20:05 p sudo[20989]: pam_unix(sudo:session): session closed for user root
janv. 21 15:20:05 p sudo[20993]:        a : TTY=pts/0 ; PWD=/home/a ; USER=root ; COMMAND=/usr/bin/tee -a /dev/kmsg
janv. 21 15:20:05 p sudo[20993]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
janv. 21 15:20:05 p sudo[20993]: pam_unix(sudo:session): session closed for user root
janv. 21 15:20:17 p audit[1519]: USER_AVC pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:17 p kernel: audit: type=1107 audit(1705846817.910:161): pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:17 p audit[1519]: USER_AVC pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:17 p kernel: audit: type=1107 audit(1705846817.914:162): pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:17 p update-notifier[4824]: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
janv. 21 15:20:17 p update-notifier[4824]: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
janv. 21 15:20:18 p gnome-shell[3287]: libinput error: event4  - ETPS/2 Elantech Touchpad: client bug: event processing lagging behind by 38ms, your system is too slow
janv. 21 15:20:18 p gdm-launch-environment][21001]: pam_unix(gdm-launch-environment:session): session opened for user gdm(uid=125) by (uid=0)
janv. 21 15:20:18 p systemd[1]: Starting SSSD PAM Service responder...
janv. 21 15:20:18 p systemd[1]: Started SSSD PAM Service responder.
janv. 21 15:20:18 p sssd_pam[21007]: Starting up
janv. 21 15:20:18 p kernel: audit: type=1107 audit(1705846818.498:163): pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="UserNew" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:18 p audit[1519]: USER_AVC pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="UserNew" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:18 p systemd[1]: Created slice User Slice of UID 125.
janv. 21 15:20:18 p systemd[1]: Starting User Runtime Directory /run/user/125...
janv. 21 15:20:18 p systemd-logind[1684]: New session c2 of user gdm.
janv. 21 15:20:18 p audit[1519]: USER_AVC pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="SessionNew" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:18 p kernel: audit: type=1107 audit(1705846818.506:164): pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="SessionNew" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:18 p systemd[1]: Finished User Runtime Directory /run/user/125.
janv. 21 15:20:18 p systemd[1]: Starting User Manager for UID 125...
janv. 21 15:20:18 p systemd[21010]: pam_unix(systemd-user:session): session opened for user gdm(uid=125) by (uid=0)
janv. 21 15:20:18 p audit[1519]: USER_AVC pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:18 p kernel: audit: type=1107 audit(1705846818.602:165): pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:19 p systemd[21010]: Queued start job for default target Main User Target.
janv. 21 15:20:19 p systemd[21010]: Created slice User Application Slice.
janv. 21 15:20:19 p systemd[21010]: Created slice User Background Tasks Slice.
janv. 21 15:20:19 p systemd[21010]: Created slice User Core Session Slice.
janv. 21 15:20:19 p systemd[21010]: Started Pending report trigger for Ubuntu Report.
janv. 21 15:20:19 p systemd[21010]: Reached target Paths.
janv. 21 15:20:19 p systemd[21010]: Reached target Timers.
janv. 21 15:20:19 p systemd[21010]: Starting D-Bus User Message Bus Socket...
janv. 21 15:20:19 p systemd[21010]: Listening on GnuPG network certificate management daemon.
janv. 21 15:20:19 p systemd[21010]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
janv. 21 15:20:19 p systemd[21010]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
janv. 21 15:20:19 p systemd[21010]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
janv. 21 15:20:19 p systemd[21010]: Listening on GnuPG cryptographic agent and passphrase cache.
janv. 21 15:20:19 p systemd[21010]: Listening on PipeWire Multimedia System Socket.
janv. 21 15:20:19 p systemd[21010]: Listening on debconf communication socket.
janv. 21 15:20:19 p systemd[21010]: Listening on Sound System.
janv. 21 15:20:19 p systemd[21010]: Listening on REST API socket for snapd user session agent.
janv. 21 15:20:19 p systemd[21010]: Listening on Speech Dispatcher Socket.
janv. 21 15:20:19 p systemd[21010]: Listening on D-Bus User Message Bus Socket.
janv. 21 15:20:19 p systemd[21010]: Reached target Sockets.
janv. 21 15:20:19 p systemd[21010]: Reached target Basic System.
janv. 21 15:20:19 p systemd[1]: Started User Manager for UID 125.
janv. 21 15:20:19 p systemd[21010]: Started PipeWire Multimedia Service.
janv. 21 15:20:19 p systemd[1]: Started Session c2 of User gdm.
janv. 21 15:20:19 p systemd[21010]: Started PipeWire Media Session Manager.
janv. 21 15:20:19 p systemd[21010]: Starting Sound Service...
janv. 21 15:20:19 p systemd[21010]: Starting Tracker metadata extractor...
janv. 21 15:20:19 p kernel: rfkill: input handler enabled
janv. 21 15:20:19 p systemd[21010]: Started D-Bus User Message Bus.
janv. 21 15:20:19 p dbus-daemon[21026]: [session uid=125 pid=21026] AppArmor D-Bus mediation is enabled
janv. 21 15:20:19 p audit[1519]: USER_AVC pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:19 p kernel: audit: type=1107 audit(1705846819.450:166): pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:19 p dbus-daemon[21026]: [session uid=125 pid=21026] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.2' (uid=125 pid=21023 comm="/usr/libexec/tracker-extract-3 " label="unconfined")
janv. 21 15:20:19 p systemd[21010]: Starting Virtual filesystem service...
janv. 21 15:20:19 p rtkit-daemon[2000]: Successfully made thread 21020 of process 21020 owned by '125' high priority at nice level -11.
janv. 21 15:20:19 p rtkit-daemon[2000]: Supervising 8 threads of 5 processes of 2 users.
janv. 21 15:20:19 p rtkit-daemon[2000]: Supervising 8 threads of 5 processes of 2 users.
janv. 21 15:20:20 p rtkit-daemon[2000]: Supervising 8 threads of 5 processes of 2 users.
janv. 21 15:20:20 p gnome-session[21030]: gnome-session-binary[21030]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
janv. 21 15:20:20 p gnome-session[21030]: gnome-session-binary[21030]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
janv. 21 15:20:20 p gnome-session-binary[21030]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
janv. 21 15:20:20 p gnome-session-binary[21030]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
janv. 21 15:20:20 p dbus-daemon[21026]: [session uid=125 pid=21026] Successfully activated service 'org.gtk.vfs.Daemon'
janv. 21 15:20:20 p systemd[21010]: Started Virtual filesystem service.
janv. 21 15:20:20 p rtkit-daemon[2000]: Successfully made thread 21022 of process 21022 owned by '125' high priority at nice level -11.
janv. 21 15:20:20 p rtkit-daemon[2000]: Supervising 9 threads of 6 processes of 2 users.
janv. 21 15:20:20 p rtkit-daemon[2000]: Supervising 9 threads of 6 processes of 2 users.
janv. 21 15:20:20 p rtkit-daemon[2000]: Successfully made thread 21046 of process 21021 owned by '125' RT at priority 20.
janv. 21 15:20:20 p rtkit-daemon[2000]: Supervising 10 threads of 7 processes of 2 users.
janv. 21 15:20:20 p rtkit-daemon[2000]: Supervising 10 threads of 7 processes of 2 users.
janv. 21 15:20:20 p rtkit-daemon[2000]: Successfully made thread 21048 of process 21020 owned by '125' RT at priority 20.
janv. 21 15:20:20 p rtkit-daemon[2000]: Supervising 11 threads of 7 processes of 2 users.
janv. 21 15:20:20 p dbus-daemon[21026]: [session uid=125 pid=21026] Activating via systemd: service name='org.freedesktop.Tracker3.Miner.Files' unit='tracker-miner-fs-3.service' requested by ':1.2' (uid=125 pid=21023 comm="/usr/libexec/tracker-extract-3 " label="unconfined")
janv. 21 15:20:21 p rtkit-daemon[2000]: Supervising 11 threads of 7 processes of 2 users.
janv. 21 15:20:21 p rtkit-daemon[2000]: Successfully made thread 21057 of process 21022 owned by '125' RT at priority 5.
janv. 21 15:20:21 p rtkit-daemon[2000]: Supervising 12 threads of 7 processes of 2 users.
janv. 21 15:20:21 p rtkit-daemon[2000]: Supervising 12 threads of 7 processes of 2 users.
janv. 21 15:20:21 p rtkit-daemon[2000]: Successfully made thread 21058 of process 21022 owned by '125' RT at priority 5.
janv. 21 15:20:21 p rtkit-daemon[2000]: Supervising 13 threads of 7 processes of 2 users.
janv. 21 15:20:21 p gnome-shell[21055]: Running GNOME Shell (using mutter 42.9) as a Wayland display server
janv. 21 15:20:21 p kernel: nouveau 0000:01:00.0: Enabling HDA controller
janv. 21 15:20:21 p gnome-shell[21055]: Device '/dev/dri/card1' prefers shadow buffer
janv. 21 15:20:21 p gnome-shell[21055]: Added device '/dev/dri/card1' (nouveau) using non-atomic mode setting.
janv. 21 15:20:21 p gnome-shell[21055]: Device '/dev/dri/card0' prefers shadow buffer
janv. 21 15:20:21 p gnome-shell[21055]: Added device '/dev/dri/card0' (i915) using atomic mode setting.
janv. 21 15:20:21 p systemd[21010]: Starting Tracker file system data miner...
janv. 21 15:20:21 p tracker-miner-f[21065]: Unable to get XDG user directory path for special directory &DOCUMENTS. Ignoring this location.
janv. 21 15:20:21 p tracker-miner-f[21065]: Unable to get XDG user directory path for special directory &MUSIC. Ignoring this location.
janv. 21 15:20:21 p tracker-miner-f[21065]: Unable to get XDG user directory path for special directory &PICTURES. Ignoring this location.
janv. 21 15:20:21 p tracker-miner-f[21065]: Unable to get XDG user directory path for special directory &VIDEOS. Ignoring this location.
janv. 21 15:20:21 p tracker-miner-f[21065]: Unable to get XDG user directory path for special directory &DOWNLOAD. Ignoring this location.
janv. 21 15:20:21 p tracker-miner-f[21065]: Unable to get XDG user directory path for special directory &DOCUMENTS. Ignoring this location.
janv. 21 15:20:21 p tracker-miner-f[21065]: Unable to get XDG user directory path for special directory &MUSIC. Ignoring this location.
janv. 21 15:20:21 p tracker-miner-f[21065]: Unable to get XDG user directory path for special directory &PICTURES. Ignoring this location.
janv. 21 15:20:21 p tracker-miner-f[21065]: Unable to get XDG user directory path for special directory &VIDEOS. Ignoring this location.
janv. 21 15:20:23 p systemd[21010]: Started Sound Service.
janv. 21 15:20:23 p gnome-shell[21055]: Created gbm renderer for '/dev/dri/card1'
janv. 21 15:20:23 p gnome-shell[21055]: Created gbm renderer for '/dev/dri/card0'
janv. 21 15:20:23 p gnome-shell[21055]: Boot VGA GPU /dev/dri/card0 selected as primary
janv. 21 15:20:23 p dbus-daemon[21026]: [session uid=125 pid=21026] Activating via systemd: service name='org.gtk.vfs.UDisks2VolumeMonitor' unit='gvfs-udisks2-volume-monitor.service' requested by ':1.8' (uid=125 pid=21065 comm="/usr/libexec/tracker-miner-fs-3 " label="unconfined")
janv. 21 15:20:23 p systemd[21010]: Starting Virtual filesystem service - disk device monitor...
janv. 21 15:20:23 p /usr/libexec/gdm-wayland-session[21029]: dbus-daemon[21029]: [session uid=125 pid=21029] Activating service name='org.a11y.Bus' requested by ':1.4' (uid=125 pid=21055 comm="/usr/bin/gnome-shell " label="unconfined")
janv. 21 15:20:23 p /usr/libexec/gdm-wayland-session[21029]: dbus-daemon[21029]: [session uid=125 pid=21029] Successfully activated service 'org.a11y.Bus'
janv. 21 15:20:23 p gnome-shell[21055]: Using public X11 display :1024, (using :1025 for managed services)
janv. 21 15:20:23 p gnome-shell[21055]: Using Wayland display name 'wayland-0'
janv. 21 15:20:24 p dbus-daemon[21026]: [session uid=125 pid=21026] Successfully activated service 'org.gtk.vfs.UDisks2VolumeMonitor'
janv. 21 15:20:24 p systemd[21010]: Started Virtual filesystem service - disk device monitor.
janv. 21 15:20:24 p dbus-daemon[21026]: [session uid=125 pid=21026] Activating via systemd: service name='org.gtk.vfs.AfcVolumeMonitor' unit='gvfs-afc-volume-monitor.service' requested by ':1.8' (uid=125 pid=21065 comm="/usr/libexec/tracker-miner-fs-3 " label="unconfined")
janv. 21 15:20:24 p org.gnome.Shell.desktop[21098]: (WW) Option "-listen" for file descriptors is deprecated
janv. 21 15:20:24 p org.gnome.Shell.desktop[21098]: Please use "-listenfd" instead.
janv. 21 15:20:24 p org.gnome.Shell.desktop[21098]: (WW) Option "-listen" for file descriptors is deprecated
janv. 21 15:20:24 p org.gnome.Shell.desktop[21098]: Please use "-listenfd" instead.
janv. 21 15:20:24 p systemd[21010]: Starting Virtual filesystem service - Apple File Conduit monitor...
janv. 21 15:20:24 p dbus-daemon[21026]: [session uid=125 pid=21026] Successfully activated service 'org.gtk.vfs.AfcVolumeMonitor'
janv. 21 15:20:24 p systemd[21010]: Started Virtual filesystem service - Apple File Conduit monitor.
janv. 21 15:20:24 p dbus-daemon[21026]: [session uid=125 pid=21026] Activating via systemd: service name='org.gtk.vfs.MTPVolumeMonitor' unit='gvfs-mtp-volume-monitor.service' requested by ':1.8' (uid=125 pid=21065 comm="/usr/libexec/tracker-miner-fs-3 " label="unconfined")
janv. 21 15:20:24 p systemd[21010]: Starting Virtual filesystem service - Media Transfer Protocol monitor...
janv. 21 15:20:24 p dbus-daemon[21026]: [session uid=125 pid=21026] Successfully activated service 'org.gtk.vfs.MTPVolumeMonitor'
janv. 21 15:20:24 p systemd[21010]: Started Virtual filesystem service - Media Transfer Protocol monitor.
janv. 21 15:20:24 p dbus-daemon[21026]: [session uid=125 pid=21026] Activating via systemd: service name='org.gtk.vfs.GPhoto2VolumeMonitor' unit='gvfs-gphoto2-volume-monitor.service' requested by ':1.8' (uid=125 pid=21065 comm="/usr/libexec/tracker-miner-fs-3 " label="unconfined")
janv. 21 15:20:24 p systemd[21010]: Starting Virtual filesystem service - digital camera monitor...
janv. 21 15:20:24 p dbus-daemon[21026]: [session uid=125 pid=21026] Successfully activated service 'org.gtk.vfs.GPhoto2VolumeMonitor'
janv. 21 15:20:24 p systemd[21010]: Started Virtual filesystem service - digital camera monitor.
janv. 21 15:20:24 p dbus-daemon[21026]: [session uid=125 pid=21026] Activating via systemd: service name='org.gtk.vfs.GoaVolumeMonitor' unit='gvfs-goa-volume-monitor.service' requested by ':1.8' (uid=125 pid=21065 comm="/usr/libexec/tracker-miner-fs-3 " label="unconfined")
janv. 21 15:20:24 p systemd[21010]: Starting Virtual filesystem service - GNOME Online Accounts monitor...
janv. 21 15:20:24 p dbus-daemon[21026]: [session uid=125 pid=21026] Activating service name='org.gnome.OnlineAccounts' requested by ':1.13' (uid=125 pid=21118 comm="/usr/libexec/gvfs-goa-volume-monitor " label="unconfined")
janv. 21 15:20:24 p gnome-shell[21055]: Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly.
janv. 21 15:20:24 p gnome-shell[21055]: Will monitor session c2
janv. 21 15:20:24 p dbus-daemon[1519]: [system] Activating via systemd: service name='org.freedesktop.locale1' unit='dbus-org.freedesktop.locale1.service' requested by ':1.452' (uid=125 pid=21055 comm="/usr/bin/gnome-shell " label="unconfined")
janv. 21 15:20:24 p systemd[1]: Starting Locale Service...
janv. 21 15:20:24 p /usr/libexec/gdm-wayland-session[21029]: dbus-daemon[21029]: [session uid=125 pid=21029] Activating service name='org.freedesktop.impl.portal.PermissionStore' requested by ':1.3' (uid=125 pid=21055 comm="/usr/bin/gnome-shell " label="unconfined")
janv. 21 15:20:24 p goa-daemon[21122]: goa-daemon version 3.44.0 starting
janv. 21 15:20:24 p /usr/libexec/gdm-wayland-session[21029]: dbus-daemon[21029]: [session uid=125 pid=21029] Successfully activated service 'org.freedesktop.impl.portal.PermissionStore'
janv. 21 15:20:24 p dbus-daemon[21026]: [session uid=125 pid=21026] Activating service name='org.gnome.Identity' requested by ':1.14' (uid=125 pid=21122 comm="/usr/libexec/goa-daemon " label="unconfined")
janv. 21 15:20:24 p dbus-daemon[21026]: [session uid=125 pid=21026] Successfully activated service 'org.gnome.OnlineAccounts'
janv. 21 15:20:24 p dbus-daemon[21026]: [session uid=125 pid=21026] Successfully activated service 'org.gtk.vfs.GoaVolumeMonitor'
janv. 21 15:20:24 p systemd[21010]: Started Virtual filesystem service - GNOME Online Accounts monitor.
janv. 21 15:20:24 p dbus-daemon[21026]: [session uid=125 pid=21026] Successfully activated service 'org.gnome.Identity'
janv. 21 15:20:24 p dbus-daemon[1519]: [system] Successfully activated service 'org.freedesktop.locale1'
janv. 21 15:20:24 p systemd[1]: Started Locale Service.
janv. 21 15:20:24 p dbus-daemon[1519]: [system] Activating via systemd: service name='org.freedesktop.GeoClue2' unit='geoclue.service' requested by ':1.452' (uid=125 pid=21055 comm="/usr/bin/gnome-shell " label="unconfined")
janv. 21 15:20:24 p systemd[1]: Starting Location Lookup Service...
janv. 21 15:20:24 p polkitd(authority=local)[1533]: Registered Authentication Agent for unix-session:c2 (system bus name :1.452 [/usr/bin/gnome-shell], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale fr_FR.UTF-8)
janv. 21 15:20:24 p gnome-shell[21055]: Extension ubuntu-appindicators@ubuntu.com already installed in /usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com. /usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com will not be loaded
janv. 21 15:20:24 p gnome-shell[21055]: Extension ubuntu-dock@ubuntu.com already installed in /usr/share/gnome-shell/extensions/ubuntu-dock@ubuntu.com. /usr/share/gnome-shell/extensions/ubuntu-dock@ubuntu.com will not be loaded
janv. 21 15:20:24 p gnome-shell[21055]: Extension ding@rastersoft.com already installed in /usr/share/gnome-shell/extensions/ding@rastersoft.com. /usr/share/gnome-shell/extensions/ding@rastersoft.com will not be loaded
janv. 21 15:20:24 p /usr/libexec/gdm-wayland-session[21029]: dbus-daemon[21029]: [session uid=125 pid=21029] Activating service name='org.gnome.Shell.Notifications' requested by ':1.3' (uid=125 pid=21055 comm="/usr/bin/gnome-shell " label="unconfined")
janv. 21 15:20:24 p /usr/libexec/gdm-wayland-session[21087]: dbus-daemon[21087]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=125 pid=21055 comm="/usr/bin/gnome-shell " label="unconfined")
janv. 21 15:20:24 p org.gnome.Shell.desktop[21055]: Window manager warning: Failed to parse saved session file: L’ouverture du fichier « /var/lib/gdm3/.config/mutter/sessions/10cb649fabceab41b9170584682038552600000210300000.ms » a échoué : Aucun fichier ou dossier de ce type
janv. 21 15:20:24 p /usr/libexec/gdm-wayland-session[21087]: dbus-daemon[21087]: Successfully activated service 'org.a11y.atspi.Registry'
janv. 21 15:20:24 p /usr/libexec/gdm-wayland-session[21147]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
janv. 21 15:20:25 p gnome-shell[21055]: JS ERROR: TypeError: this._managerProxy is undefined
                                        _onGeoclueVanished@resource:///org/gnome/shell/ui/status/location.js:169:9
janv. 21 15:20:25 p dbus-daemon[1519]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.458' (uid=125 pid=21172 comm="/usr/libexec/gsd-rfkill " label="unconfined")
janv. 21 15:20:25 p systemd[1]: Starting Hostname Service...
janv. 21 15:20:25 p /usr/libexec/gdm-wayland-session[21029]: dbus-daemon[21029]: [session uid=125 pid=21029] Activating service name='org.gtk.vfs.Daemon' requested by ':1.20' (uid=125 pid=21173 comm="ibus-daemon --panel disable " label="unconfined")
janv. 21 15:20:25 p /usr/libexec/gdm-wayland-session[21029]: dbus-daemon[21029]: [session uid=125 pid=21029] Successfully activated service 'org.gtk.vfs.Daemon'
janv. 21 15:20:25 p /usr/libexec/gdm-wayland-session[21029]: dbus-daemon[21029]: [session uid=125 pid=21029] Activating service name='org.freedesktop.systemd1' requested by ':1.9' (uid=125 pid=21151 comm="/usr/libexec/gsd-sharing " label="unconfined")
janv. 21 15:20:25 p /usr/libexec/gdm-wayland-session[21029]: dbus-daemon[21029]: [session uid=125 pid=21029] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
janv. 21 15:20:25 p gsd-sharing[21151]: Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
janv. 21 15:20:25 p gsd-sharing[21151]: Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
janv. 21 15:20:25 p /usr/libexec/gdm-wayland-session[21029]: dbus-daemon[21029]: [session uid=125 pid=21029] Activating service name='org.freedesktop.portal.IBus' requested by ':1.20' (uid=125 pid=21173 comm="ibus-daemon --panel disable " label="unconfined")
janv. 21 15:20:25 p gnome-shell[21055]: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
janv. 21 15:20:25 p dbus-daemon[1519]: [system] Successfully activated service 'org.freedesktop.GeoClue2'
janv. 21 15:20:25 p systemd[1]: Started Location Lookup Service.
janv. 21 15:20:25 p /usr/libexec/gdm-wayland-session[21029]: dbus-daemon[21029]: [session uid=125 pid=21029] Successfully activated service 'org.gnome.Shell.Notifications'
janv. 21 15:20:25 p /usr/libexec/gdm-wayland-session[21029]: dbus-daemon[21029]: [session uid=125 pid=21029] Successfully activated service 'org.freedesktop.portal.IBus'
janv. 21 15:20:25 p NetworkManager[1520]: <info>  [1705846825.3021] agent-manager: agent[2189d4edec93cc9f,:1.452/org.gnome.Shell.NetworkAgent/125]: agent registered
janv. 21 15:20:25 p dbus-daemon[1519]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service' requested by ':1.452' (uid=125 pid=21055 comm="/usr/bin/gnome-shell " label="unconfined")
janv. 21 15:20:25 p systemd[1]: Starting Fingerprint Authentication Daemon...
janv. 21 15:20:25 p dbus-daemon[1519]: [system] Successfully activated service 'org.freedesktop.hostname1'
janv. 21 15:20:25 p systemd[1]: Started Hostname Service.
janv. 21 15:20:25 p kernel: rfkill: input handler disabled
janv. 21 15:20:25 p audit[1519]: USER_AVC pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:25 p kernel: audit: type=1107 audit(1705846825.778:167): pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:25 p audit[1519]: USER_AVC pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:25 p kernel: audit: type=1107 audit(1705846825.782:168): pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:25 p /usr/libexec/gdm-wayland-session[21029]: dbus-daemon[21029]: [session uid=125 pid=21029] Activating service name='org.gnome.ScreenSaver' requested by ':1.26' (uid=125 pid=21198 comm="/usr/libexec/gsd-power " label="unconfined")
janv. 21 15:20:25 p gsd-media-keys[21186]: Failed to grab accelerator for keybinding settings:playback-repeat
janv. 21 15:20:25 p gsd-media-keys[21186]: Failed to grab accelerator for keybinding settings:hibernate
janv. 21 15:20:26 p audit[1519]: USER_AVC pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:26 p kernel: audit: type=1107 audit(1705846826.002:169): pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:26 p audit[1519]: USER_AVC pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:26 p kernel: audit: type=1107 audit(1705846826.006:170): pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:26 p spice-vdagent[21292]: vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0 does not exist, exiting
janv. 21 15:20:26 p gnome-session-binary[21030]: Entering running state
janv. 21 15:20:26 p xbrlapi.desktop[21300]: openConnection: connect: Aucun fichier ou dossier de ce type
janv. 21 15:20:26 p xbrlapi.desktop[21300]: ne peut pas se connecter au démon des périphériques braille de brltty sur :0
janv. 21 15:20:26 p gnome-shell[21055]: ATK Bridge is disabled but a11y has already been enabled.
janv. 21 15:20:26 p org.gnome.Shell.desktop[21307]: The XKEYBOARD keymap compiler (xkbcomp) reports:
janv. 21 15:20:26 p org.gnome.Shell.desktop[21307]: > Warning:          Unsupported maximum keycode 708, clipping.
janv. 21 15:20:26 p org.gnome.Shell.desktop[21307]: >                   X11 cannot support keycodes above 255.
janv. 21 15:20:26 p org.gnome.Shell.desktop[21307]: Errors from xkbcomp are not fatal to the X server
janv. 21 15:20:26 p gnome-shell[21055]: Registering session with GDM
janv. 21 15:20:26 p /usr/libexec/gdm-wayland-session[21029]: dbus-daemon[21029]: [session uid=125 pid=21029] Activating service name='org.freedesktop.portal.IBus' requested by ':1.35' (uid=125 pid=21303 comm="ibus-daemon --panel disable -r --xim " label="unconfined")
janv. 21 15:20:26 p /usr/libexec/gdm-wayland-session[21029]: dbus-daemon[21029]: [session uid=125 pid=21029] Successfully activated service 'org.freedesktop.portal.IBus'
janv. 21 15:20:26 p dbus-daemon[1519]: [system] Successfully activated service 'net.reactivated.Fprint'
janv. 21 15:20:26 p audit[1519]: USER_AVC pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:26 p systemd[1]: Started Fingerprint Authentication Daemon.
janv. 21 15:20:26 p kernel: audit: type=1107 audit(1705846826.382:171): pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:26 p /usr/libexec/gdm-wayland-session[21029]: dbus-daemon[21029]: [session uid=125 pid=21029] Successfully activated service 'org.gnome.ScreenSaver'
janv. 21 15:20:26 p upowerd[2166]: failed to convert brightness: 255
janv. 21 15:20:26 p gsd-power[21198]: Failed to get brightness: GDBus.Error:org.freedesktop.UPower.GeneralError: error reading brightness
janv. 21 15:20:26 p gnome-shell[21055]: JS ERROR: Failed to initialize fprintd service: Gio.IOErrorEnum: GDBus.Error:net.reactivated.Fprint.Error.NoSuchDevice: No devices available
                                        asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:114:23
janv. 21 15:20:26 p dbus-daemon[21026]: [session uid=125 pid=21026] Successfully activated service 'org.freedesktop.Tracker3.Miner.Files'
janv. 21 15:20:26 p systemd[21010]: Started Tracker file system data miner.
janv. 21 15:20:26 p systemd[21010]: Started Tracker metadata extractor.
janv. 21 15:20:26 p systemd[21010]: Reached target Main User Target.
janv. 21 15:20:26 p systemd[21010]: Startup finished in 8.328s.
janv. 21 15:20:27 p audit[1519]: USER_AVC pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:27 p kernel: audit: type=1107 audit(1705846827.682:172): pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:29 p gdm-password][21347]: pam_unix(gdm-password:auth): user [b] has blank password; authenticated without it
janv. 21 15:20:29 p gdm-password][21347]: gkr-pam: no password is available for user
janv. 21 15:20:29 p gdm-password][21347]: pam_unix(gdm-password:session): session opened for user b(uid=1002) by (uid=0)
janv. 21 15:20:29 p systemd[1]: Created slice User Slice of UID 1002.
janv. 21 15:20:29 p systemd[1]: Starting User Runtime Directory /run/user/1002...
janv. 21 15:20:29 p audit[1519]: USER_AVC pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="UserNew" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:29 p kernel: audit: type=1107 audit(1705846829.186:173): pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="UserNew" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:29 p systemd-logind[1684]: New session 21 of user b.
janv. 21 15:20:29 p audit[1519]: USER_AVC pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="SessionNew" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:29 p kernel: audit: type=1107 audit(1705846829.198:174): pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="SessionNew" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:29 p systemd[1]: Finished User Runtime Directory /run/user/1002.
janv. 21 15:20:29 p systemd[1]: Starting User Manager for UID 1002...
janv. 21 15:20:29 p /usr/libexec/gdm-wayland-session[21029]: dbus-daemon[21029]: [session uid=125 pid=21029] Activating service name='ca.desrt.dconf' requested by ':1.3' (uid=125 pid=21055 comm="/usr/bin/gnome-shell " label="unconfined")
janv. 21 15:20:29 p systemd[21352]: pam_unix(systemd-user:session): session opened for user b(uid=1002) by (uid=0)
janv. 21 15:20:29 p /usr/libexec/gdm-wayland-session[21029]: dbus-daemon[21029]: [session uid=125 pid=21029] Successfully activated service 'ca.desrt.dconf'
janv. 21 15:20:29 p systemd[21352]: Queued start job for default target Main User Target.
janv. 21 15:20:30 p kernel: rfkill: input handler enabled
janv. 21 15:20:29 p rtkit-daemon[2000]: Supervising 13 threads of 7 processes of 2 users.
janv. 21 15:20:29 p systemd[21352]: Created slice User Application Slice.
janv. 21 15:20:29 p rtkit-daemon[2000]: Successfully made thread 21364 of process 21364 owned by '1002' high priority at nice level -11.
janv. 21 15:20:29 p systemd[21352]: Created slice User Background Tasks Slice.
janv. 21 15:20:29 p rtkit-daemon[2000]: Supervising 14 threads of 8 processes of 3 users.
janv. 21 15:20:29 p systemd[21352]: Created slice User Core Session Slice.
janv. 21 15:20:29 p rtkit-daemon[2000]: Supervising 14 threads of 8 processes of 3 users.
janv. 21 15:20:29 p systemd[21352]: Started Pending report trigger for Ubuntu Report.
janv. 21 15:20:29 p rtkit-daemon[2000]: Supervising 14 threads of 8 processes of 3 users.
janv. 21 15:20:29 p systemd[21352]: Reached target Paths.
janv. 21 15:20:29 p dbus-daemon[21370]: [session uid=1002 pid=21370] AppArmor D-Bus mediation is enabled
janv. 21 15:20:29 p systemd[21352]: Reached target Timers.
janv. 21 15:20:29 p rtkit-daemon[2000]: Successfully made thread 21368 of process 21365 owned by '1002' RT at priority 20.
janv. 21 15:20:29 p systemd[21352]: Starting D-Bus User Message Bus Socket...
janv. 21 15:20:29 p rtkit-daemon[2000]: Supervising 15 threads of 9 processes of 3 users.
janv. 21 15:20:29 p systemd[21352]: Listening on GnuPG network certificate management daemon.
janv. 21 15:20:29 p rtkit-daemon[2000]: Supervising 15 threads of 9 processes of 3 users.
janv. 21 15:20:29 p systemd[21352]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
janv. 21 15:20:29 p rtkit-daemon[2000]: Successfully made thread 21371 of process 21364 owned by '1002' RT at priority 20.
janv. 21 15:20:29 p systemd[21352]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
janv. 21 15:20:29 p rtkit-daemon[2000]: Supervising 16 threads of 9 processes of 3 users.
janv. 21 15:20:29 p systemd[21352]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
janv. 21 15:20:30 p gdm-password][21347]: gkr-pam: gnome-keyring-daemon started properly
janv. 21 15:20:29 p systemd[21352]: Listening on GnuPG cryptographic agent and passphrase cache.
janv. 21 15:20:29 p systemd[21352]: Listening on PipeWire Multimedia System Socket.
janv. 21 15:20:29 p systemd[21352]: Listening on debconf communication socket.
janv. 21 15:20:29 p systemd[21352]: Listening on Sound System.
janv. 21 15:20:29 p systemd[21352]: Listening on REST API socket for snapd user session agent.
janv. 21 15:20:29 p systemd[21352]: Listening on Speech Dispatcher Socket.
janv. 21 15:20:29 p systemd[21352]: Listening on D-Bus User Message Bus Socket.
janv. 21 15:20:29 p systemd[21352]: Reached target Sockets.
janv. 21 15:20:29 p systemd[21352]: Reached target Basic System.
janv. 21 15:20:29 p systemd[1]: Started User Manager for UID 1002.
janv. 21 15:20:29 p systemd[21352]: Started PipeWire Multimedia Service.
janv. 21 15:20:29 p systemd[1]: Started Session 21 of User b.
janv. 21 15:20:29 p systemd[21352]: Started PipeWire Media Session Manager.
janv. 21 15:20:29 p systemd[21352]: Starting Sound Service...
janv. 21 15:20:29 p systemd[21352]: Starting Tracker metadata extractor...
janv. 21 15:20:29 p systemd[21352]: Started D-Bus User Message Bus.
janv. 21 15:20:30 p dbus-daemon[21370]: [session uid=1002 pid=21370] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.4' (uid=1002 pid=21367 comm="/usr/libexec/tracker-extract-3 " label="unconfined")
janv. 21 15:20:30 p systemd[21352]: Starting Virtual filesystem service...
janv. 21 15:20:30 p dbus-daemon[21370]: [session uid=1002 pid=21370] Successfully activated service 'org.gtk.vfs.Daemon'
janv. 21 15:20:30 p systemd[21352]: Started Virtual filesystem service.
janv. 21 15:20:30 p systemd[21352]: Created slice Slice /app/gnome-session-manager.
janv. 21 15:20:30 p systemd[21352]: Started Path trigger for Apport crash notifications.
janv. 21 15:20:30 p systemd[21352]: Started Path trigger for new release of Ubuntu notifications.
janv. 21 15:20:30 p systemd[21352]: Reached target GNOME Wayland Session.
janv. 21 15:20:30 p systemd[21352]: Reached target GNOME Shell.
janv. 21 15:20:30 p systemd[21352]: Condition check resulted in GNOME Initial Setup Copy Worker being skipped.
janv. 21 15:20:30 p systemd[21352]: Starting Start gnome-keyring as SSH agent...
janv. 21 15:20:30 p systemd[21352]: Starting Start gnome-keyring for the Secrets Service, and PKCS #11...
janv. 21 15:20:30 p systemd[21352]: Starting Monitor Session leader for GNOME Session...
janv. 21 15:20:30 p systemd[21352]: Starting Session Migration...
janv. 21 15:20:30 p systemd[21352]: Starting Rewrite dynamic launcher portal entries...
janv. 21 15:20:30 p systemd[21352]: Started Monitor Session leader for GNOME Session.
janv. 21 15:20:30 p systemd[21352]: Finished Start gnome-keyring for the Secrets Service, and PKCS #11.
janv. 21 15:20:30 p rtkit-daemon[2000]: Successfully made thread 21366 of process 21366 owned by '1002' high priority at nice level -11.
janv. 21 15:20:30 p rtkit-daemon[2000]: Supervising 17 threads of 10 processes of 3 users.
janv. 21 15:20:30 p systemd[21352]: Finished Rewrite dynamic launcher portal entries.
janv. 21 15:20:30 p sh[21445]: dbus-update-activation-environment: setting SSH_AUTH_SOCK=/run/user/1002/keyring/ssh
janv. 21 15:20:30 p sh[21445]: dbus-update-activation-environment: setting SSH_AGENT_LAUNCHER=gnome-keyring
janv. 21 15:20:30 p sh[21434]: /bin/sh: 1: initctl: not found
janv. 21 15:20:30 p systemd[21352]: Finished Start gnome-keyring as SSH agent.
janv. 21 15:20:30 p systemd[21352]: Started OpenSSH Agent.
janv. 21 15:20:30 p systemd[21352]: Finished Session Migration.
janv. 21 15:20:30 p systemd[21352]: Reached target Session services which should run early before the graphical session is brought up.
janv. 21 15:20:30 p systemd[21352]: Reached target Tasks to be run before GNOME Session starts.
janv. 21 15:20:30 p systemd[21352]: Starting GNOME Session Manager (session: ubuntu)...
janv. 21 15:20:30 p gnome-keyring-daemon[21373]: The Secret Service was already initialized
janv. 21 15:20:30 p gnome-keyring-secrets.desktop[21460]: SSH_AUTH_SOCK=/run/user/1002/keyring/ssh
janv. 21 15:20:30 p gnome-keyring-daemon[21373]: The SSH agent was already initialized
janv. 21 15:20:30 p gnome-keyring-ssh.desktop[21461]: SSH_AUTH_SOCK=/run/user/1002/keyring/ssh
janv. 21 15:20:30 p gnome-session[21449]: gnome-session-binary[21449]: GnomeDesktop-WARNING: Could not create transient scope for PID 21455: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 21455 does not exist.
janv. 21 15:20:30 p gnome-session-binary[21449]: GnomeDesktop-WARNING: Could not create transient scope for PID 21455: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 21455 does not exist.
janv. 21 15:20:30 p systemd[21352]: Started Application launched by gnome-session-binary.
janv. 21 15:20:30 p systemd[21352]: app-gnome-gnome\x2dkeyring\x2dssh-21457.scope: Couldn't move process 21457 to requested cgroup '/user.slice/user-1002.slice/user@1002.service/app.slice/app-gnome-gnome\x2dkeyring\x2dssh-21457.scope': No such process
janv. 21 15:20:30 p systemd[21352]: app-gnome-gnome\x2dkeyring\x2dssh-21457.scope: Failed to add PIDs to scope's control group: No such process
janv. 21 15:20:30 p systemd[21352]: app-gnome-gnome\x2dkeyring\x2dssh-21457.scope: Failed with result 'resources'.
janv. 21 15:20:30 p systemd[21352]: Failed to start Application launched by gnome-session-binary.
janv. 21 15:20:30 p gnome-keyring-daemon[21373]: The PKCS#11 component was already initialized
janv. 21 15:20:30 p gnome-keyring-pkcs11.desktop[21462]: SSH_AUTH_SOCK=/run/user/1002/keyring/ssh
janv. 21 15:20:30 p systemd[21352]: Started GNOME Session Manager (session: ubuntu).
janv. 21 15:20:30 p systemd[21352]: Reached target GNOME Session Manager is ready.
janv. 21 15:20:30 p systemd[21352]: Starting GNOME Shell on Wayland...
janv. 21 15:20:30 p systemd[21352]: Starting GNOME Shell on X11...
janv. 21 15:20:30 p systemd[21352]: org.gnome.Shell@x11.service: Skipped due to 'exec-condition'.
janv. 21 15:20:30 p systemd[21352]: Condition check resulted in GNOME Shell on X11 being skipped.
janv. 21 15:20:30 p systemd[21352]: org.gnome.Shell@x11.service: Scheduled restart job, restart counter is at 1.
janv. 21 15:20:30 p systemd[21352]: Stopped GNOME Shell on X11.
janv. 21 15:20:30 p systemd[21352]: Starting GNOME Shell on X11...
janv. 21 15:20:30 p systemd[21352]: org.gnome.Shell@x11.service: Skipped due to 'exec-condition'.
janv. 21 15:20:30 p systemd[21352]: Condition check resulted in GNOME Shell on X11 being skipped.
janv. 21 15:20:30 p systemd[21352]: org.gnome.Shell@x11.service: Scheduled restart job, restart counter is at 2.
janv. 21 15:20:30 p systemd[21352]: Stopped GNOME Shell on X11.
janv. 21 15:20:30 p systemd[21352]: Starting GNOME Shell on X11...
janv. 21 15:20:30 p systemd[21352]: org.gnome.Shell@x11.service: Skipped due to 'exec-condition'.
janv. 21 15:20:30 p systemd[21352]: Condition check resulted in GNOME Shell on X11 being skipped.
janv. 21 15:20:30 p systemd[21352]: org.gnome.Shell@x11.service: Scheduled restart job, restart counter is at 3.
janv. 21 15:20:30 p systemd[21352]: Started Application launched by gnome-session-binary.
janv. 21 15:20:30 p systemd[21352]: Started Application launched by gnome-session-binary.
janv. 21 15:20:30 p systemd[21352]: Started Application launched by gnome-session-binary.
janv. 21 15:20:30 p systemd[21352]: Stopped GNOME Shell on X11.
janv. 21 15:20:30 p systemd[21352]: org.gnome.Shell@x11.service: Start request repeated too quickly.
janv. 21 15:20:30 p systemd[21352]: org.gnome.Shell@x11.service: Skipped due to 'exec-condition'.
janv. 21 15:20:30 p systemd[21352]: Started GNOME Shell on X11.
janv. 21 15:20:30 p rtkit-daemon[2000]: Supervising 17 threads of 10 processes of 3 users.
janv. 21 15:20:30 p gnome-shell[21470]: Running GNOME Shell (using mutter 42.9) as a Wayland display server
janv. 21 15:20:31 p gnome-shell[21470]: Device '/dev/dri/card1' prefers shadow buffer
janv. 21 15:20:31 p gnome-shell[21470]: Added device '/dev/dri/card1' (nouveau) using non-atomic mode setting.
janv. 21 15:20:31 p gnome-shell[21470]: Device '/dev/dri/card0' prefers shadow buffer
janv. 21 15:20:31 p gnome-shell[21470]: Added device '/dev/dri/card0' (i915) using atomic mode setting.
janv. 21 15:20:31 p rtkit-daemon[2000]: Successfully made thread 21480 of process 21366 owned by '1002' RT at priority 5.
janv. 21 15:20:31 p rtkit-daemon[2000]: Supervising 18 threads of 10 processes of 3 users.
janv. 21 15:20:31 p rtkit-daemon[2000]: Supervising 18 threads of 10 processes of 3 users.
janv. 21 15:20:31 p gnome-shell[21470]: Created gbm renderer for '/dev/dri/card1'
janv. 21 15:20:31 p gnome-shell[21470]: Created gbm renderer for '/dev/dri/card0'
janv. 21 15:20:31 p gnome-shell[21470]: Boot VGA GPU /dev/dri/card0 selected as primary
janv. 21 15:20:31 p rtkit-daemon[2000]: Successfully made thread 21487 of process 21366 owned by '1002' RT at priority 5.
janv. 21 15:20:31 p rtkit-daemon[2000]: Supervising 19 threads of 10 processes of 3 users.
janv. 21 15:20:31 p gnome-shell[21470]: Using public X11 display :2, (using :3 for managed services)
janv. 21 15:20:31 p gnome-shell[21470]: Using Wayland display name 'wayland-0'
janv. 21 15:20:31 p dbus-daemon[21370]: [session uid=1002 pid=21370] Activating via systemd: service name='org.freedesktop.Tracker3.Miner.Files' unit='tracker-miner-fs-3.service' requested by ':1.4' (uid=1002 pid=21367 comm="/usr/libexec/tracker-extract-3 " label="unconfined")
janv. 21 15:20:31 p systemd[21352]: Started Sound Service.
janv. 21 15:20:31 p pulseaudio[21366]: Could not find org.bluez.BatteryProviderManager1.RegisterBatteryProvider(), is bluetoothd started with experimental features enabled (-E flag)?
janv. 21 15:20:31 p bluetoothd[1518]: src/profile.c:register_profile() :1.485 tried to register 00001108-0000-1000-8000-00805f9b34fb which is already registered
janv. 21 15:20:31 p bluetoothd[1518]: src/profile.c:register_profile() :1.485 tried to register 0000111f-0000-1000-8000-00805f9b34fb which is already registered
janv. 21 15:20:31 p pulseaudio[21366]: org.bluez.ProfileManager1.RegisterProfile() failed: org.bluez.Error.NotPermitted: UUID already registered
janv. 21 15:20:31 p pulseaudio[21366]: org.bluez.ProfileManager1.RegisterProfile() failed: org.bluez.Error.NotPermitted: UUID already registered
janv. 21 15:20:31 p bluetoothd[1518]: Endpoint registered: sender=:1.485 path=/MediaEndpoint/A2DPSink/sbc
janv. 21 15:20:31 p bluetoothd[1518]: Endpoint registered: sender=:1.485 path=/MediaEndpoint/A2DPSource/sbc
janv. 21 15:20:31 p bluetoothd[1518]: Endpoint registered: sender=:1.485 path=/MediaEndpoint/A2DPSink/sbc_xq_453
janv. 21 15:20:31 p bluetoothd[1518]: Endpoint registered: sender=:1.485 path=/MediaEndpoint/A2DPSource/sbc_xq_453
janv. 21 15:20:31 p bluetoothd[1518]: Endpoint registered: sender=:1.485 path=/MediaEndpoint/A2DPSink/sbc_xq_512
janv. 21 15:20:31 p bluetoothd[1518]: Endpoint registered: sender=:1.485 path=/MediaEndpoint/A2DPSource/sbc_xq_512
janv. 21 15:20:31 p bluetoothd[1518]: Endpoint registered: sender=:1.485 path=/MediaEndpoint/A2DPSink/sbc_xq_552
janv. 21 15:20:31 p bluetoothd[1518]: Endpoint registered: sender=:1.485 path=/MediaEndpoint/A2DPSource/sbc_xq_552
janv. 21 15:20:31 p gnome-shell[21470]: Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly.
janv. 21 15:20:31 p gnome-shell[21470]: Will monitor session 21
janv. 21 15:20:32 p dbus-daemon[21370]: [session uid=1002 pid=21370] Activating via systemd: service name='org.freedesktop.impl.portal.PermissionStore' unit='xdg-permission-store.service' requested by ':1.20' (uid=1002 pid=21470 comm="/usr/bin/gnome-shell " label="unconfined")
janv. 21 15:20:32 p systemd[21352]: Starting sandboxed app permission store...
janv. 21 15:20:32 p dbus-daemon[21370]: [session uid=1002 pid=21370] Activating service name='org.gnome.Shell.CalendarServer' requested by ':1.20' (uid=1002 pid=21470 comm="/usr/bin/gnome-shell " label="unconfined")
janv. 21 15:20:32 p dbus-daemon[21370]: [session uid=1002 pid=21370] Successfully activated service 'org.freedesktop.impl.portal.PermissionStore'
janv. 21 15:20:32 p systemd[21352]: Started sandboxed app permission store.
janv. 21 15:20:32 p dbus-daemon[21370]: [session uid=1002 pid=21370] Activating via systemd: service name='org.gnome.evolution.dataserver.Sources5' unit='evolution-source-registry.service' requested by ':1.23' (uid=1002 pid=21504 comm="/usr/libexec/gnome-shell-calendar-server " label="unconfined")
janv. 21 15:20:32 p systemd[21352]: Starting Evolution source registry...
janv. 21 15:20:32 p dbus-daemon[21370]: [session uid=1002 pid=21370] Activating via systemd: service name='ca.desrt.dconf' unit='dconf.service' requested by ':1.20' (uid=1002 pid=21470 comm="/usr/bin/gnome-shell " label="unconfined")
janv. 21 15:20:32 p systemd[21352]: Starting User preferences database...
janv. 21 15:20:32 p dbus-daemon[21370]: [session uid=1002 pid=21370] Successfully activated service 'ca.desrt.dconf'
janv. 21 15:20:32 p systemd[21352]: Started User preferences database.
janv. 21 15:20:32 p polkitd(authority=local)[1533]: Registered Authentication Agent for unix-session:21 (system bus name :1.483 [/usr/bin/gnome-shell], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale fr_FR.UTF-8)
janv. 21 15:20:32 p gnome-shell[21470]: Telepathy is not available, chat integration will be disabled.
janv. 21 15:20:32 p dbus-daemon[21370]: [session uid=1002 pid=21370] Activating via systemd: service name='org.gtk.vfs.UDisks2VolumeMonitor' unit='gvfs-udisks2-volume-monitor.service' requested by ':1.20' (uid=1002 pid=21470 comm="/usr/bin/gnome-shell " label="unconfined")
janv. 21 15:20:32 p systemd[21352]: Starting Virtual filesystem service - disk device monitor...
janv. 21 15:20:32 p dbus-daemon[21370]: [session uid=1002 pid=21370] Activating service name='org.gnome.OnlineAccounts' requested by ':1.24' (uid=1002 pid=21513 comm="/usr/libexec/evolution-source-registry " label="unconfined")
janv. 21 15:20:32 p dbus-daemon[21370]: [session uid=1002 pid=21370] Successfully activated service 'org.gnome.evolution.dataserver.Sources5'
janv. 21 15:20:32 p systemd[21352]: Started Evolution source registry.
janv. 21 15:20:32 p dbus-daemon[21370]: [session uid=1002 pid=21370] Activating via systemd: service name='org.gnome.evolution.dataserver.Calendar8' unit='evolution-calendar-factory.service' requested by ':1.23' (uid=1002 pid=21504 comm="/usr/libexec/gnome-shell-calendar-server " label="unconfined")
janv. 21 15:20:32 p systemd[21352]: Starting Evolution calendar service...
janv. 21 15:20:32 p dbus-daemon[21370]: [session uid=1002 pid=21370] Successfully activated service 'org.gnome.Shell.CalendarServer'
janv. 21 15:20:32 p dbus-daemon[21370]: [session uid=1002 pid=21370] Successfully activated service 'org.gtk.vfs.UDisks2VolumeMonitor'
janv. 21 15:20:32 p systemd[21352]: Started Virtual filesystem service - disk device monitor.
janv. 21 15:20:32 p dbus-daemon[21370]: [session uid=1002 pid=21370] Activating via systemd: service name='org.gtk.vfs.AfcVolumeMonitor' unit='gvfs-afc-volume-monitor.service' requested by ':1.20' (uid=1002 pid=21470 comm="/usr/bin/gnome-shell " label="unconfined")
janv. 21 15:20:32 p systemd[21352]: Starting Virtual filesystem service - Apple File Conduit monitor...
janv. 21 15:20:32 p dbus-daemon[21370]: [session uid=1002 pid=21370] Successfully activated service 'org.gtk.vfs.AfcVolumeMonitor'
janv. 21 15:20:32 p systemd[21352]: Started Virtual filesystem service - Apple File Conduit monitor.
janv. 21 15:20:32 p dbus-daemon[21370]: [session uid=1002 pid=21370] Activating via systemd: service name='org.gtk.vfs.MTPVolumeMonitor' unit='gvfs-mtp-volume-monitor.service' requested by ':1.20' (uid=1002 pid=21470 comm="/usr/bin/gnome-shell " label="unconfined")
janv. 21 15:20:32 p systemd[21352]: Starting Virtual filesystem service - Media Transfer Protocol monitor...
janv. 21 15:20:32 p dbus-daemon[21370]: [session uid=1002 pid=21370] Successfully activated service 'org.gtk.vfs.MTPVolumeMonitor'
janv. 21 15:20:32 p systemd[21352]: Started Virtual filesystem service - Media Transfer Protocol monitor.
janv. 21 15:20:32 p dbus-daemon[21370]: [session uid=1002 pid=21370] Activating via systemd: service name='org.gtk.vfs.GPhoto2VolumeMonitor' unit='gvfs-gphoto2-volume-monitor.service' requested by ':1.20' (uid=1002 pid=21470 comm="/usr/bin/gnome-shell " label="unconfined")
janv. 21 15:20:32 p systemd[21352]: Starting Virtual filesystem service - digital camera monitor...
janv. 21 15:20:32 p dbus-daemon[21370]: [session uid=1002 pid=21370] Successfully activated service 'org.gtk.vfs.GPhoto2VolumeMonitor'
janv. 21 15:20:32 p systemd[21352]: Started Virtual filesystem service - digital camera monitor.
janv. 21 15:20:32 p dbus-daemon[21370]: [session uid=1002 pid=21370] Activating via systemd: service name='org.gtk.vfs.GoaVolumeMonitor' unit='gvfs-goa-volume-monitor.service' requested by ':1.20' (uid=1002 pid=21470 comm="/usr/bin/gnome-shell " label="unconfined")
janv. 21 15:20:32 p systemd[21352]: Starting Virtual filesystem service - GNOME Online Accounts monitor...
janv. 21 15:20:32 p goa-daemon[21525]: goa-daemon version 3.44.0 starting
janv. 21 15:20:32 p dbus-daemon[21370]: [session uid=1002 pid=21370] Activating service name='org.gnome.Identity' requested by ':1.32' (uid=1002 pid=21525 comm="/usr/libexec/goa-daemon " label="unconfined")
janv. 21 15:20:32 p dbus-daemon[21370]: [session uid=1002 pid=21370] Successfully activated service 'org.gnome.OnlineAccounts'
janv. 21 15:20:32 p dbus-daemon[21370]: [session uid=1002 pid=21370] Successfully activated service 'org.gtk.vfs.GoaVolumeMonitor'
janv. 21 15:20:32 p systemd[21352]: Started Virtual filesystem service - GNOME Online Accounts monitor.
janv. 21 15:20:32 p dbus-daemon[21370]: [session uid=1002 pid=21370] Successfully activated service 'org.gnome.Identity'
janv. 21 15:20:32 p dbus-daemon[21370]: [session uid=1002 pid=21370] Successfully activated service 'org.gnome.evolution.dataserver.Calendar8'
janv. 21 15:20:32 p systemd[21352]: Started Evolution calendar service.
janv. 21 15:20:32 p dbus-daemon[21370]: [session uid=1002 pid=21370] Activating via systemd: service name='org.gnome.evolution.dataserver.AddressBook10' unit='evolution-addressbook-factory.service' requested by ':1.27' (uid=1002 pid=21529 comm="/usr/libexec/evolution-calendar-factory " label="unconfined")
janv. 21 15:20:32 p systemd[21352]: Starting Evolution address book service...
janv. 21 15:20:32 p dbus-daemon[21370]: [session uid=1002 pid=21370] Successfully activated service 'org.gnome.evolution.dataserver.AddressBook10'
janv. 21 15:20:32 p systemd[21352]: Started Evolution address book service.
janv. 21 15:20:33 p dbus-daemon[21370]: [session uid=1002 pid=21370] Activating service name='org.freedesktop.FileManager1' requested by ':1.20' (uid=1002 pid=21470 comm="/usr/bin/gnome-shell " label="unconfined")
janv. 21 15:20:33 p dbus-daemon[21370]: [session uid=1002 pid=21370] Activating via systemd: service name='org.gtk.vfs.Metadata' unit='gvfs-metadata.service' requested by ':1.20' (uid=1002 pid=21470 comm="/usr/bin/gnome-shell " label="unconfined")
janv. 21 15:20:33 p systemd[21352]: Starting Virtual filesystem metadata service...
janv. 21 15:20:33 p dbus-daemon[21370]: [session uid=1002 pid=21370] Successfully activated service 'org.gtk.vfs.Metadata'
janv. 21 15:20:33 p systemd[21352]: Started Virtual filesystem metadata service.
janv. 21 15:20:33 p dbus-daemon[21370]: [session uid=1002 pid=21370] Activating service name='org.gnome.Shell.Notifications' requested by ':1.20' (uid=1002 pid=21470 comm="/usr/bin/gnome-shell " label="unconfined")
janv. 21 15:20:33 p at-spi-dbus-bus.desktop[21479]: dbus-daemon[21479]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=1002 pid=21470 comm="/usr/bin/gnome-shell " label="unconfined")
janv. 21 15:20:33 p at-spi-dbus-bus.desktop[21479]: dbus-daemon[21479]: Successfully activated service 'org.a11y.atspi.Registry'
janv. 21 15:20:33 p at-spi-dbus-bus.desktop[21607]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
janv. 21 15:20:33 p audit[1519]: USER_AVC pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:33 p kernel: audit: type=1107 audit(1705846833.490:175): pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:33 p dbus-daemon[21370]: [session uid=1002 pid=21370] Successfully activated service 'org.gnome.Shell.Notifications'
janv. 21 15:20:33 p systemd[21352]: Started GNOME Shell on Wayland.
janv. 21 15:20:33 p systemd[21352]: Reached target GNOME Session is initialized.
janv. 21 15:20:33 p systemd[21352]: GNOME session X11 services is inactive.
janv. 21 15:20:33 p systemd[21352]: Dependency failed for GNOME XSettings service.
janv. 21 15:20:33 p systemd[21352]: org.gnome.SettingsDaemon.XSettings.service: Job org.gnome.SettingsDaemon.XSettings.service/start failed with result 'dependency'.
janv. 21 15:20:33 p systemd[21352]: gnome-session-x11-services-ready.target: Job gnome-session-x11-services-ready.target/verify-active failed with result 'dependency'.
janv. 21 15:20:33 p systemd[21352]: Reached target GNOME Session (session: ubuntu).
janv. 21 15:20:33 p systemd[21352]: Reached target GNOME XSettings target.
janv. 21 15:20:33 p systemd[21352]: Starting Signal initialization done to GNOME Session Manager...
janv. 21 15:20:33 p systemd[21352]: Starting IBus Daemon for GNOME...
janv. 21 15:20:33 p systemd[21352]: Starting GNOME accessibility service...
janv. 21 15:20:33 p systemd[21352]: Starting GNOME color management service...
janv. 21 15:20:33 p systemd[21352]: Starting GNOME date & time service...
janv. 21 15:20:33 p systemd[21352]: Starting GNOME maintenance of expirable data service...
janv. 21 15:20:33 p systemd[21352]: Starting GNOME keyboard configuration service...
janv. 21 15:20:33 p systemd[21352]: Starting GNOME keyboard shortcuts service...
janv. 21 15:20:33 p systemd[21352]: Starting GNOME power management service...
janv. 21 15:20:33 p systemd[21352]: Starting GNOME printer notifications service...
janv. 21 15:20:33 p systemd[21352]: Starting GNOME RFKill support service...
janv. 21 15:20:33 p systemd[21352]: Starting GNOME FreeDesktop screensaver service...
janv. 21 15:20:33 p systemd[21352]: Starting GNOME file sharing service...
janv. 21 15:20:33 p systemd[21352]: Starting GNOME smartcard service...
janv. 21 15:20:33 p systemd[21352]: Starting GNOME sound sample caching service...
janv. 21 15:20:33 p systemd[21352]: Starting GNOME Wacom tablet support service...
janv. 21 15:20:33 p systemd[21352]: Finished Signal initialization done to GNOME Session Manager.
janv. 21 15:20:33 p systemd[21352]: Started GNOME accessibility service.
janv. 21 15:20:33 p systemd[21352]: Started GNOME maintenance of expirable data service.
janv. 21 15:20:33 p spice-vdagent[21630]: vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0 does not exist, exiting
janv. 21 15:20:33 p systemd[21352]: Started Application launched by gnome-session-binary.
janv. 21 15:20:33 p systemd[21352]: Reached target GNOME accessibility target.
janv. 21 15:20:33 p systemd[21352]: Reached target GNOME maintenance of expirable data target.
janv. 21 15:20:33 p systemd[21352]: Started GNOME FreeDesktop screensaver service.
janv. 21 15:20:33 p systemd[21352]: Reached target GNOME FreeDesktop screensaver target.
janv. 21 15:20:33 p kernel: rfkill: input handler disabled
janv. 21 15:20:33 p systemd[21352]: Started GNOME RFKill support service.
janv. 21 15:20:33 p systemd[21352]: Reached target GNOME RFKill support target.
janv. 21 15:20:33 p gnome-session-binary[21449]: Entering running state
janv. 21 15:20:33 p NetworkManager[1520]: <info>  [1705846833.7665] agent-manager: agent[27b5e0b06ad35937,:1.483/org.gnome.Shell.NetworkAgent/1002]: agent registered
janv. 21 15:20:33 p at-spi2-registr[21607]: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to register client
janv. 21 15:20:33 p at-spi2-registr[21607]: Unable to register client with session manager
janv. 21 15:20:33 p systemd[21352]: Started GNOME smartcard service.
janv. 21 15:20:33 p systemd[21352]: Started GNOME file sharing service.
janv. 21 15:20:33 p systemd[21352]: Started GNOME sound sample caching service.
janv. 21 15:20:33 p systemd[21352]: Started Application launched by gnome-session-binary.
janv. 21 15:20:33 p systemd[21352]: Started Application launched by gnome-session-binary.
janv. 21 15:20:33 p systemd[21352]: Started Application launched by gnome-session-binary.
janv. 21 15:20:33 p gnome-session-binary[21449]: GnomeDesktop-WARNING: Could not create transient scope for PID 21680: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 21680 does not exist.
janv. 21 15:20:33 p gnome-session[21449]: gnome-session-binary[21449]: GnomeDesktop-WARNING: Could not create transient scope for PID 21680: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 21680 does not exist.
janv. 21 15:20:33 p systemd[21352]: Started Application launched by gnome-session-binary.
janv. 21 15:20:33 p systemd[21352]: Started Application launched by gnome-session-binary.
janv. 21 15:20:33 p dbus-daemon[21370]: [session uid=1002 pid=21370] Activating service name='org.freedesktop.portal.IBus' requested by ':1.58' (uid=1002 pid=21627 comm="/usr/bin/ibus-daemon --panel disable " label="unconfined")
janv. 21 15:20:33 p systemd[21352]: Started Application launched by gnome-session-binary.
janv. 21 15:20:33 p systemd[21352]: Started Application launched by gnome-session-binary.
janv. 21 15:20:33 p systemd[21352]: Reached target GNOME file sharing target.
janv. 21 15:20:33 p systemd[21352]: Reached target GNOME smartcard target.
janv. 21 15:20:33 p systemd[21352]: Reached target GNOME sound sample caching target.
janv. 21 15:20:33 p systemd[21352]: Started IBus Daemon for GNOME.
janv. 21 15:20:33 p systemd[21352]: Started GNOME date & time service.
janv. 21 15:20:33 p systemd[21352]: Reached target GNOME date & time target.
janv. 21 15:20:33 p gnome-shell[21470]: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
janv. 21 15:20:33 p systemd[21352]: Started GNOME printer notifications service.
janv. 21 15:20:33 p systemd[21352]: Reached target GNOME printer notifications target.
janv. 21 15:20:34 p gnome-shell[21470]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
janv. 21 15:20:34 p gnome-shell[21470]: Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
janv. 21 15:20:34 p gnome-shell[21470]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
janv. 21 15:20:34 p gnome-shell[21470]: Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
janv. 21 15:20:34 p gnome-shell[21470]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
janv. 21 15:20:34 p gnome-shell[21470]: Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
janv. 21 15:20:34 p gnome-shell[21470]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
janv. 21 15:20:34 p gnome-shell[21470]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
janv. 21 15:20:34 p gnome-shell[21470]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
janv. 21 15:20:34 p dbus-daemon[21370]: [session uid=1002 pid=21370] Activating via systemd: service name='org.freedesktop.portal.Desktop' unit='xdg-desktop-portal.service' requested by ':1.38' (uid=1002 pid=21589 comm="/usr/bin/nautilus --gapplication-service " label="unconfined")
janv. 21 15:20:34 p systemd[21352]: Starting Portal service...
janv. 21 15:20:34 p dbus-daemon[21370]: [session uid=1002 pid=21370] Successfully activated service 'org.freedesktop.portal.IBus'
janv. 21 15:20:34 p dbus-daemon[21370]: [session uid=1002 pid=21370] Activating via systemd: service name='org.freedesktop.portal.Documents' unit='xdg-document-portal.service' requested by ':1.66' (uid=1002 pid=21753 comm="/usr/libexec/xdg-desktop-portal " label="unconfined")
janv. 21 15:20:34 p systemd[21352]: Starting flatpak document portal service...
janv. 21 15:20:34 p systemd[21352]: Started GNOME power management service.
janv. 21 15:20:34 p systemd[21352]: Reached target GNOME power management target.
janv. 21 15:20:34 p dbus-daemon[21370]: [session uid=1002 pid=21370] Successfully activated service 'org.freedesktop.portal.Documents'
janv. 21 15:20:34 p audit[1519]: USER_AVC pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:34 p systemd[21352]: Started flatpak document portal service.
janv. 21 15:20:34 p kernel: audit: type=1107 audit(1705846834.306:176): pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:34 p audit[1519]: USER_AVC pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:34 p kernel: audit: type=1107 audit(1705846834.314:177): pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:34 p systemd[21352]: Started GNOME keyboard shortcuts service.
janv. 21 15:20:34 p systemd[21352]: Started GNOME keyboard configuration service.
janv. 21 15:20:34 p systemd[21352]: Reached target GNOME keyboard configuration target.
janv. 21 15:20:34 p systemd[21352]: Reached target GNOME keyboard shortcuts target.
janv. 21 15:20:34 p dbus-daemon[21370]: [session uid=1002 pid=21370] Activating via systemd: service name='org.freedesktop.impl.portal.desktop.gnome' unit='xdg-desktop-portal-gnome.service' requested by ':1.66' (uid=1002 pid=21753 comm="/usr/libexec/xdg-desktop-portal " label="unconfined")
janv. 21 15:20:34 p systemd[21352]: Starting Portal service (GNOME implementation)...
janv. 21 15:20:34 p dbus-daemon[21370]: [session uid=1002 pid=21370] Activating service name='org.gnome.ScreenSaver' requested by ':1.54' (uid=1002 pid=21635 comm="/usr/libexec/gsd-power " label="unconfined")
janv. 21 15:20:34 p audit[1519]: USER_AVC pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:34 p kernel: audit: type=1107 audit(1705846834.598:178): pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:34 p audit[1519]: USER_AVC pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:34 p kernel: audit: type=1107 audit(1705846834.602:179): pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:34 p gsd-media-keys[21631]: Failed to grab accelerator for keybinding settings:hibernate
janv. 21 15:20:34 p gsd-media-keys[21631]: Failed to grab accelerator for keybinding settings:playback-repeat
janv. 21 15:20:35 p dbus-daemon[21370]: [session uid=1002 pid=21370] Successfully activated service 'org.gnome.ScreenSaver'
janv. 21 15:20:35 p systemd[21352]: Started GNOME color management service.
janv. 21 15:20:35 p systemd[21352]: Reached target GNOME color management target.
janv. 21 15:20:35 p systemd[21352]: Started GNOME Wacom tablet support service.
janv. 21 15:20:35 p systemd[21352]: Reached target GNOME Wacom tablet support target.
janv. 21 15:20:35 p systemd[21352]: Reached target GNOME Session.
janv. 21 15:20:35 p systemd[21352]: Reached target GNOME Wayland Session (session: ubuntu).
janv. 21 15:20:35 p systemd[21352]: Reached target Current graphical user session.
janv. 21 15:20:35 p systemd[21352]: Condition check resulted in GNOME Initial Setup being skipped.
janv. 21 15:20:35 p systemd[21352]: Starting Tracker file system data miner...
janv. 21 15:20:36 p gnome-shell[21470]: GNOME Shell started at Sun Jan 21 2024 15:20:32 GMT+0100 (CET)
janv. 21 15:20:36 p gnome-shell[21470]: Registering session with GDM
janv. 21 15:20:36 p gnome-shell[21055]: Connection to xwayland lost
janv. 21 15:20:36 p gnome-session[21030]: gnome-session-binary[21030]: CRITICAL: gsm_client_peek_id: assertion 'GSM_IS_CLIENT (client)' failed
janv. 21 15:20:36 p gnome-session-binary[21030]: CRITICAL: gsm_client_peek_id: assertion 'GSM_IS_CLIENT (client)' failed
janv. 21 15:20:36 p gnome-session[21030]: gnome-session-binary[21030]: GLib-CRITICAL: g_hash_table_find: assertion 'version == hash_table->version' failed
janv. 21 15:20:36 p gnome-session[21030]: gnome-session-binary[21030]: WARNING: Lost name on bus: org.gnome.SessionManager
janv. 21 15:20:36 p gnome-session-binary[21030]: GLib-CRITICAL: g_hash_table_find: assertion 'version == hash_table->version' failed
janv. 21 15:20:36 p gnome-session-binary[21030]: WARNING: Lost name on bus: org.gnome.SessionManager
janv. 21 15:20:36 p gsd-sharing[21151]: Error releasing name org.gnome.SettingsDaemon.Sharing: La connexion est fermée
janv. 21 15:20:36 p ibus-daemon[21303]: GChildWatchSource: Exit status of a child process was requested but ECHILD was received by waitpid(). See the documentation of g_child_watch_source_new() for possible causes.
janv. 21 15:20:36 p gsd-print-notif[21168]: Error releasing name org.gnome.SettingsDaemon.PrintNotifications: La connexion est fermée
janv. 21 15:20:36 p gdm-launch-environment][21001]: pam_unix(gdm-launch-environment:session): session closed for user gdm
janv. 21 15:20:36 p audit[1519]: USER_AVC pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:36 p kernel: audit: type=1107 audit(1705846836.418:180): pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:36 p kernel: audit: type=1107 audit(1705846836.418:181): pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:36 p kernel: audit: type=1107 audit(1705846836.422:182): pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:36 p kernel: audit: type=1107 audit(1705846836.422:183): pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:36 p audit[1519]: USER_AVC pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:36 p audit[1519]: USER_AVC pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:36 p audit[1519]: USER_AVC pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:36 p gsd-color[3439]: failed to connect to device: Failed to connect to missing device /org/freedesktop/ColorManager/devices/xrandr_Seiko_Epson_Corporation_gdm_125
janv. 21 15:20:36 p polkitd(authority=local)[1533]: Unregistered Authentication Agent for unix-session:c2 (system bus name :1.452, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale fr_FR.UTF-8) (disconnected from bus)
janv. 21 15:20:36 p gdm-launch-environment][21001]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
janv. 21 15:20:36 p systemd-logind[1684]: Session c2 logged out. Waiting for processes to exit.
janv. 21 15:20:36 p systemd[1]: session-c2.scope: Deactivated successfully.
janv. 21 15:20:36 p systemd[1]: session-c2.scope: Consumed 5.154s CPU time.
janv. 21 15:20:36 p systemd-logind[1684]: Removed session c2.
janv. 21 15:20:36 p audit[1519]: USER_AVC pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="SessionRemoved" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:36 p kernel: audit: type=1107 audit(1705846836.722:184): pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="SessionRemoved" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:36 p gdm3[1759]: Gdm: Child process -21024 was already dead.
janv. 21 15:20:37 p gsd-color[21622]: failed to connect to device: Failed to connect to missing device /org/freedesktop/ColorManager/devices/xrandr_Seiko_Epson_Corporation_gdm_125
janv. 21 15:20:37 p dbus-daemon[21370]: [session uid=1002 pid=21370] Successfully activated service 'org.freedesktop.impl.portal.desktop.gnome'
janv. 21 15:20:37 p systemd[21352]: Started Portal service (GNOME implementation).
janv. 21 15:20:37 p rtkit-daemon[2000]: Supervising 16 threads of 9 processes of 3 users.
janv. 21 15:20:37 p rtkit-daemon[2000]: Supervising 16 threads of 9 processes of 3 users.
janv. 21 15:20:37 p rtkit-daemon[2000]: Supervising 16 threads of 9 processes of 3 users.
janv. 21 15:20:37 p dbus-daemon[21370]: [session uid=1002 pid=21370] Activating via systemd: service name='org.freedesktop.impl.portal.desktop.gtk' unit='xdg-desktop-portal-gtk.service' requested by ':1.66' (uid=1002 pid=21753 comm="/usr/libexec/xdg-desktop-portal " label="unconfined")
janv. 21 15:20:37 p systemd[21352]: Starting Portal service (GTK/GNOME implementation)...
janv. 21 15:20:37 p dbus-daemon[21370]: [session uid=1002 pid=21370] Successfully activated service 'org.freedesktop.impl.portal.desktop.gtk'
janv. 21 15:20:37 p systemd[21352]: Started Portal service (GTK/GNOME implementation).
janv. 21 15:20:37 p dbus-daemon[21370]: [session uid=1002 pid=21370] Successfully activated service 'org.freedesktop.portal.Desktop'
janv. 21 15:20:37 p systemd[21352]: Started Portal service.
janv. 21 15:20:38 p dbus-daemon[21370]: [session uid=1002 pid=21370] Successfully activated service 'org.freedesktop.FileManager1'
janv. 21 15:20:38 p dbus-daemon[21370]: [session uid=1002 pid=21370] Activating service name='org.gnome.ArchiveManager1' requested by ':1.80' (uid=1002 pid=21861 comm="gjs /usr/share/gnome-shell/extensions/ding@rasters" label="unconfined")
janv. 21 15:20:39 p dbus-daemon[21370]: [session uid=1002 pid=21370] Successfully activated service 'org.gnome.ArchiveManager1'
janv. 21 15:20:39 p gnome-shell[21470]: DING: Detected async api for thumbnails
janv. 21 15:20:39 p gnome-shell[21470]: DING: GNOME nautilus 42.6
janv. 21 15:20:40 p dbus-daemon[21370]: [session uid=1002 pid=21370] Successfully activated service 'org.freedesktop.Tracker3.Miner.Files'
janv. 21 15:20:40 p systemd[21352]: Started Tracker file system data miner.
janv. 21 15:20:40 p systemd[21352]: Started Tracker metadata extractor.
janv. 21 15:20:40 p systemd[21352]: Reached target Main User Target.
janv. 21 15:20:40 p systemd[21352]: Startup finished in 10.838s.
janv. 21 15:20:42 p kernel: ACPI: \_SB_.PCI0.PEG0.PEGP: failed to evaluate _DSM
janv. 21 15:20:43 p audit[1519]: USER_AVC pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:43 p kernel: audit: type=1107 audit(1705846843.058:185): pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:43 p dbus-daemon[21370]: [session uid=1002 pid=21370] Activating service name='org.gnome.gedit' requested by ':1.80' (uid=1002 pid=21861 comm="gjs /usr/share/gnome-shell/extensions/ding@rasters" label="unconfined")
janv. 21 15:20:43 p dbus-daemon[21370]: [session uid=1002 pid=21370] Successfully activated service 'org.gnome.gedit'
janv. 21 15:20:46 p systemd[1]: Stopping User Manager for UID 125...
janv. 21 15:20:46 p systemd[21010]: Stopped target Main User Target.
janv. 21 15:20:46 p systemd[21010]: Stopping D-Bus User Message Bus...
janv. 21 15:20:46 p gvfsd[21034]: A connection to the bus can't be made
janv. 21 15:20:46 p systemd[21010]: Stopping Virtual filesystem service - Apple File Conduit monitor...
janv. 21 15:20:46 p systemd[21010]: Stopping Virtual filesystem service...
janv. 21 15:20:46 p systemd[21010]: Stopping Virtual filesystem service - GNOME Online Accounts monitor...
janv. 21 15:20:46 p systemd[21010]: Stopping Virtual filesystem service - digital camera monitor...
janv. 21 15:20:46 p systemd[21010]: Stopping Virtual filesystem service - Media Transfer Protocol monitor...
janv. 21 15:20:46 p systemd[21010]: Stopping Virtual filesystem service - disk device monitor...
janv. 21 15:20:46 p systemd[21010]: Stopping PipeWire Media Session Manager...
janv. 21 15:20:46 p systemd[21010]: Stopping Tracker file system data miner...
janv. 21 15:20:46 p systemd[1]: run-user-125-gvfs.mount: Deactivated successfully.
janv. 21 15:20:46 p systemd[21010]: Stopped PipeWire Media Session Manager.
janv. 21 15:20:46 p systemd[21010]: Stopped D-Bus User Message Bus.
janv. 21 15:20:46 p systemd[21010]: Stopped Virtual filesystem service - disk device monitor.
janv. 21 15:20:46 p systemd[21010]: Stopped Virtual filesystem service - Apple File Conduit monitor.
janv. 21 15:20:46 p systemd[21010]: Stopped Virtual filesystem service - Media Transfer Protocol monitor.
janv. 21 15:20:46 p systemd[21010]: Stopped Virtual filesystem service - digital camera monitor.
janv. 21 15:20:46 p systemd[21010]: Stopped Virtual filesystem service - GNOME Online Accounts monitor.
janv. 21 15:20:46 p systemd[21010]: Stopping PipeWire Multimedia Service...
janv. 21 15:20:46 p systemd[21010]: Stopped PipeWire Multimedia Service.
janv. 21 15:20:46 p systemd[21010]: Removed slice User Core Session Slice.
janv. 21 15:20:46 p systemd[21010]: Stopped Virtual filesystem service.
janv. 21 15:20:47 p tracker-miner-fs-3[21065]: OK
janv. 21 15:20:47 p systemd[21010]: Stopped Tracker file system data miner.
janv. 21 15:20:47 p systemd[21010]: Removed slice User Background Tasks Slice.
janv. 21 15:20:47 p systemd[21010]: Stopped target Basic System.
janv. 21 15:20:47 p systemd[21010]: Stopped target Paths.
janv. 21 15:20:47 p systemd[21010]: Stopped Pending report trigger for Ubuntu Report.
janv. 21 15:20:47 p systemd[21010]: Stopped target Sockets.
janv. 21 15:20:47 p systemd[21010]: Stopped target Timers.
janv. 21 15:20:47 p systemd[21010]: Closed D-Bus User Message Bus Socket.
janv. 21 15:20:47 p systemd[21010]: Closed GnuPG network certificate management daemon.
janv. 21 15:20:47 p systemd[21010]: Closed GnuPG cryptographic agent and passphrase cache (access for web browsers).
janv. 21 15:20:47 p systemd[21010]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
janv. 21 15:20:47 p systemd[21010]: Closed GnuPG cryptographic agent (ssh-agent emulation).
janv. 21 15:20:47 p systemd[21010]: Closed GnuPG cryptographic agent and passphrase cache.
janv. 21 15:20:47 p systemd[21010]: Closed PipeWire Multimedia System Socket.
janv. 21 15:20:47 p systemd[21010]: Closed debconf communication socket.
janv. 21 15:20:47 p systemd[21010]: Closed Sound System.
janv. 21 15:20:47 p systemd[21010]: Closed REST API socket for snapd user session agent.
janv. 21 15:20:47 p systemd[21010]: Closed Speech Dispatcher Socket.
janv. 21 15:20:47 p systemd[21010]: Removed slice User Application Slice.
janv. 21 15:20:47 p systemd[21010]: Reached target Shutdown.
janv. 21 15:20:47 p systemd[21010]: Finished Exit the Session.
janv. 21 15:20:47 p systemd[21010]: Reached target Exit the Session.
janv. 21 15:20:47 p systemd[1]: user@125.service: Deactivated successfully.
janv. 21 15:20:47 p systemd[1]: Stopped User Manager for UID 125.
janv. 21 15:20:47 p systemd[1]: user@125.service: Consumed 2.114s CPU time.
janv. 21 15:20:47 p systemd[1]: Stopping User Runtime Directory /run/user/125...
janv. 21 15:20:47 p audit[1519]: USER_AVC pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="UserRemoved" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:47 p kernel: audit: type=1107 audit(1705846847.102:186): pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="UserRemoved" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:47 p systemd[1]: run-user-125.mount: Deactivated successfully.
janv. 21 15:20:47 p systemd[1]: user-runtime-dir@125.service: Deactivated successfully.
janv. 21 15:20:47 p systemd[1]: Stopped User Runtime Directory /run/user/125.
janv. 21 15:20:47 p systemd[1]: Removed slice User Slice of UID 125.
janv. 21 15:20:47 p systemd[1]: user-125.slice: Consumed 7.281s CPU time.
janv. 21 15:20:48 p nautilus[21589]: Could not delete '.meta.isrunning': Aucun fichier ou dossier de ce type
janv. 21 15:20:56 p systemd[1]: fprintd.service: Deactivated successfully.
janv. 21 15:20:56 p audit[1519]: USER_AVC pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:20:56 p kernel: audit: type=1107 audit(1705846856.775:187): pid=1519 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.16" mask="receive" pid=17503 label="snap.firefox.firefox" peer_pid=1684 peer_label="unconfined"
                             exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
janv. 21 15:21:04 p systemd[1]: systemd-hostnamed.service: Deactivated successfully.
janv. 21 15:21:04 p systemd[1]: systemd-localed.service: Deactivated successfully.
janv. 21 15:21:10 p systemd[21352]: Started Application launched by gsd-media-keys.
janv. 21 15:21:10 p dbus-daemon[21370]: [session uid=1002 pid=21370] Activating via systemd: service name='org.gnome.Terminal' unit='gnome-terminal-server.service' requested by ':1.89' (uid=1002 pid=21972 comm="/usr/bin/gnome-terminal.real --wait " label="unconfined")
janv. 21 15:21:10 p systemd[21352]: Created slice Slice /app/org.gnome.Terminal.
janv. 21 15:21:10 p systemd[21352]: Starting GNOME Terminal Server...
janv. 21 15:21:11 p dbus-daemon[21370]: [session uid=1002 pid=21370] Successfully activated service 'org.gnome.Terminal'
janv. 21 15:21:11 p systemd[21352]: Started GNOME Terminal Server.
janv. 21 15:21:11 p systemd[21352]: Started VTE child process 21995 launched by gnome-terminal-server process 21977.
janv. 21 15:21:16 p sudo[22004]: pam_unix(sudo:auth): user [b] has blank password; authenticated without it
janv. 21 15:21:16 p sudo[22004]:        b : TTY=pts/1 ; PWD=/home/b ; USER=root ; COMMAND=/usr/bin/tee -a /dev/kmsg
janv. 21 15:21:16 p sudo[22004]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1002)
janv. 21 15:21:16 p unknown: ===================================================================================
janv. 21 15:21:16 p sudo[22004]: pam_unix(sudo:session): session closed for user root
janv. 21 15:21:16 p sudo[22008]:        b : TTY=pts/1 ; PWD=/home/b ; USER=root ; COMMAND=/usr/bin/tee -a /dev/kmsg
janv. 21 15:21:16 p sudo[22008]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1002)
janv. 21 15:21:16 p sudo[22008]: pam_unix(sudo:session): session closed for user root
janv. 21 15:21:16 p unknown: ========              ON A CHANGE D UTILISATEUR                  ==================
janv. 21 15:21:16 p sudo[22012]:        b : TTY=pts/1 ; PWD=/home/b ; USER=root ; COMMAND=/usr/bin/tee -a /dev/kmsg
janv. 21 15:21:16 p sudo[22012]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1002)
janv. 21 15:21:16 p sudo[22012]: pam_unix(sudo:session): session closed for user root
janv. 21 15:21:16 p unknown: ===================================================================================

Dernière modification par geole (Le 26/01/2024, à 14:41)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#2 Le 26/01/2024, à 19:04

Vobul

Re : Utilisation des services pour sauvegarder le contenu du home

Salut,

Alors j'ai plusieurs choses à partager.

Déjà, tu t'es rendu compte qu'une sauvegarde doit être automatisée, et c'est en effet très important !

Ensuite, je ne sais pas où est-ce que tu sauvegardes les choses, mais perso j'utilise le service rsync.net, qui permet d'utiliser borg (en plus de rsync) pour directement sauvegarder les choses. borgbackup c'est un outil de backup très puissant, qui peut te permettre de chiffrer facilement toutes les données (donc rsync.net ne peut pas voir tes données), mais aussi d'avoir des commande "prune" pour ne conserver que les backups que tu souhaites, avec une granularité de ton choix.

Ton approche de déclencher le script à l'extinction me ne semble pas irraisonnable, mais il vaut mieux faire une backup toutes les 15 ou 30 minutes et laisser l'ordi s'éteindre quand on lui dit de s'éteindre. Voici un exemple de backup toutes les 30 minutes :

 cat .config/systemd/user/backup-home-rsyncnet.timer 
[Unit]
Description=Run home backup to rsyncnet every 30 minutes

[Timer]
OnCalendar=*:0/30
Persistent=true

[Install]
WantedBy=timers.target

Comme tu peux le voir j'utilise un service systemd "--user", mais c'est pareil avec le system.

Et le service :

cat .config/systemd/user/backup-home-rsyncnet.service 
[Unit]
Description=Backup home to rsyncnet with borg

[Service]
Environment="BORG_PASSPHRASE=<là j'ai ma passphrase de mon repo borg sur rsync.net>"
ExecStart=/home/vobul/.bin/backup-home-rsyncnet.sh

[Install]
WantedBy=default.target

Et ça suffit. Si ça a pas eu le temps de run, ça run au prochain démarrage, c'est le "Persistent=true" (cf. doc).

Après à toi de voir si chaque utilisateur doit avoir son propre service, ou si c'est root qui fait une backup de /home entièrement. Pense à ignorer les dossiers genre ~/.cache et ~/.thumbnails et similaire dans ton script.

En espérant que ça t'aidera !


Vobul
Utilisez le retour utilisable de commandes !!!
J'aime la langue française, mais je parle franglais, deal with it.
RTFM

Hors ligne

#3 Le 26/01/2024, à 20:38

geole

Re : Utilisation des services pour sauvegarder le contenu du home

Merci de ta réponse.
Mais ma question était de faire une sauvegarde au changement d'utilisateur  afin d'apprendre cette gestion de service et je n'ai pas su trouver un exemple de service   lancé au changement d'utilisateur. (A croire que cela n'est pas prévu).

Actuellement, le script que je peux publier si besoin  est lancé régulièrement    par timer    ( toutes les deux  heures).
Il pourrait systématiquement sauver tout le home  (c'est ce qu'il faisait  avant), à l'exception des fichiers/répertoires    indiqués dans un fichier utilisateur d'exclusion.
    Mais actuellement j'ai ajouté un test.
                    Si le script est activé par le timer et qu'il y a un utilisateur connecté, il ne sauve  que l'utilisateur connecté. Si pas d'utilisateur connecté, il ne fait rien. Cela peut arriver suivant la façon de fonctionner.
                   Si le script n'est pas activé par le timer, donc mise en sommeil ou arrêt machine, il sauve tous les utilisateurs. Ce que je trouve dommages par conception.

Donc  dans certains cas, s'il y a eu beaucoup de modifications pendant les deux dernières heures, il y a beaucoup de choses à sauver..  et  le script liste les répertoires qui se sauvegardent. C'est là que j'ai vu passer de la sauvegarde pour deux utilisateurs,   Il ne devrait n'y en avoir qu'un à faire: Celui qui lance l'arrêt. La sauvegarde de l'autre se faisant au moment du changement d'utilisateur et pendant que le  nouveau connecté travaille. Il n'y a pas lieu d'attendre  que la sauvegarde de l'utilisateur précédant soit terminée pour valider la connexion du suivant.

Bien sur, on peut faire de la sauvegarde toutes les cinq minutes. Mais, à mon avis, une fois toutes les deux  heures me semble pas mal. (Rsync se base  sur quatre heures).

a@a:~$ cd /var/cache/rs*
a@a:/var/cache/rsnapshot$ ls -lts
total 38
1 drwxr-xr-x 3 root root 3 Jan 26 19:00 alpha.0
1 drwxr-xr-x 3 root root 3 Jan 26 18:00 alpha.1
1 drwxr-xr-x 3 root root 3 Jan 26 17:00 alpha.2
1 drwxr-xr-x 3 root root 3 Jan 26 16:00 alpha.3
1 drwxr-xr-x 3 root root 3 Jan 26 15:02 alpha.4
1 drwxr-xr-x 3 root root 3 Jan 26 14:02 alpha.5
1 drwxr-xr-x 3 root root 3 Jan 26 13:01 alpha.6
1 drwxr-xr-x 3 root root 3 Jan 26 12:00 alpha.7
1 drwxr-xr-x 3 root root 3 Jan 26 11:00 alpha.8
1 drwxr-xr-x 3 root root 3 Jan 26 00:06 alpha.9
1 drwxr-xr-x 3 root root 3 Jan 26 00:05 alpha.10
1 drwxr-xr-x 3 root root 3 Jan 26 00:00 alpha.11
1 drwxr-xr-x 3 root root 3 Jan 25 23:00 alpha.12
1 drwxr-xr-x 3 root root 3 Jan 25 22:04 alpha.13
1 drwxr-xr-x 3 root root 3 Jan 25 21:47 alpha.14
1 drwxr-xr-x 3 root root 3 Jan 25 18:53 alpha.15
1 drwxr-xr-x 3 root root 3 Jan 25 18:53 alpha.16
1 drwxr-xr-x 3 root root 3 Jan 25 18:53 alpha.17
1 drwxr-xr-x 3 root root 3 Jan 25 18:53 alpha.18
1 drwxr-xr-x 3 root root 3 Jan 25 18:53 alpha.19
1 drwxr-xr-x 3 root root 3 Jan 25 18:53 alpha.20
1 drwxr-xr-x 3 root root 3 Jan 25 18:53 alpha.21
1 drwxr-xr-x 3 root root 3 Jan 25 18:53 alpha.22
1 drwxr-xr-x 3 root root 3 Jan 25 18:53 alpha.23
1 drwxr-xr-x 3 root root 3 Jan 25 18:53 beta.0
1 drwxr-xr-x 3 root root 3 Jan 24 18:35 beta.1
1 drwxr-xr-x 3 root root 3 Jan 24 18:35 beta.2
1 drwxr-xr-x 3 root root 3 Jan 24 18:35 beta.3
1 drwxr-xr-x 3 root root 3 Jan 24 18:35 beta.4
1 drwxr-xr-x 3 root root 3 Jan 24 18:35 beta.5
1 drwxr-xr-x 3 root root 3 Jan 24 18:35 delta.0
1 drwxr-xr-x 3 root root 3 Jan 24 18:35 gamma.0
1 drwxr-xr-x 3 root root 3 Jan 24 18:35 gamma.1
1 drwxr-xr-x 3 root root 3 Jan 24 18:35 gamma.2
1 drwxr-xr-x 3 root root 3 Jan 24 18:35 gamma.3
1 drwxr-xr-x 3 root root 3 Jan 24 07:22 delta.1
1 drwxr-xr-x 3 root root 3 Jan 24 04:47 delta.2
1 drwxr-xr-x 3 root root 3 Jan 24 01:13 delta.5
a@a:/var/cache/rsnapshot$ 

Nota. Pour le moment, la sauvegarde se fait dans  un autre disque de l'ordinateur,   et quand,  j'y pense, je mets sous tension électrique un autre ordinateur  qui récupère par réseau local le contenu de l'autre disque.  Cela me suffit comme sécurité. 
Lorsque l'un des ordinateurs lâchera, je verrais bien le coût économique de son remplacement ou d'utiliser un cloud.

A coté de moi, il y a un bout de papier  dans lequel  il a écrit BORGBACKUP et dans  launchpad, je viens de mettre un rapport de bug montrant qu'il dysfonctionne. Pas trop surprenant, plus on complique, plus on a ce genre d'incident)   

a@a:/var/cache/rsnapshot$ borg list /Borg::Lundi |  head -10
drwxr-x--- a      a             0 Mon, 2024-01-22 16:20:37 home/a
-rw-r--r-- a      a          3771 Sun, 2023-11-26 09:46:25 home/a/.bashrc
-rw-r--r-- a      a           220 Sun, 2023-11-26 09:46:25 home/a/.bash_logout
-rw-r--r-- a      a           807 Sun, 2023-11-26 09:46:25 home/a/.profile
drwx------ a      a             0 Thu, 2024-01-18 12:06:23 home/a/.ssh
-rw------- a      a             0 Thu, 2024-01-18 12:06:23 home/a/.ssh/authorized_keys
drwx------ a      a             0 Thu, 2024-01-18 12:06:30 home/a/.local
drwx------ a      a             0 Thu, 2024-01-18 12:06:30 home/a/.local/state
drwx------ a      a             0 Mon, 2024-01-22 16:24:06 home/a/.local/state/wireplumber
-rw-rw-r-- a      a           899 Mon, 2024-01-22 16:24:06 home/a/.local/state/wireplumber/restore-stream

borg mount /Borg::Lundi /mnt
borg mount not available: no FUSE support, BORG_FUSE_IMPL=pyfuse3,llfuse.

Dernière modification par geole (Le 26/01/2024, à 20:43)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#4 Le 26/01/2024, à 20:48

krodelabestiole

Re : Utilisation des services pour sauvegarder le contenu du home

geole a écrit :

lancé au changement d'utilisateur. (A croire que cela n'est pas prévu).

pas sûr que cet événement existe :
il y a la déconnexion d'un utilisateur (je te conseille pas de lancer quelque chose à ce moment là, ça peut être l'extinction de l'ordinateur)
ou la connexion d'un utilisateur (donc un événement lancé au démarrage de la session).

tu as jeté un œil à incron ? ça permet de mettre un watcher par ex.
comme d'hab je suppose qu'on peut faire la même chose avec systemd : https://forum.howtoforge.com/threads/re … emd.88477/
https://www.putorius.net/systemd-path-units.html

Hors ligne

#5 Le 29/01/2024, à 19:41

geole

Re : Utilisation des services pour sauvegarder le contenu du home

Bonjour
J'ai testé   un service à la connexion d'un utilisateur. Il fonctionne
Lorsque l'utilisateur se déconnecte de la session et qu'un autre utilisateur se connecte ( l'autre pouvant être lui-même), il fonctionne.
Mais comme tu le pensais c'est "transparent" si changement d'utilisateur. Comme c'est la technique logique à utiliser, je ne suis pas plus avancé.
Pour le FUN , une surprise dans mon test
Le service utilisateur

mkdir -pv .config/systemd/user
systemctl --user stop Rsync-Connect.service && systemctl --user daemon-reload
cat >.config/systemd/user/Rsync-Connect.service<<EOF
[Unit]
Description=Connexion Utilisateur.
[Service]
Type=simple
ExecStart=echo  Connexion utilisateur abcdefg   $USER à \$(date) | sudo tee -a  /dev/kmsg
ExecStop=echo Deconnexion utilisateur abcdefg   $USER  à \$(date) | sudo tee -a  /dev/kmsg
[Install]
#With WantedBy=default.target the service will start when the user logs in, 
#or
#with WantedBy=graphical.target it will start when the user gets a graphical session.
#WantedBy=graphical.target
WantedBy=default.target
EOF
systemctl --user enable Rsync-Connect.service 

La première fois, j'avais mis graphical.target      avec ce retour

@a:~$ systemctl --user enable Rsync-Connect.service 
Created symlink /home/a/.config/systemd/user/graphical.target.wants/Rsync-Connect.service → /home/a/.config/systemd/user/Rsync-Connect.service.
Unit /home/a/.config/systemd/user/Rsync-Connect.service is added as a dependency to a non-existent unit graphical.target.

Le service

a@a:~/Bureau$ systemctl --user cat Rsync-Connect.service
# /home/a/.config/systemd/user/Rsync-Connect.service
[Unit]
Description=Connexion Utilisateur.
[Service]
Type=simple
ExecStart=echo  Connexion utilisateur abcdefg   a à $(date) | sudo tee -a  /dev/kmsg
ExecStop=echo Deconnexion utilisateur abcdefg   a  à $(date) | sudo tee -a  /dev/kmsg
[Install]
#With WantedBy=default.target the service will start when the user logs in, 
#or
#with WantedBy=graphical.target it will start when the user gets a graphical session.
#WantedBy=graphical.target
WantedBy=default.target
a@a:~/Bureau$ 

La commande echo exécutée  en session courante

a@a:~/Bureau$ echo Deconnexion utilisateur abcdefg   a  à $(date) | sudo tee -a  /dev/kmsg
[sudo] Mot de passe de a : 
Deconnexion utilisateur abcdefg a à lun. 29 janv. 2024 18:29:53 CET
a@a:~/Bureau$

et la même récupérée  après lancement par le service

a@a:~/Bureau$ journalctl -b --no-pager -g abcdefg 
janv. 29 13:02:02 a systemd[2872]: Rsync-Connect.service: About to execute echo Connexion utilisateur abcdefg a à "\$(date)" "|" sudo tee -a /dev/kmsg
janv. 29 13:02:02 a (echo)[15876]: Rsync-Connect.service: Executing: echo Connexion utilisateur abcdefg a à "|" sudo tee -a /dev/kmsg
janv. 29 13:02:02 a systemd[2872]: Rsync-Connect.service: About to execute echo Deconnexion utilisateur abcdefg a à "\$(date)" "|" sudo tee -a /dev/kmsg
janv. 29 13:02:02 a (echo)[15877]: Rsync-Connect.service: Executing: echo Deconnexion utilisateur abcdefg a à "|" sudo tee -a /dev/kmsg
janv. 29 13:49:54 a systemd[16645]: Rsync-Connect.service: About to execute echo Connexion utilisateur abcdefg a à "\$(date)" "|" sudo tee -a /dev/kmsg
janv. 29 13:49:54 a echo[16659]: Connexion utilisateur abcdefg a à | sudo tee -a /dev/kmsg
janv. 29 13:49:54 a (echo)[16659]: Rsync-Connect.service: Executing: echo Connexion utilisateur abcdefg a à "|" sudo tee -a /dev/kmsg
janv. 29 13:49:54 a systemd[16645]: Rsync-Connect.service: About to execute echo Deconnexion utilisateur abcdefg a à "\$(date)" "|" sudo tee -a /dev/kmsg
janv. 29 13:49:54 a (echo)[16671]: Rsync-Connect.service: Executing: echo Deconnexion utilisateur abcdefg a à "|" sudo tee -a /dev/kmsg
janv. 29 13:49:54 a echo[16671]: Deconnexion utilisateur abcdefg a à | sudo tee -a /dev/kmsg
janv. 29 14:14:57 a systemd[18501]: Rsync-Connect.service: About to execute echo Connexion utilisateur abcdefg b à "\$(date)" "|" sudo tee -a /dev/kmsg
janv. 29 14:14:57 a (echo)[20479]: Rsync-Connect.service: Executing: echo Connexion utilisateur abcdefg b à "|" sudo tee -a /dev/kmsg
janv. 29 14:14:57 a echo[20479]: Connexion utilisateur abcdefg b à | sudo tee -a /dev/kmsg
janv. 29 14:14:57 a systemd[18501]: Rsync-Connect.service: About to execute echo Deconnexion utilisateur abcdefg b à "\$(date)" "|" sudo tee -a /dev/kmsg
janv. 29 14:14:57 a (echo)[20480]: Rsync-Connect.service: Executing: echo Deconnexion utilisateur abcdefg b à "|" sudo tee -a /dev/kmsg
janv. 29 14:14:57 a echo[20480]: Deconnexion utilisateur abcdefg b à | sudo tee -a /dev/kmsg
janv. 29 14:20:56 a echo[22942]: Connexion utilisateur abcdefg a à | sudo tee -a /dev/kmsg
janv. 29 14:20:56 a systemd[22922]: Rsync-Connect.service: About to execute echo Connexion utilisateur abcdefg a à "\$(date)" "|" sudo tee -a /dev/kmsg
janv. 29 14:20:56 a (echo)[22942]: Rsync-Connect.service: Executing: echo Connexion utilisateur abcdefg a à "|" sudo tee -a /dev/kmsg
janv. 29 14:20:57 a systemd[22922]: Rsync-Connect.service: About to execute echo Deconnexion utilisateur abcdefg a à "\$(date)" "|" sudo tee -a /dev/kmsg
janv. 29 14:20:57 a (echo)[22971]: Rsync-Connect.service: Executing: echo Deconnexion utilisateur abcdefg a à "|" sudo tee -a /dev/kmsg
janv. 29 14:20:57 a echo[22971]: Deconnexion utilisateur abcdefg a à | sudo tee -a /dev/kmsg
janv. 29 14:22:35 a systemd[24684]: Rsync-Connect.service: About to execute echo Connexion utilisateur abcdefg a à "\$(date)" "|" sudo tee -a /dev/kmsg
janv. 29 14:22:35 a echo[24698]: Connexion utilisateur abcdefg a à | sudo tee -a /dev/kmsg
janv. 29 14:22:35 a (echo)[24698]: Rsync-Connect.service: Executing: echo Connexion utilisateur abcdefg a à "|" sudo tee -a /dev/kmsg
janv. 29 14:22:35 a systemd[24684]: Rsync-Connect.service: About to execute echo Deconnexion utilisateur abcdefg a à "\$(date)" "|" sudo tee -a /dev/kmsg
janv. 29 14:22:35 a (echo)[24714]: Rsync-Connect.service: Executing: echo Deconnexion utilisateur abcdefg a à "|" sudo tee -a /dev/kmsg
janv. 29 14:22:35 a echo[24714]: Deconnexion utilisateur abcdefg a à | sudo tee -a /dev/kmsg
janv. 29 14:24:59 a systemd[27199]: Rsync-Connect.service: About to execute echo Connexion utilisateur abcdefg b à "\$(date)" "|" sudo tee -a /dev/kmsg
janv. 29 14:24:59 a echo[27209]: Connexion utilisateur abcdefg b à | sudo tee -a /dev/kmsg
janv. 29 14:24:59 a (echo)[27209]: Rsync-Connect.service: Executing: echo Connexion utilisateur abcdefg b à "|" sudo tee -a /dev/kmsg
janv. 29 14:24:59 a echo[27224]: Deconnexion utilisateur abcdefg b à | sudo tee -a /dev/kmsg
janv. 29 14:24:59 a systemd[27199]: Rsync-Connect.service: About to execute echo Deconnexion utilisateur abcdefg b à "\$(date)" "|" sudo tee -a /dev/kmsg
janv. 29 14:24:59 a (echo)[27224]: Rsync-Connect.service: Executing: echo Deconnexion utilisateur abcdefg b à "|" sudo tee -a /dev/kmsg
janv. 29 14:26:32 a systemd[28813]: Rsync-Connect.service: About to execute echo Connexion utilisateur abcdefg a à "\$(date)" "|" sudo tee -a /dev/kmsg
janv. 29 14:26:32 a echo[28831]: Connexion utilisateur abcdefg a à | sudo tee -a /dev/kmsg
janv. 29 14:26:32 a (echo)[28831]: Rsync-Connect.service: Executing: echo Connexion utilisateur abcdefg a à "|" sudo tee -a /dev/kmsg
janv. 29 14:26:32 a echo[28846]: Deconnexion utilisateur abcdefg a à | sudo tee -a /dev/kmsg
janv. 29 14:26:32 a systemd[28813]: Rsync-Connect.service: About to execute echo Deconnexion utilisateur abcdefg a à "\$(date)" "|" sudo tee -a /dev/kmsg
janv. 29 14:26:32 a (echo)[28846]: Rsync-Connect.service: Executing: echo Deconnexion utilisateur abcdefg a à "|" sudo tee -a /dev/kmsg

janv. 29 12:52:58 a unknown: Connexion utilisateur abcdefg a à lun. 29 janv. 2024 12:52:50 CET

AJOUT Je viens de découvrir ces nouveaux paramètres

## man systemd.unit
ExecStart=echo  Connexion utilisateur abcdefg   %L  | sudo tee -a  /dev/kmsg
ExecStop=echo Deconnexion utilisateur abcdefg   %u  | sudo tee -a  /dev/kmsg

avec comme résultat

janv. 30 09:06:12 a systemd[10482]: Rsync-Connect.service: About to execute echo Connexion utilisateur abcdefg /home/a/.config/log "|" sudo tee -a /dev/kmsg
janv. 30 09:06:12 a echo[10496]: Connexion utilisateur abcdefg /home/a/.config/log | sudo tee -a /dev/kmsg
janv. 30 09:06:12 a (echo)[10496]: Rsync-Connect.service: Executing: echo Connexion utilisateur abcdefg /home/a/.config/log "|" sudo tee -a /dev/kmsg
janv. 30 09:06:12 a systemd[10482]: Rsync-Connect.service: About to execute echo Deconnexion utilisateur abcdefg a "|" sudo tee -a /dev/kmsg
janv. 30 09:06:12 a echo[10504]: Deconnexion utilisateur abcdefg a | sudo tee -a /dev/kmsg

Dernière modification par geole (Le 30/01/2024, à 10:12)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#6 Le 31/01/2024, à 17:23

geole

Re : Utilisation des services pour sauvegarder le contenu du home

Bonjour
Je suis tenté d'actualiser ce document   en évoquant les possibilités systemd

Dernière modification par geole (Le 31/01/2024, à 17:24)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#7 Le 31/01/2024, à 17:30

krodelabestiole

Re : Utilisation des services pour sauvegarder le contenu du home

bonne idée, mais fais gaffe à ce que tu documentes concerne bien rsync et pas systemd !

si tu veux expliquer une technique de sauvegarde ou autre activité spécifique, il vaut peut-être mieux créer un tutoriel.

Hors ligne

#8 Le 31/01/2024, à 17:34

krodelabestiole

Re : Utilisation des services pour sauvegarder le contenu du home

bon en fait il existe déjà ce tuto :
Sauvegarder "/home" avec rsync (j'avais d'ailleurs ajouté une note pour rsnapshot)
on trouve aussi ça : Sauvegarder "/home" avec Grsync
et ça : Comment sauvegarder son dossier utilisateur

donc clairement, mieux vaut éviter de créer une page supplémentaire !
mais ne modifie pas la page rsync spécifiquement pour ça stp...

de ce que je comprends le sujet c'est bien : Sauvegarder "/home" avec rsync, qu'il faudrait mettre à jour pour systemd.

Hors ligne

#9 Le 31/01/2024, à 18:33

geole

Re : Utilisation des services pour sauvegarder le contenu du home

krodelabestiole a écrit :

donc clairement, mieux vaut éviter de créer une page supplémentaire !
mais ne modifie pas la page rsync spécifiquement pour ça stp...

de ce que je comprends le sujet c'est bien : Sauvegarder "/home" avec rsync, qu'il faudrait mettre à jour pour systemd.

[J'ai vu que cette page référençait des scripts utilisateurs.)   

J'ai l'intention
   Immédiatement
      de mettre les timer     et l'arret machine        de systemd     cela semble de la mise a jour   et cela fait  plus de 15 jours que cela fonctionne pour mon essai
Juste une répétition avant de commencer
   Puis plus tard de documenter l'option backup de rsync

Nota. A travers le réseau    que je  ne documenterais pas (  sortie en RAID1 pour fiabilité) la durée d'exécution me semble acceptable pour   incorporer à  un arrêt ordinateur.

Number of files: 108.604 (reg: 100.794, dir: 7.809, link: 1)
Number of created files: 23 (reg: 23)
Number of deleted files: 0
Number of regular files transferred: 24
Total file size: 1,45T bytes
Total transferred file size: 1,77M bytes
Literal data: 1,77M bytes
Matched data: 0 bytes
File list size: 327,64K
File list generation time: 0,202 seconds
File list transfer time: 0,000 seconds
Total bytes sent: 4,48M
Total bytes received: 8,76K

sent 4,48M bytes  received 8,76K bytes  49,09K bytes/sec
total size is 1,45T  speedup is 322.042,78

real	1m30,211s
user	0m1,218s
sys	0m6,065s

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#10 Le 31/01/2024, à 18:39

geole

Re : Utilisation des services pour sauvegarder le contenu du home

krodelabestiole a écrit :

de ce que je comprends le sujet c'est bien : Sauvegarder "/home" avec rsync, qu'il faudrait mettre à jour pour systemd.

[J'ai vu que cette page référençait des scripts utilisateurs.)   

J'ai l'intention
   Immédiatement
      de mettre les timer     et l'arrêt machine        faits  par  systemd     cela semble de la mise a jour   et cela fait  plus de 15 jours que cela fonctionne pour mon essai
Juste une répétition avant de commencer  il y aura malgré tout une ligne pointant vers la documentation systemd
   Puis plus tard de documenter l'option backup de rsync étrangement oubliée.

Nota. A travers le réseau    que je  ne documenterais pas (  sortie en RAID1 pour fiabilité) la durée d'exécution me semble acceptable pour   incorporer à  un arrêt ordinateur.

Number of files: 108.604 (reg: 100.794, dir: 7.809, link: 1)
Number of created files: 23 (reg: 23)
Number of deleted files: 0
Number of regular files transferred: 24
Total file size: 1,45T bytes
Total transferred file size: 1,77M bytes
Literal data: 1,77M bytes
Matched data: 0 bytes
File list size: 327,64K
File list generation time: 0,202 seconds
File list transfer time: 0,000 seconds
Total bytes sent: 4,48M
Total bytes received: 8,76K

sent 4,48M bytes  received 8,76K bytes  49,09K bytes/sec
total size is 1,45T  speedup is 322.042,78

real	1m30,211s
user	0m1,218s
sys	0m6,065s

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#11 Le 13/02/2024, à 19:03

geole

Re : Utilisation des services pour sauvegarder le contenu du home

Bonjour
Je suis en train de buter sur le problème classique du   traitement des répertoires contenant des espaces.
Il y a quelque chose de pas net...   Merci pour vos avis.

1)  Ce que je prévois donne des erreurs et le transfert n'est pas fait. Aucun  fichier de trouvé. Voici le cas:

root@p:~# A0='"'
A1="/home/a/Mon Bureau"
A=$(echo $A0$A1$A0); echo $A
rsync -a  --stats $A/ /media/Savhome$A
"/home/a/Mon Bureau"
rsync: [sender] change_dir "/root/"/home/a" failed: No such file or directory (2)
rsync: [sender] change_dir "/root/Bureau"" failed: No such file or directory (2)
rsync: [sender] change_dir "/media/Savhome"/home/a" failed: No such file or directory (2)

Number of files: 0
Number of created files: 0
Number of deleted files: 0
Number of regular files transferred: 0
Total file size: 0 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 0
File list generation time: 0,001 seconds
File list transfer time: 0,000 seconds
Total bytes sent: 19
Total bytes received: 12

sent 19 bytes  received 12 bytes  62,00 bytes/sec
total size is 0  speedup is 0,00
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1338) [sender=3.2.7]
root@p:~# 

2) Pourtant j'ai l'impression de ne pas  avoir trop mal codé car pas d'erreurs et les fichiers sont  trouvés.

root@p:~# echo rsync -a  --stats $A/ /media/Savhome$A
rsync -a --stats "/home/a/Mon Bureau"/ /media/Savhome"/home/a/Mon Bureau"
root@p:~# rsync -a --stats "/home/a/Mon Bureau"/ /media/Savhome"/home/a/Mon Bureau"

Number of files: 2 (reg: 1, dir: 1)
Number of created files: 0
Number of deleted files: 0
Number of regular files transferred: 0
Total file size: 3 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 0
File list generation time: 0,001 seconds
File list transfer time: 0,000 seconds
Total bytes sent: 68
Total bytes received: 12

sent 68 bytes  received 12 bytes  160,00 bytes/sec
total size is 3  speedup is 0,04
root@p:~# 

3) Mon contournement

root@p:~# echo  rsync -a  --stats "$A/" "/media/Savhome$A" >EXEC
chmod +x EXEC
./EXEC

Number of files: 2 (reg: 1, dir: 1)
Number of created files: 0
Number of deleted files: 0
Number of regular files transferred: 0
Total file size: 3 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 0
File list generation time: 0,001 seconds
File list transfer time: 0,000 seconds
Total bytes sent: 68
Total bytes received: 12

sent 68 bytes  received 12 bytes  160,00 bytes/sec
total size is 3  speedup is 0,04
root@p:~# 

Dernière modification par geole (Le 13/02/2024, à 19:07)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#12 Le 13/02/2024, à 20:08

iznobe

Re : Utilisation des services pour sauvegarder le contenu du home

Bonjour , logiquement , dans les scripts , si je ne dis pas de betises , il faut encadrer les chemins avec des " ' " , pas avec des " " " .


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#13 Le 13/02/2024, à 20:52

geole

Re : Utilisation des services pour sauvegarder le contenu du home

Merci pour ta réponse rapide.
C'est bien ce que je croyais, mais cela semble ne pas fonctionner en variables

root@p:~# A="'/home/a/Mon Bureau'"
ls -ls $A

ls: impossible d'accéder à "'/home/a/Mon": Aucun fichier ou dossier de ce type
ls: impossible d'accéder à "Bureau'": Aucun fichier ou dossier de ce type
root@p:~# 

root@p:~# ls -ls '/home/a/Mon Bureau'
total 4
4 -rw-r--r-- 1 root root 3 févr. 13 15:35 OK
root@p:~#


root@p:~# echo $A
'/home/a/Mon Bureau'
root@p:~#  

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#14 Le 13/02/2024, à 22:25

iznobe

Re : Utilisation des services pour sauvegarder le contenu du home

tu peux facilement contourner en utilisant un echo :

iznobe@iznobe-PC:~$ A=echo "/home/a/Mon Bureau"
bash: /home/a/Mon Bureau: Aucun fichier ou dossier de ce type
iznobe@iznobe-PC:~$

Dernière modification par iznobe (Le 14/02/2024, à 09:50)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#15 Le 13/02/2024, à 23:35

geole

Re : Utilisation des services pour sauvegarder le contenu du home

Désolé, Je n'ai pas compris la commande que tu proposes.


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#16 Le 14/02/2024, à 09:43

iznobe

Re : Utilisation des services pour sauvegarder le contenu du home

je propose de simplement remplacer

A="'/home/a/Mon Bureau'"

par

A=echo "/home/a/Mon Bureau"

avec le echo en plus , la variable " A " devient correcte et sera dans pour ce cas-ci : /home/a/Mon Bureau .
Chez moi cela renvoie une erreur , normal , je n' ai pas de dossier Mon Bureau pour un utilisateur a , mais chez toi , ca fonctionnera .
on voit que il ne considere plus 2 dossiers distincts , comme dans ton test precedent mais bel et bien un seul dossier avec un espace dans le nom : /home/a/Mon Bureau

EDIT : bon j ' ai creeer un dossier pour l ' occasion , et voici :

iznobe@iznobe-PC:~$ A=echo "/home/iznobe/Mon Bureau"
bash: /home/iznobe/Mon Bureau : est un dossier
iznobe@iznobe-PC:~$ 

mais ca ne fonctionne toujours pas en fait mad

EDIT 2 : voici ce qui fonctionne chez moi :

iznobe@iznobe-PC:~$ A="/home/$USER/Mon Bureau"
iznobe@iznobe-PC:~$ ls -la "$A"
total 8
drwxrwxr-x  2 iznobe iznobe 4096 févr. 14 08:48 .
drwxr-xr-x 50 iznobe iznobe 4096 févr. 14 08:48 ..
iznobe@iznobe-PC:~$ echo $A
/home/iznobe/Mon Bureau
iznobe@iznobe-PC:~$ echo "$A"
/home/iznobe/Mon Bureau
iznobe@iznobe-PC:~$

Dernière modification par iznobe (Le 14/02/2024, à 09:59)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#17 Le 14/02/2024, à 14:42

soshy

Re : Utilisation des services pour sauvegarder le contenu du home

Concrètement c'est quoi le problème ?

A="/home/a/Mon Bureau"
rsync -a  --stats "$A/" "/media/Savhome$A"

N'est-ce pas suffisant ?


geole a écrit :

logiquement , dans les scripts , si je ne dis pas de betises , il faut encadrer les chemins avec des " ' " , pas avec des " " " .

Non. " et ' ont 2 comportements différents. Dans un cas on a l'expansion de paramètres et pas dans l'autre.
Essaye ça, tu verra bien que ça donne pas la même chose

echo "Je suis $USER"
echo 'Je suis $USER'

De plus, il y a un truc qui s'appelle l'IFS (Internal Field Separator) qui découpe ce que tu écris en "morceaux". Et par défaut la découpe se fait sur espace/tab/nouvelle ligne.
Donc lorsque tu écris

echo Je suis toto

ça découpe tout ça et on passe 3 paramètres à echo
Si tu écris

echo "Je suis toto"

On empèche la découpe, et on ne passe à echo qu'un seul paramètre.

Et si on combine les deux ça devient le foutoire

une_variable="Une variable texte avec espace"
echo affiche ma var $une_variable

ça devient

echo affiche ma var Une variable texte avec espace

On a passé à echo 8 paramètres différents

Alors que

echo affiche ma var "$une_variable"

devient

echo affiche ma var "Une variable texte avec espace"

On a passé à echo 4 paramètres différents

On peut aussi

echo "affiche ma var $une_variable"

Qui devient

echo "affiche ma var Une variable texte avec espace"

On a passé à echo 1 seul paramètre

Et si on s'amuse avec des simples quotes, on a

echo affiche ma var '$une_variable'

Qui reste

echo affiche ma var '$une_variable'

On a passé à echo 4 paramètres différents dont un qui est le texte $une_variable et non son contenu.

et

echo 'affiche ma var $une_variable'

Qui reste

echo 'affiche ma var $une_variable'

On a passé à echo 1 seul paramètre, la chaine de caractère complète telle qu'elle est, sans remplacement de la variable.

Hors ligne

#18 Le 14/02/2024, à 14:48

iznobe

Re : Utilisation des services pour sauvegarder le contenu du home

merci our ces explications .

le problème etait là :

ls -ls $A

il faut encadrer la variable A de " pour que ca fonctionne correctement :

ls -ls "$A"

ou

echo "$A"

ce qui est " trompeur " , c ' est que :

echo $A

donne le même résultat qu ' avec les " , du coup souvent on oublie de mettre les " , comme l' a fait @geole dans son script . voir le #11 pour plus de détails .

Dernière modification par iznobe (Le 14/02/2024, à 14:52)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#19 Le 14/02/2024, à 17:07

Coeur Noir

Re : Utilisation des services pour sauvegarder le contenu du home

[ HS ]
Est-ce qu'on peut résumer comme ça ?

$HOME/'un emplacement'/sous-dossier/	→ guillemets simples autour de l'élément non-variable contenant espace(s)

=

"$HOME/un emplacement/sous-dossier/"	→ guillemets doubles encadrant l'intégralité du chemin à partir du moment où un de ses éléments ( variable ou non-variable ) contient espace(s)

Puisqu'on ne sait pas à l'avance si une variable contiendra espace(s), on la met forcément entre guillemets doubles.
De ce fait, à partir du moment où il y a une variable dans un chemin, c'est tout le chemin qu'on encadre de guillemets doubles.
[ /HS ]

Dernière modification par Coeur Noir (Le 14/02/2024, à 17:25)


DébuterDocBien rédigerRetour commandeInsérer image | illustrations & captures d'écran <>

Hors ligne

#20 Le 14/02/2024, à 17:32

Astrolivier

Re : Utilisation des services pour sauvegarder le contenu du home

@Coeur Noir

$ echo "/chemin/vers/un emplacement/sous-dossier/"
/chemin/vers/un emplacement/sous-dossier/
$ echo '/chemin/vers/un emplacement/sous-dossier/'
/chemin/vers/un emplacement/sous-dossier/

s'il n'y a pas de variable ça ne change rien, tu mets les doubles quand tu veux changer ta variable (expansion)


S'il faut absolument faire des sacrifices pour assurer le progrès de l'humanité, ne serait-il pas indispensable de s'en tenir au principe selon lequel c'est à ceux dont on exige le sacrifice que la décision doit revenir en dernier ressort ? (howard zinn)

Hors ligne

#21 Le 14/02/2024, à 18:49

soshy

Re : Utilisation des services pour sauvegarder le contenu du home

@Coeur Noir : Oui tu peux.
Après tu peux aussi simplifier en :
Toujours encadrer avec ". Ca gère les espaces et ça protège lors de l'expansion des variables. L'utilisation de ' est exceptionnelle, réservée à des cas particuliers
- on ne veut pas l'expansion de variables
- on veut encadrer du texte dans lequel on a des ", par exemple du json : '{ "key": "value" }'
- on veut volontairement faire une boucle for sur chaque élément d'une variable dont chaque élément est séparé par un espace
- D'autres cas à la marge qui ne me viennent pas en tête.

Hors ligne

#22 Le 15/02/2024, à 17:34

Coeur Noir

Re : Utilisation des services pour sauvegarder le contenu du home

@Astrolivier j'ai modifié l'exemple entre-temps.

django@ASGARD:~$ echo $HOME/'un emplacement'/sous-dossier
/home/django/un emplacement/sous-dossier
django@ASGARD:~$ echo '$HOME/'un emplacement'/sous-dossier'
$HOME/un emplacement/sous-dossier
django@ASGARD:~$ echo '$HOME/un emplacement/sous-dossier'
$HOME/un emplacement/sous-dossier

Dernière modification par Coeur Noir (Le 15/02/2024, à 17:35)


DébuterDocBien rédigerRetour commandeInsérer image | illustrations & captures d'écran <>

Hors ligne

#23 Le 15/02/2024, à 19:23

Astrolivier

Re : Utilisation des services pour sauvegarder le contenu du home

mets ça au début de ton script

exec 5> debug_output.txt
BASH_XTRACEFD="5"
PS4='$LINENO: '
set -x

tu auras un joli fichier debug dans ton répertoire qui t'aidera en te montrant chaque étape


edit :
je vous jure que y'avait un long message de geole juste au dessus lol

@Coeur Noir : soshy a été plus que clair, et moi je débute alors rien à rajouter

Dernière modification par Astrolivier (Le 15/02/2024, à 19:27)


S'il faut absolument faire des sacrifices pour assurer le progrès de l'humanité, ne serait-il pas indispensable de s'en tenir au principe selon lequel c'est à ceux dont on exige le sacrifice que la décision doit revenir en dernier ressort ? (howard zinn)

Hors ligne

#24 Le 15/02/2024, à 20:55

geole

Re : Utilisation des services pour sauvegarder le contenu du home

Bonjour
J ai enfin trouvé.
Je focalisais sur les quotes du répertoire d émission, Mais c était le répertoire de bakup qui  ne les avaient pas et provoquait le message d erreur

rsync: [sender] link_stat "/home/a/repertoire"" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1338) [sender=3.2.7]

J ai  du faire du pas à pas en ajoutant les options ..

root@p:~# Sortie=/media/Savhome
Suppression=/media/Savhome
RSYNC="rsync -ab  --suffix=".OLD$(date +"-%y%m%d")" --stats --delete  "
Dir="/home/a/Mon repertoire"
BK=$Suppression"$Dir" ; 
       echo essai >"$Dir/Mon Fichier1$(date +"-%Y-%m-%d-%H-%M-%S")"
        echo    $RSYNC --backup-dir=$BK --exclude-from=/home/a/Filtre.txt    '"'$Dir/'"'  '"'$Sortie$Dir'"'  >ERR   
        echo essai >"$Dir/Mon Fichier1$(date +"-%Y-%m-%d-%H-%M-%S")" ; sleep 1
        rsync   -a  --stats         "$Dir/"      "$Sortie$Dir"   1>T; grep "created files" T
        echo essai >"$Dir/Mon Fichier1$(date +"-%Y-%m-%d-%H-%M-%S")" ; sleep 1
        rsync   -ab  --suffix=".OLD$(date +"-%y%m%d")"  --stats         "$Dir/"      "$Sortie$Dir"   1>T; grep "created files" T
        echo essai >"$Dir/Mon Fichier1$(date +"-%Y-%m-%d-%H-%M-%S")" ; sleep 1
        rsync   -ab  --suffix=".OLD$(date +"-%y%m%d")"  --stats   --delete      "$Dir/"      "$Sortie$Dir"   1>T; grep "created files" T
        echo essai >"$Dir/Mon Fichier1$(date +"-%Y-%m-%d-%H-%M-%S")" ; sleep 1
        rsync   -ab  --suffix=".OLD$(date +"-%y%m%d")" --backup-dir="$BK"  --stats   --delete      "$Dir/"      "$Sortie$Dir"   1>T; grep "created files" T        
        echo essai >"$Dir/Mon Fichier1$(date +"-%Y-%m-%d-%H-%M-%S")"
Number of created files: 1 (reg: 1)
Number of created files: 1 (reg: 1)
Number of created files: 1 (reg: 1)
Number of created files: 1 (reg: 1)

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#25 Le 15/02/2024, à 21:03

iznobe

Re : Utilisation des services pour sauvegarder le contenu du home

perso , j ' ai pris pour habitude de faire comme dans les scripts des pros , genre :

$HOME_DIR="chemin home"
$BACKUP_DIR=" chemin de sauvegarde"
etc ..

et j ' encadre systématiquement tous les chemins et toutes les variables , bon je ne fais pas des scripts tous les jours après et il ya peut etre mieux , mais pour le coup ca fonctionne plutot pas mal .

Dernière modification par iznobe (Le 15/02/2024, à 21:04)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne