Iain R. Learmonth: Automatic Updates
We have instructions for setting up new Tor relays on Debian. The only time the word upgrade is mentioned here is:The @TorAtlas web application will now also prompt operators to update their relays if they are outdated. pic.twitter.com/HMixwqbBKM Tor Atlas (@TorAtlas) October 9, 2017
Be sure to set your ContactInfo line so we can contact you if you need to upgrade or something goes wrong.This isn t great. We should have some decent instructions for keeping your relay up to date too. I ve been compiling a set of documentation for enabling automatic updates on various Linux distributions, here s a taste of what I have so far:
Debian
Make sure that unattended-upgrades is installed and then enable the installation of updates (as root):
apt install unattended-upgrades
dpkg-reconfigure -plow unattended-upgrades
Fedora 22 or later
Beginning with Fedora 22, you can enable automatic updates via:
dnf install dnf-automatic
In /etc/dnf/automatic.conf set:
apply_updates = yes
Now enable and start automatic updates via:
systemctl enable dnf-automatic.timer
systemctl start dnf-automatic.timer
(Thanks to Enrico Zini I know all about these timer units in systemd now.)
RHEL or CentOS
For CentOS, RHEL, and older versions of Fedora, the yum-cron package is the preferred approach:
yum install yum-cron
In /etc/yum/yum-cron.conf set:
apply_updates = yes
Enable and start automatic updates via:
systemctl start yum-cron.service
I d like to collect together instructions also for other distributions (and
*BSD and Mac OS). Atlas knows which platform a relay is running on, so there
could be a link in the future to some platform specific instructions on how to
keep your relay up to date.
apt install unattended-upgrades
dpkg-reconfigure -plow unattended-upgrades
dnf install dnf-automatic
/etc/dnf/automatic.conf set:
apply_updates = yes
Now enable and start automatic updates via:
systemctl enable dnf-automatic.timer
systemctl start dnf-automatic.timer
RHEL or CentOS
For CentOS, RHEL, and older versions of Fedora, the yum-cron package is the preferred approach:
yum install yum-cron
In /etc/yum/yum-cron.conf set:
apply_updates = yes
Enable and start automatic updates via:
systemctl start yum-cron.service
I d like to collect together instructions also for other distributions (and
*BSD and Mac OS). Atlas knows which platform a relay is running on, so there
could be a link in the future to some platform specific instructions on how to
keep your relay up to date.
yum install yum-cron
apply_updates = yes
systemctl start yum-cron.service
Here s a summary of the bugs against the Debian Policy Manual. Please
consider getting involved, whether or not you re an existing
contributor.
Consensus has been reached and help is needed to write a patch
This would be a longish piece so please bear and play with tea, coffee, beer or anything stronger that you desire while reading below
I had bought an Android phone, a
The reason I shared about Developer Options in Android is that few days back I noticed that the phone wonks off and has unpredictable behaviour such as not letting me browse the web, do additions or deletions using the google play store and alike . Things came to a head when few days back I saw a fibre-optic
Google offers a lot of software components packaged specifically for Debian and
Debian-like Linux distributions. Examples are: Chrome, Earth and the Hangouts
plugin.
Also, there are many other Internet services doing the same: Spotify, Dropbox,
etc. I m really grateful for them, since this make our life easier.
Problem is that our ecosystem is rather complex, with many distributions and
many versions out there. I guess is not an easy task for them to keep such a
big variety of support variations.
In this particular case, it seems Google doesn t support Debian testing in
their .deb packages. In this case, testing means Debian Buster.
And the same happens with the official Spotify client package.
I ve identified several issues with them, to name a few:
and filesystem changes (!!). En vrac, a list of
changes which may be of interest: