How to Install and Uninstall bilibop-lockfs Package on Ubuntu 21.10 (Impish Indri)

Last updated: December 24,2024

1. Install "bilibop-lockfs" package

Please follow the step by step instructions below to install bilibop-lockfs on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install bilibop-lockfs

2. Uninstall "bilibop-lockfs" package

This guide covers the steps necessary to uninstall bilibop-lockfs on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove bilibop-lockfs $ sudo apt autoclean && sudo apt autoremove

3. Information about the bilibop-lockfs package on Ubuntu 21.10 (Impish Indri)

Package: bilibop-lockfs
Architecture: amd64
Version: 0.6.3
Priority: optional
Section: universe/admin
Source: bilibop
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Yann Amar
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 141
Depends: bilibop-common (= 0.6.3), initramfs-tools, udev (>= 242-6)
Recommends: cryptsetup
Suggests: aufs-dkms, bilibop-device-policy, gnome-icon-theme, libnotify-bin, plymouth
Filename: pool/universe/b/bilibop/bilibop-lockfs_0.6.3_amd64.deb
Size: 35576
MD5sum: 34384007a969a3e6a0ffff3925f23c08
SHA1: 8f81f2fe897d6c732e99f0e62216285905eec025
SHA256: c31af997a863bcb10a3e466e8ad72261004c48dad2b4909636d0af3b7389d71a
SHA512: e2da6007b6108256278e67bc5cfa03bdcdb236fc48b78f91846df28b8e2c47a0ab72ffe99f4b911e12355e3b057ba6527097d8834b5e5e69cdff58e53ef9d0fa
Homepage: https://un.poivron.org/~quidame/wiki/bilibop
Description-en: lock filesystems and write changes into RAM
Bilibop helps to maintain a Debian GNU/Linux operating system installed
on an external media (USB, FireWire, Flash memory, eSATA). It hardens
standard rules and policies to make the system more robust in this
particular situation.
.
If the lockfs feature is enabled (in a configuration file, in the boot
commandline or by a heuristic), nothing will be written on the filesystems
listed in /etc/fstab, except for those that have been whitelisted, or for
the encrypted swap devices. More, bilibop-lockfs now is able to detect if
the drive has been locked by a physical switch, and then overrides its own
settings to unconditionally apply a 'hard' policy.
.
The root filesystem is locked (set readonly, using either aufs or overlay)
by an initramfs script which also modifies the temporary fstab to prepare
other filesystems to be locked later by a mount helper script.
.
bilibop-lockfs provides the following features:
* whitelist based policy: filesystems on which you want to allow persistent
changes must be explicitly listed in a configuration file.
* swap devices policy: they can be used 'as is', noauto, only if encrypted,
only if encrypted with a random key, or not used at all.
* not only filesystems are set read-only, but also block devices: this
forbids changes of the partition table, boot sectors, LUKS headers and
LVM metadata.
* plymouth messages to know at boot time if bilibop-lockfs is enabled or
not, or if an error occurred.
* desktop notifications at startup about filesystems status, to inform the
user that volatile or persistent changes are allowed or not, and where.
.
This package can be used as an alternative to fsprotect or overlayroot,
especially for writable operating systems embedded on a USB stick; but it
may also be installed on public or personal computers, for daily use,
kiosks, testing purposes, or as a tool in anti-forensics strategies.
Description-md5: 3d0ab976669fa15081c34e0bcced86df