github.com/deckhouse/deckhouse v0.0.0-20260628142627-3035737d37f9
chattr -R -i recursively clears immutabilityEchoes colon-separated shell variable pair
SHA-25617a8526586ef3aacd139da7a3b4163ba2540a9ef1e3ce5226aab5a23d8568251
URLhttps://proxy.golang.org/github.com/deckhouse/deckhouse/@v/v0.0.0-20260628142627-3035737d37f9.zip
MaleculeH₆(Cm₄DbFHfOs₂Po₂)Md₃(BkPa)
Evidence
1# Copyright 2023 Flant JSC
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "A …
23:48… ode.sh"
24
25PATHS_TO_REMOVE=(
26 /var/cache/registrypackages
27 /etc/kubernetes
28 /var/lib/kubelet
29 /var/lib/containerd
30 /etc/cni
⋯5 lines
36 /opt/deckhouse
37 /var/lib/deckhouse
38 /var/log/kube-audit
39 /var/log/pods
40 /var/log/containers
41 /var/log/containerd
42 /etc/logrotate.d/containerd-integrity.conf
43 /var/lib/upmeter
44 /etc/sudoers.d/sudoers_flant_kubectl
45 /etc/sudoers.d/30-deckhouse-nodeadmins
46 /home/deckhouse
⋯6 lines
61:22… e-logger-logrotate.timer
62 kubelet.service
63)
64
65SYSTEMD_FILES=(
66 /etc/systemd/system/bashible.*
67 /etc/systemd/system/sysctl-tuner.*
68 /etc/systemd/system/old-csi-mount-cleaner.*
69 /etc/systemd/system/d8-c …
69:38… group-migration.*
70 /etc/systemd/system/containerd-deckhouse*
71 /lib/systemd/system/containerd-deckhouse*
72 /etc/systemd/system/d8-shutdown-inhibitor*
73 /lib/systemd/system/d8-shutdown-inhibitor*
74 /etc/sy …
191# Remove immutable bit
192if [ -d /var/lib/containerd/io.containerd.snapshotter.v1.erofs ]; then
193 chattr -R -i /var/lib/containerd/io.containerd.snapshotter.v1.erofs 2>/dev/null || true
194fi
195
196# Remove systemd files
197log_info "Removing systemd unit files and reloading systemd"
198rm -rf "${SYSTEMD_FILES[@]}"
199systemctl daemon-reload
200systemctl -s SIGHUP kill systemd-logind
201
⋯4 lines
Showing the top 5 files — 7 more files (176 regions) not shown.
No evidence locations were recorded for this file. Raw result