Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"toolbox reset" nukes files that don't belong to it #648

Closed
hadess opened this issue Dec 10, 2020 · 3 comments
Closed

"toolbox reset" nukes files that don't belong to it #648

hadess opened this issue Dec 10, 2020 · 3 comments
Labels
1. Bug Something isn't working

Comments

@hadess
Copy link

hadess commented Dec 10, 2020

It's probably a bug in podman, but running toolbox reset just nuked a whole bunch of files that didn't belong to it under /run/user/1000 including the session D-Bus socket. Here's me really hoping that it didn't nuke any other files that might have been linked from there.

@hadess hadess added the 1. Bug Something isn't working label Dec 10, 2020
@hadess
Copy link
Author

hadess commented Dec 10, 2020

Just in case there was any doubt.

$ find /run/user/1000/
/run/user/1000/
/run/user/1000/gnupg
/run/user/1000/gnome-shell-disable-extensions
/run/user/1000/gnome-shell
/run/user/1000/gnome-shell/runtime-state-LE.:0
/run/user/1000/wayland-0
/run/user/1000/wayland-0.lock
/run/user/1000/.mutter-Xwaylandauth.XN0MV0
/run/user/1000/ICEauthority
/run/user/1000/gnome-session-leader-fifo
/run/user/1000/dconf
/run/user/1000/dconf/user
/run/user/1000/gvfs
/run/user/1000/keyring
/run/user/1000/keyring/ssh
/run/user/1000/keyring/pkcs11
/run/user/1000/keyring/control
/run/user/1000/pulse
/run/user/1000/pulse/pid
/run/user/1000/pulse/native
/run/user/1000/pipewire-0
/run/user/1000/bus
/run/user/1000/systemd
/run/user/1000/systemd/transient
/run/user/1000/systemd/transient/vte-spawn-8f341ea3-9205-4427-aeeb-6b4093fdb785.scope
/run/user/1000/systemd/transient/dbus-:1.2-org.gnome.Calendar@0.service
/run/user/1000/systemd/transient/dbus-:1.2-org.gnome.Characters.BackgroundService@0.service
/run/user/1000/systemd/transient/dbus-:1.2-org.gnome.Calculator.SearchProvider@0.service
/run/user/1000/systemd/transient/dbus-:1.2-org.gnome.ControlCenter.SearchProvider@0.service
/run/user/1000/systemd/transient/dbus-:1.2-org.freedesktop.portal.IBus@1.service
/run/user/1000/systemd/transient/app-gnome-gnome\x2dsoftware\x2dservice-2095.scope
/run/user/1000/systemd/transient/app-gnome-org.gnome.Evolution\x2dalarm\x2dnotify-2080.scope
/run/user/1000/systemd/transient/app-gnome-org.gnome.SettingsDaemon.DiskUtilityNotify-2060.scope
/run/user/1000/systemd/transient/app-gnome-solaar-2039.scope
/run/user/1000/systemd/transient/dbus-:1.2-org.freedesktop.problems.applet@0.service
/run/user/1000/systemd/transient/dbus-:1.23-org.a11y.atspi.Registry@0.service
/run/user/1000/systemd/transient/dbus-:1.2-org.gnome.Shell.Notifications@0.service
/run/user/1000/systemd/transient/dbus-:1.2-org.gnome.Identity@0.service
/run/user/1000/systemd/transient/dbus-:1.2-ca.desrt.dconf@0.service
/run/user/1000/systemd/transient/dbus-:1.2-org.gnome.OnlineAccounts@0.service
/run/user/1000/systemd/transient/dbus-:1.2-org.gnome.Shell.CalendarServer@0.service
/run/user/1000/systemd/transient/app-gnome-gsettings\x2ddata\x2dconvert-1728.scope
/run/user/1000/systemd/private
/run/user/1000/systemd/notify
/run/user/1000/systemd/generator.late
/run/user/1000/systemd/generator.late/app-geoclue\x2ddemo\x2dagent-autostart.service
/run/user/1000/systemd/generator.late/app-user\x2ddirs\x2dupdate\x2dgtk-autostart.service
/run/user/1000/systemd/generator.late/app-gnome\x2dshell\x2doverrides\x2dmigration-autostart.service
/run/user/1000/systemd/generator.late/app-gnome\x2dsoftware\x2dservice-autostart.service
/run/user/1000/systemd/generator.late/app-orca\x2dautostart-autostart.service
/run/user/1000/systemd/generator.late/app-solaar-autostart.service
/run/user/1000/systemd/generator.late/app-gnome\x2dwelcome\x2dtour-autostart.service
/run/user/1000/systemd/generator.late/app-tracker\x2dminer\x2dfs\x2d3-autostart.service
/run/user/1000/systemd/generator.late/app-gnome\x2dinitial\x2dsetup\x2dfirst\x2dlogin-autostart.service
/run/user/1000/systemd/generator.late/app-tracker\x2dminer\x2drss\x2d3-autostart.service
/run/user/1000/systemd/generator.late/app-org.freedesktop.problems.applet-autostart.service
/run/user/1000/systemd/generator.late/app-vboxclient-autostart.service
/run/user/1000/systemd/generator.late/app-vmware\x2duser-autostart.service
/run/user/1000/systemd/generator.late/app-org.gnome.SettingsDaemon.DiskUtilityNotify-autostart.service
/run/user/1000/systemd/generator.late/app-nm\x2dapplet-autostart.service
/run/user/1000/systemd/generator.late/xdg-desktop-autostart.target.wants
/run/user/1000/systemd/generator.late/xdg-desktop-autostart.target.wants/app-geoclue\x2ddemo\x2dagent-autostart.service
/run/user/1000/systemd/generator.late/xdg-desktop-autostart.target.wants/app-user\x2ddirs\x2dupdate\x2dgtk-autostart.service
/run/user/1000/systemd/generator.late/xdg-desktop-autostart.target.wants/app-gnome\x2dshell\x2doverrides\x2dmigration-autostart.service
/run/user/1000/systemd/generator.late/xdg-desktop-autostart.target.wants/app-gnome\x2dsoftware\x2dservice-autostart.service
/run/user/1000/systemd/generator.late/xdg-desktop-autostart.target.wants/app-solaar-autostart.service
/run/user/1000/systemd/generator.late/xdg-desktop-autostart.target.wants/app-tracker\x2dminer\x2dfs\x2d3-autostart.service
/run/user/1000/systemd/generator.late/xdg-desktop-autostart.target.wants/app-tracker\x2dminer\x2drss\x2d3-autostart.service
/run/user/1000/systemd/generator.late/xdg-desktop-autostart.target.wants/app-org.freedesktop.problems.applet-autostart.service
/run/user/1000/systemd/generator.late/xdg-desktop-autostart.target.wants/app-vboxclient-autostart.service
/run/user/1000/systemd/generator.late/xdg-desktop-autostart.target.wants/app-vmware\x2duser-autostart.service
/run/user/1000/systemd/generator.late/xdg-desktop-autostart.target.wants/app-org.gnome.SettingsDaemon.DiskUtilityNotify-autostart.service
/run/user/1000/systemd/generator.late/xdg-desktop-autostart.target.wants/app-nm\x2dapplet-autostart.service
/run/user/1000/systemd/generator.late/xdg-desktop-autostart.target.wants/app-org.gnome.Evolution\x2dalarm\x2dnotify-autostart.service
/run/user/1000/systemd/generator.late/app-org.gnome.Evolution\x2dalarm\x2dnotify-autostart.service
/run/user/1000/systemd/units
/run/user/1000/systemd/units/invocation:vte-spawn-8f341ea3-9205-4427-aeeb-6b4093fdb785.scope
/run/user/1000/systemd/units/invocation:gnome-terminal-server.service
/run/user/1000/systemd/units/invocation:dbus-:1.2-org.gnome.ControlCenter.SearchProvider@0.service
/run/user/1000/systemd/units/invocation:dbus-:1.2-org.gnome.Characters.BackgroundService@0.service
/run/user/1000/systemd/units/invocation:dbus-:1.2-org.gnome.Calendar@0.service
/run/user/1000/systemd/units/invocation:dbus-:1.2-org.gnome.Calculator.SearchProvider@0.service
/run/user/1000/systemd/units/invocation:evolution-addressbook-factory.service
/run/user/1000/systemd/units/invocation:dbus-:1.2-org.freedesktop.portal.IBus@1.service
/run/user/1000/systemd/units/invocation:org.gnome.SettingsDaemon.XSettings.service
/run/user/1000/systemd/units/invocation:app-gnome-solaar-2039.scope
/run/user/1000/systemd/units/invocation:app-gnome-org.gnome.SettingsDaemon.DiskUtilityNotify-2060.scope
/run/user/1000/systemd/units/invocation:app-gnome-org.gnome.Evolution\x2dalarm\x2dnotify-2080.scope
/run/user/1000/systemd/units/invocation:app-gnome-gnome\x2dsoftware\x2dservice-2095.scope
/run/user/1000/systemd/units/invocation:dbus-:1.2-org.freedesktop.problems.applet@0.service
/run/user/1000/systemd/units/invocation:org.gnome.SettingsDaemon.Wacom.service
/run/user/1000/systemd/units/invocation:org.gnome.SettingsDaemon.UsbProtection.service
/run/user/1000/systemd/units/invocation:org.gnome.SettingsDaemon.Sound.service
/run/user/1000/systemd/units/invocation:org.gnome.SettingsDaemon.Smartcard.service
/run/user/1000/systemd/units/invocation:org.gnome.SettingsDaemon.Sharing.service
/run/user/1000/systemd/units/invocation:org.gnome.SettingsDaemon.ScreensaverProxy.service
/run/user/1000/systemd/units/invocation:org.gnome.SettingsDaemon.Rfkill.service
/run/user/1000/systemd/units/invocation:org.gnome.SettingsDaemon.PrintNotifications.service
/run/user/1000/systemd/units/invocation:org.gnome.SettingsDaemon.Power.service
/run/user/1000/systemd/units/invocation:org.gnome.SettingsDaemon.MediaKeys.service
/run/user/1000/systemd/units/invocation:org.gnome.SettingsDaemon.Keyboard.service
/run/user/1000/systemd/units/invocation:org.gnome.SettingsDaemon.Housekeeping.service
/run/user/1000/systemd/units/invocation:org.gnome.SettingsDaemon.Datetime.service
/run/user/1000/systemd/units/invocation:org.gnome.SettingsDaemon.Color.service
/run/user/1000/systemd/units/invocation:org.gnome.SettingsDaemon.A11ySettings.service
/run/user/1000/systemd/units/invocation:dbus-:1.23-org.a11y.atspi.Registry@0.service
/run/user/1000/systemd/units/invocation:dbus-:1.2-org.gnome.Shell.Notifications@0.service
/run/user/1000/systemd/units/invocation:gvfs-gphoto2-volume-monitor.service
/run/user/1000/systemd/units/invocation:dbus-:1.2-org.gnome.Identity@0.service
/run/user/1000/systemd/units/invocation:evolution-calendar-factory.service
/run/user/1000/systemd/units/invocation:gvfs-goa-volume-monitor.service
/run/user/1000/systemd/units/invocation:gvfs-mtp-volume-monitor.service
/run/user/1000/systemd/units/invocation:gvfs-afc-volume-monitor.service
/run/user/1000/systemd/units/invocation:gvfs-metadata.service
/run/user/1000/systemd/units/invocation:gvfs-udisks2-volume-monitor.service
/run/user/1000/systemd/units/invocation:dbus-:1.2-ca.desrt.dconf@0.service
/run/user/1000/systemd/units/invocation:dbus-:1.2-org.gnome.OnlineAccounts@0.service
/run/user/1000/systemd/units/invocation:evolution-source-registry.service
/run/user/1000/systemd/units/invocation:dbus-:1.2-org.gnome.Shell.CalendarServer@0.service
/run/user/1000/systemd/units/invocation:xdg-permission-store.service
/run/user/1000/systemd/units/invocation:at-spi-dbus-bus.service
/run/user/1000/systemd/units/invocation:app-gnome-gsettings\x2ddata\x2dconvert-1728.scope
/run/user/1000/systemd/units/invocation:org.gnome.Shell@wayland.service
/run/user/1000/systemd/units/invocation:gnome-session-manager@gnome.service
/run/user/1000/systemd/units/invocation:gnome-session-monitor.service
/run/user/1000/systemd/units/invocation:gvfs-daemon.service
/run/user/1000/systemd/units/invocation:dbus-broker.service
/run/user/1000/systemd/units/invocation:pulseaudio.service
/run/user/1000/systemd/units/invocation:dbus.socket
/run/user/1000/systemd/inaccessible
/run/user/1000/systemd/inaccessible/chr
/run/user/1000/systemd/inaccessible/sock
/run/user/1000/systemd/inaccessible/fifo
/run/user/1000/systemd/inaccessible/dir
find: ‘/run/user/1000/systemd/inaccessible/dir’: Permission denied
/run/user/1000/systemd/inaccessible/reg
$ toolbox reset
'toolbox reset' is deprecated in favor of 'podman system reset'.
WARN[0000] Found deprecated file /home/hadess/.config/containers/libpod.conf, please remove. Use /home/hadess/.config/containers/containers.conf to override defaults. 
WARN[0000] Ignoring libpod.conf EventsLogger setting "journald". Use "/home/hadess/.config/containers/containers.conf" if you want to change this setting and remove libpod.conf files. 
WARN[0000] Found deprecated file /home/hadess/.config/containers/libpod.conf, please remove. Use /home/hadess/.config/containers/containers.conf to override defaults. 
WARN[0000] Ignoring libpod.conf EventsLogger setting "journald". Use "/home/hadess/.config/containers/containers.conf" if you want to change this setting and remove libpod.conf files. 
WARN[0000] Found deprecated file /home/hadess/.config/containers/libpod.conf, please remove. Use /home/hadess/.config/containers/containers.conf to override defaults. 
WARN[0000] Ignoring libpod.conf EventsLogger setting "journald". Use "/home/hadess/.config/containers/containers.conf" if you want to change this setting and remove libpod.conf files. 
WARN[0000] Found deprecated file /home/hadess/.config/containers/libpod.conf, please remove. Use /home/hadess/.config/containers/containers.conf to override defaults. 
WARN[0000] Ignoring libpod.conf EventsLogger setting "journald". Use "/home/hadess/.config/containers/containers.conf" if you want to change this setting and remove libpod.conf files. 

