Deutsch English Français Italiano |
<vcd4dk$qc98$2@paganini.bofh.team> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!newsfeed.bofh.team!paganini.bofh.team!not-for-mail From: Anton Shepelev <ant@tilde.culb> Newsgroups: comp.sys.raspberry-pi,alt.os.linux.debian Subject: Re: Execution of setupcon at boot Date: Tue, 17 Sep 2024 23:47:00 -0000 (UTC) Organization: To protect and to server Sender: K6jYr/KRs1bJbN+ht7HkKw Message-ID: <vcd4dk$qc98$2@paganini.bofh.team> References: <vc7j35$7jfe$1@paganini.bofh.team> <u5vkrk-clq7.ln1@q957.zbmc.eu> Injection-Date: Tue, 17 Sep 2024 23:47:00 -0000 (UTC) Injection-Info: paganini.bofh.team; logging-data="864552"; posting-host="e5rN4gzt5OynarproGyj1g.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A"; User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.10.8-100.fc39.x86_64 (x86_64)) X-Notice: Filtered by postfilter v. 0.9.3 Bytes: 2205 Lines: 25 In alt.os.linux.debian Chris Green <cl@isbd.net> wrote: > Anton Shepelev <ant@tilde.culb> wrote: >> >> On RPi OS Bookworm, console and keyboard initialisation via >> `setupcon' seem doubly duplicated (sic), and I am x-posting this to >> .debian because it may not be speific to Pi OS: >> >> 1. in that systemd services and init.d scripts do the same thing: >> /etc/init.d: >> console-setup.sh -> /lib/console-setup/console-setup.sh >> keyboard-setup.sh -> /lib/console-setup/keyboard-setup.sh >> >> /usr/lib/systemd/system: >> console-setup.service -> /lib/console-setup/console-setup.sh >> keyboard-setup.service -> /lib/console-setup/keyboard-setup.sh >> >> 2. in that /lib/console-setup/console-setup.sh includes both console >> and keyboard setup, making keyboard-setup.sh redundant. >> > Isn't the init.d startup actually emulated by systemd when a system > uses systemd? The files still exist but the implementation is systemd. Yes, but why the duplication? The emulation of init.d is there for functonality that has not yet been migrated to systemd services, whereas the console and keyboard setup are /already/ present and propser systemd services, and therefore no longer needed in init.d .