Comments (5)
You can edit the Directories line of /etc/opt/rwfus.conf
and generate the new set of directories with rwfus --update
/rwfus -u
!
[Common]
# All other paths, if left unspecified, derive from this one
Base_Directory ./test/opt/rwfus
Directories /usr /etc/pacman.d /var/lib/pacman /var/cache/pacman /my/other/path
--- snip ---
That said, reinstallation shouldn't break anything. the btrfs formatter won't reformat a btrfs-formatted device unless you explicitly --force
it to, which I don't
from rwfus.
Alright! I'm gonna try that. If I ever have any trouble, I'll repost here. Thanks!
from rwfus.
Follow-up question regarding my specific case...
I want to synchronize /etc/systemd/system/
because I think that some services symlinks are lost when I update. For instance, avahi-daemon
service doesn't seem to be enabled when I update the Steam Deck (or may be I'm missing something), so I have to reenable the service. I wanted to save those paths:
/etc/systemd/system/multi-user.target.wants/avahi-daemon.service
/etc/systemd/system/sockets.target.wants/avahi-daemon.socket
So I figured I should save /etc/systemd/system/
. However, I see that /etc/opt/rwfus.conf
is part of /etc
, but no parent of that path are part of the list of default directories rwfus
saves. How is that file preserved ? Is /etc/opt/
safe to write to ? Is it merged with /etc/
in some manner ? Do you think I could write my service files under /etc/opt/
? However, it would be cumbersome to write my files manually under /etc/opt/
. Do you see any way to solve this with rwfus
other than saving /etc/systemd/system
? Also, do you see any potential issues doing so ?
from rwfus.
SteamOS Offload overlays /var/lib/overlay/etc/upper on top of /etc/, so it won't get wiped when you update. (The contents of var-A and var-B are synced after the update installs to the inactive partset.) That's actually what inspired me to write Rwfus.
However, Systemd may be trying to start avahi-daemon before rwfus mounts the overlay filesystems. You might see something to that effect in journalctl -xeu avahi-daemon
after an update/reboot.
from rwfus.
However, Systemd may be trying to start avahi-daemon before rwfus mounts the overlay filesystems. You might see something to that effect in journalctl -xeu avahi-daemon after an update/reboot.
OK, so you're suggesting I should append rwfus
to the list of targets in After=
of every service I enable, right?
I just restarted my Steam Deck and I can see that the service is enabled and running, so a reboot doesn't seem to trigger this issue:
● avahi-daemon.service - Avahi mDNS/DNS-SD Stack
Loaded: loaded (/usr/lib/systemd/system/avahi-daemon.service; enabled; preset: disabled)
Active: active (running) since Tue 2023-01-17 23:40:00 EST; 2min 55s ago
TriggeredBy: ● avahi-daemon.socket
Main PID: 878 (avahi-daemon)
Status: "avahi-daemon 0.8 starting up."
Tasks: 2 (limit: 17686)
Memory: 1.4M
CPU: 65ms
CGroup: /system.slice/avahi-daemon.service
├─878 "avahi-daemon: running [steamdeck.local]"
└─968 "avahi-daemon: chroot helper"
Otherwise, I have this other service which wasn't started for some reason at some point, but I didn't have to re-enable it as the symlink lives in /home/deck/.config/systemd/user/default.target.wants/
:
# /usr/lib/systemd/user/mpDris2.service
[Unit]
Description=mpDris2 - Music Player Daemon D-Bus bridge
[Service]
Restart=on-failure
ExecStart=/usr/bin/mpDris2 --use-journal
BusName=org.mpris.MediaPlayer2.mpd
[Install]
WantedBy=default.target
# WantedBy=daemon.target
I guess it could have failed to start for the same reason. I'm going to be more vigilant and try to reproduce this. If I can, then I'll try to add some rwfus
to the After=
targets list of my services. Then, I'll update...
from rwfus.
Related Issues (20)
- install failed on brand new Deck HOT 9
- Whole system crash after upgrading SteamOS HOT 32
- Failing to Download Packages Databases HOT 1
- Question: I already had pacman packages before HOT 4
- Issue on installing. HOT 8
- installation instructions clone the wrong version. HOT 1
- Use SteamOS Btrfs subvolumes instead of creating a disk image file HOT 1
- [Question/Feature] Is IgnorePkg a viable workaround for safe overlay upgrades? HOT 6
- polkit.service needs to be restarted after installation HOT 6
- Question: Remove steam.desktop autostart and boot in desktop mode (Since you're brave to use desktop mode) HOT 3
- Error Installing (or failed -t command) // Error in maxed Overlay FS HOT 5
- Incompatible with SteamOS 3.5 ('jupiter-main') HOT 9
- [Question] Best way to downgrade a package back to stock root HOT 3
- usr-local.mount removed in SteamOS 3.5 (Error when enabling service) HOT 4
- Under SteamOS 3.4.11, there is not enough space in /etc to reinstall plasma. HOT 1
- rwfus keeps breaking HOT 2
- Running commands from steamos-devmode script breaks rwfus after reboot HOT 1
- Fails on New Deck Update SteamOS 3.5.5 HOT 2
- not working?? HOT 23
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rwfus.