WARNING! This will remove:
        - all containers
        - all pods
        - all images
        - all build cache
Are you sure you want to continue? [y/N] y
A storage.conf file exists at /home/hadess/.config/containers/storage.conf
You should remove this file if you did not modified the configuration.
unlinkat /run/user/1000/gvfs: device or resource busy
$ find /run/user/1000/
/run/user/1000/
/run/user/1000/gvfs
$ cat /home/hadess/.config/containers/libpod.conf
volume_path = "/home/hadess/.local/share/containers/storage/volumes"
image_default_transport = "docker://"
runtime = "crun"
runtime_supports_json = ["crun", "runc"]
runtime_supports_nocgroups = ["crun"]
conmon_path = ["/usr/libexec/podman/conmon", "/usr/local/libexec/podman/conmon", "/usr/local/lib/podman/conmon", "/usr/bin/conmon", "/usr/sbin/conmon", "/usr/local/bin/conmon", "/usr/local/sbin/conmon", "/run/current-system/sw/bin/conmon"]
conmon_env_vars = ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"]
cgroup_manager = "systemd"
init_path = ""
static_dir = "/home/hadess/.local/share/containers/storage/libpod"
tmp_dir = "/run/user/1000/libpod/tmp"
max_log_size = -1
no_pivot_root = false
cni_config_dir = "/etc/cni/net.d/"
cni_plugin_dir = ["/usr/libexec/cni", "/usr/lib/cni", "/usr/local/lib/cni", "/opt/cni/bin"]
infra_image = "k8s.gcr.io/pause:3.1"
infra_command = "/pause"
enable_port_reservation = true
label = true
network_cmd_path = ""
num_locks = 2048
lock_type = "shm"
events_logger = "journald"
events_logfile_path = ""
detach_keys = "ctrl-p,ctrl-q"
SDNotify = false
cgroup_check = true

[runtimes]
  crun = ["/usr/bin/crun", "/usr/local/bin/crun"]
  runc = ["/usr/bin/runc", "/usr/sbin/runc", "/usr/local/bin/runc", "/usr/local/sbin/runc", "/sbin/runc", "/bin/runc", "/usr/lib/cri-o-runc/sbin/runc", "/run/current-system/sw/bin/runc"]

@hadess
Copy link
Author

hadess commented Dec 10, 2020

Removing the libpod.conf which I never created myself results in the same problem.

@hadess
Copy link
Author

hadess commented Dec 10, 2020

Moved to containers/podman#8680

@hadess hadess closed this as completed Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant