Está viendo la página Spain versión del sitio.
Le gustaría cambiar a su sitio local?
14 MIN TIEMPO DE LECTURA

SYSTEMD

Replacing rc.local and using Systemd

Sean Conway is struggling with change – specifically, what system administration knowledge to keep and what to throw away.

OUR EXPERT

Sean Conway is a former IT security specialist for a national telecoms company who uses Pi-based projects to get his much-needed technology fix now that he’s finally retired.

When was the last time you changed? Okay, that question was pretty ambiguous. Let’s try again. As a systems administrator, you need to decide what knowledge is worth keeping and what force or energy you need to replace old knowledge? For you as a senior administrator, with years of support knowledge for systems that are still in service, having to decide what knowledge stays and what goes it can be extremely difficult.

If you’ve been using Raspberry Pi’s single board computers since they were first introduced in 2012, then change should come as no surprise. The singleboard computer hardware has gone through several revisions as it offers more and more features. If you’ve been using the Raspbian operating system (OS), new releases have brought in their changes. In 2022, the OS changed its name to Raspberry Pi OS. Under the new name, it also released a beta 64-bit version.

Operating system upgrades resolve known problems, improve existing offerings or add new features or enhancements. Release notes are an extremely important piece of documentation. When upgrades make changes that render old knowledge obsolete, it’s important for users to gain the new knowledge before it’s needed.

Let’s look at two changes that affect your ability to administer your Raspberry Pi. The aim is not to argue the merits of the changes, but to raise awareness so your knowledge can be updated, hopefully minimising the impact. The first is the Advanced User Options added to the Raspberry Pi Imager software and the second is changes to the Raspberry Pi OS that removes support for /etc/rc.local.

If Raspberry Pi OS is selected then the gear icon will appear.
Password change will be forced if either Enable SSH or Set Username is selected.

A new imager

Are you an administrator who installs headless (in other words, no attached keyboard, video monitor or mouse) Raspberry Pis? Any modification, additions or deletions to software or configuration changes to the OS are achieved through a console via some type of connection. If the connection is wireless and the communication protocol is SSH, then the services would need to be enabled before the operating system starts or there is no connection.

To enable the services, change the operating system configuration. Wireless network support and enabling SSH are two services that can be enabled by installing specific configuration files in the /boot directory of the SD card before the first boot. This tells the OS, “Hey I want these services available on the first boot.” Placing the files in the correct place enables the OS to accommodate them.

Desbloquea este artículo y mucho más con
Puedes disfrutar:
Disfrute de esta edición al completo
Acceso instantáneo a más de 600 títulos
Miles de números atrasados
Sin contrato ni compromiso
Inténtalo €1.09
SUSCRÍBETE AHORA
30 días de acceso, luego sólo €11,99 / mes. Cancelación en cualquier momento. Sólo para nuevos abonados.


Más información
Pocketmags Plus
Pocketmags Plus

Este artículo es de...


View Issues
Linux Format
August 2022
VER EN TIENDA

Otros artículos de este número


