09350ff7d4
Raw logs are stored in a versioned binary format and must be update with atopconvert(1) upon atop version updates. Failure to do so results in atop.service startup failure as I found out the hard way after the "atop: 2.6.0 -> 2.7.1"[0] bump: ``` May 31 01:49:25 <hostname> sh[2269709]: existing file /var/log/atop/atop_20220531 has incompatible header May 31 01:49:25 <hostname> sh[2269709]: (created by version 2.6 - current version 2.7) May 31 01:49:25 <hostname> systemd[1]: atop.service: Main process exited, code=exited, status=7/NOTRUNNING ``` Convert logs in `ExecStartPre` and replace them iff updated. This is to avoid changing original modification times upon every service start and thus work against atop's log rotation (see existing `ExecStartPre`). 0: https://github.com/NixOS/nixpkgs/pull/175180#issuecomment-1141546487 |
||
---|---|---|
.. | ||
bash | ||
command-not-found | ||
digitalbitbox | ||
zsh | ||
_1password-gui.nix | ||
_1password.nix | ||
adb.nix | ||
appgate-sdp.nix | ||
atop.nix | ||
autojump.nix | ||
bandwhich.nix | ||
bash-my-aws.nix | ||
bcc.nix | ||
browserpass.nix | ||
calls.nix | ||
captive-browser.nix | ||
ccache.nix | ||
cdemu.nix | ||
cfs-zen-tweaks.nix | ||
chromium.nix | ||
clickshare.nix | ||
cnping.nix | ||
criu.nix | ||
dconf.nix | ||
dmrconfig.nix | ||
droidcam.nix | ||
environment.nix | ||
evince.nix | ||
extra-container.nix | ||
feedbackd.nix | ||
file-roller.nix | ||
firejail.nix | ||
fish.nix | ||
fish_completion-generator.patch | ||
flashrom.nix | ||
flexoptix-app.nix | ||
freetds.nix | ||
fuse.nix | ||
gamemode.nix | ||
geary.nix | ||
git.nix | ||
gnome-disks.nix | ||
gnome-documents.nix | ||
gnome-terminal.nix | ||
gnupg.nix | ||
gpaste.nix | ||
gphoto2.nix | ||
hamster.nix | ||
htop.nix | ||
iftop.nix | ||
iotop.nix | ||
java.nix | ||
k3b.nix | ||
k40-whisperer.nix | ||
kbdlight.nix | ||
kclock.nix | ||
kdeconnect.nix | ||
less.nix | ||
liboping.nix | ||
light.nix | ||
mininet.nix | ||
mosh.nix | ||
msmtp.nix | ||
mtr.nix | ||
nano.nix | ||
nbd.nix | ||
neovim.nix | ||
nethoscope.nix | ||
nix-ld.nix | ||
nm-applet.nix | ||
nncp.nix | ||
noisetorch.nix | ||
npm.nix | ||
oblogout.nix | ||
pantheon-tweaks.nix | ||
partition-manager.nix | ||
plotinus.nix | ||
plotinus.xml | ||
proxychains.nix | ||
qt5ct.nix | ||
screen.nix | ||
seahorse.nix | ||
sedutil.nix | ||
shadow.nix | ||
singularity.nix | ||
slock.nix | ||
spacefm.nix | ||
ssh.nix | ||
starship.nix | ||
steam.nix | ||
sway.nix | ||
sysdig.nix | ||
system-config-printer.nix | ||
systemtap.nix | ||
thefuck.nix | ||
tmux.nix | ||
traceroute.nix | ||
tsm-client.nix | ||
turbovnc.nix | ||
udevil.nix | ||
usbtop.nix | ||
vim.nix | ||
virtualbox.nix | ||
wavemon.nix | ||
waybar.nix | ||
weylus.nix | ||
wireshark.nix | ||
wshowkeys.nix | ||
xfs_quota.nix | ||
xonsh.nix | ||
xss-lock.nix | ||
xwayland.nix | ||
yabar.nix | ||
zmap.nix |