[snap] How to remove folders on cgroup/devices/ | /run/user/1001 | /sys/kernel/slab/...../cgroup/

Asked by නොදන්නා

Ago i installed https://snapcraft.io/barrier
https://github.com/debauchee/barrier

Uninstalled it using sudo snap remove --purge barrier (snapshot has disabled on that system)

But there're several folders in these locations. i can't remove them using root sudo rm -R foldername (i tried with sudo -i) but can't
How to erase that folders?

/sys/fs/cgroup/devices/snap.barrier.barrier
/sys/fs/cgroup/freezer/snap.barrier
/run/user/1001/doc/by-app/snap.barrier
/sys/kernel/slab/dentry/cgroup/dentry(407:snap-barrier-384.mount)

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-software Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Isn't /sys in tempfs?
Just reboot. It's held in RAM if it is in tempfs

Revision history for this message
නොදන්නා (aunknown) said :
#2

"Isn't /sys in tempfs?"
In exact path folders in disks as mentioned above

those disappeared after reboot but is there way to remove such locations files without reboot?

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

For diagnostic purposes the following commands would perhaps have been helpful, but if the problem has been resolved, they will not tell anything usafull any more

ls -l /sys/fs/cgroup/devices/snap*
file /sys/fs/cgroup/devices/snap.barrier.barrier
sudo lsof /sys/fs/cgroup/devices/snap.barrier.barrier
ps ax | grep barrier
snap list barrier
apt-cache policy barrier

Can you help with this problem?

Provide an answer of your own, or ask නොදන්නා for more information if necessary.

To post a message you must log in.