WELCOME
First step…
It seems that Tux can safely visit Hell,
REGULARS AT A GLANCE
Ubuntu Snaps under fire
The release of Ubuntu 22.04 has prompted more people to complain about the usefulness of Snaps.
Framework Laptop receives 12th gen processor upgrade
Popular modular laptops with Linux support now available with 12th gen Intel processors.
Turkish district reaps Linux rewards
Local government saves $1m by going open source.
DECISIONS, DECISIONS
Matt Yonkovit is the head of open source
BE A GIT
Keith Edmunds is MD of Tiger Computing Ltd,
Convergence lives on with Gnome Shell
The dream of a Linux desktop for mobile devices isn’t dead in the water.
Mesa 22.1 brings better ray tracing
Open-source graphics driver stack receives a big update.
Thunderbird donations increase
Revenue of the email client rose by 21 per cent in 2021.
Distro watch
What’s down the side of the free software sofa?
SPOTLIGHT ON MESON
Xavier Claessens is a senior software engineer at
MULTIMESS
Jon Masters is a kernel hacker who’s been
Kernel Watch
Jon Masters summarises the latest happenings in the Linux kernel, so that you don’t have to.
Answers
Got a burning question about open source or the kernel? Whatever your level, email it to lxf.answers@futurenet.com
Mailserver
WRITE TO US Do you have a burning
Kooha
Version: 2.0.1 Web: https://github.com/seadve/kooha
AppImage Pool
Version: 5.0.0 Web: https://github.com/prateekmedia/appimagepool
Blanket
Version: 0.6.0 Web: https://github .com/rafaelmardojai/blanket
Universal Media Server
Version: 10.21.0.1 Web: www.universalmediaserver.com
Beaker Browser
Version: 1.1.0 Web: https://beakerbrowser.com
superProductivity
Version: 7.11.5 Web: https://super-productivity.com
Safe Eyes
Version: 2.1.3 Web: https://slgobinath . github.io/SafeEyes
Mudlet
Version: 4.16.0 Web: www.mudlet.org
StackAndConquer
Version: 0.10.0 Web: https://github.com/ElTh0r0/stackandconquer
Bottles
Version: 2022.5.14-trento-3 Web: https://usebottles.com
Filmulator
Version: 0.11.1 Web: https://filmulator.org
REVIEWS
GoDaddy
Purchase and bid on domains with the daddy of services and Stefan Ionescu.
OpenSUSE 15.4
If someone were to compile the definitive list of the mysteries of life, Mayank Sharma would ask them to include openSUSE at number 42.
Tails 5.1
This distro is one of those things that Mayank Sharma would rather have and not need, than need and not have.
OpenMediaVault 6
Old wine in a new bottle is such a cliché, but that’s exactly how Mayank Sharma likes his software to grow and evolve.
OnlyOffice 7.1
Usually Mayank Sharma will run everything that’ll fit inside a browser, but today he’ll try something he’s petrified to launch even as a native program.
The Stanley Parable: Ultra Deluxe
Management doesn’t like self-referential things. It just reminds them they’re a simple strapline-based comedy construct of Christopher Livingston.
ROUNDUP
Raspberry Pi distros
The top-end Raspberry Pis can be used to build a formidable desktop. Michael Reed finds there’s a fair bit of choice when it comes to Linux distros
Fast virtual machines
Fast Virtual Machines
Jonni Bidwell transcends meat space, ventures virtuously into the valleys of the virtual and returns laden with actual knowledge.
Pi USER
Turing 2 Pi raises $1 million in a day
The Pi-based cluster computing Kickstarter project smashes its own targets for full funding.
Waveshare CM4-NANO
Les Pounder looks at Waveshare’s Compute Module 4 carrier board that offers Raspberry Pi 4 performance in a near Zero-sized package.
Create a custom LCD menu system
Les Pounder loves to get hands-on with a good button, and if doing so can save him time and looks great, then it’s a win-win situation!
IN DEPTH
World Web 3
Battle lines are being drawn up as technologies for a Web 3.0 are primed and loaded, Mats Tage Axelsson helps you prepare for a user-owned world.
IN DEPTHTUTORIALS
Multi-boot USB drives
Shashank Sharma can’t parallel park, but he knows how to just copy and paste live distributions into a USB drive to boot ‘em up.
TUTORIALS
How to take better screengrabs in Ubuntu
Nick Peers reveals how easy it is to take screengrabs and annotate them using a combination of Ubuntu’s built-in tools and third-party utilities.
Emulate the first portable computer
Rounding off our emulation series, Mike Bedfords revives the first portable computer that ran the bizarre APL language.
Make beautiful algorithmic music
Create royalty-free music automatically, or try your hand at producing music by coding. Mike Bedford explores both composition options…
Back up and copy entire hard drives
Michael Reed shows you how to tame Clonezilla, a powerful piece of software that can help copy and restore hard disk partitions.
Keep your passwords secret and safe
David Rutland has learned from past mistakes, and endeavours to keep all of his logins, usernames and passwords firmly under lock and key.
Configure a crossplatform KVM system
Use Barrier to replace a physical KVM switch and enable a keyboard and mouse to be shared between multiple devices. Matt Holder explains all.
SEEING THE LIGHT
Three humble developers of Bodhi Linux enlighten Jonni Bidwell on the ways of Zen and the art of distro maintenance.
CODING ACADEMY
Controlling processes and using Unix signals
Join Mihalis Tsoukalos as he demonstrates how to use Rust to work and manage child processes, and handle Unix signals.
Updating the LXF GIT monitoring tool
John Schwartzman adds new features to an existing PyQt5 program that finds all of your git repositories and displays their status.
Chat
X
Soporte Pocketmags