Upcoming moOde 8.3.0 release (Q1 2023) - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: Upcoming moOde 8.3.0 release (Q1 2023) (/showthread.php?tid=5352) |
RE: Upcoming moOde 8.3.0 release (Q1 2023) - Tim Curtis - 03-10-2023 (03-10-2023, 08:22 AM)Nutul Wrote:(03-10-2023, 07:41 AM)the_bertrum Wrote: Thanks for the explanation Tim, all very clear now. See post number 10 regarding presence of /home/pi on the ISO image. A global search of the code base listed only 22 occurrences of /home/pi and most of them are used in paths to various moOde log files for example /home/pi/autocfg.log. These can just be replaced by the standard /var/log directory. The remaining few that reference things like scripts for example /home/pi/.xinirc can be replaced by the environment variable HOME or possibly ~/ but I think ~ can't be used in certain circumstances. In either case its something that wait for a post r830 release. RE: Upcoming moOde 8.3.0 release (Q1 2023) - the_bertrum - 03-10-2023 I think I'll be taking a backup of my configuration, applying a fresh image using the RaspberryPI Imager to take advantage of the new security and then restoring settings from the backup this time out then, to get the maximum effect. I assume in-place thereafter will "Just Work" ... RE: Upcoming moOde 8.3.0 release (Q1 2023) - Tim Curtis - 03-10-2023 (03-10-2023, 11:58 AM)the_bertrum Wrote: I think I'll be taking a backup of my configuration, applying a fresh image using the RaspberryPI Imager to take advantage of the new security and then restoring settings from the backup this time out then, to get the maximum effect. I assume in-place thereafter will "Just Work" ... Yes, in-place updates will continue to be provided, plus for all updates after 8.3.0 the progress of the update can be monitored via the "VIEW status" button on System Config. No more need to drop to SSH :-) RE: Upcoming moOde 8.3.0 release (Q1 2023) - TheOldPresbyope - 03-11-2023 There is at least one reference to user pi in a less obvious place: /lib/systemd/system/localui.service wants to start the Xserver as user pi Code: ... I stumbled on this when I tried the "brute force and ignorance" approach to the user naming issue. I used the RaspberryPi Imager to burn a copy of image_2023-01-20-moode-r825-arm64-lite.zip to a uSD card. I used the Imager to create user kreed rather than user pi. The resulting filesystem does not contain a /home/pi directory and user kreed has userid:groupid 1000:1000. Code: kreed@moode:~ $ ls -la Naturally the LocalUI feature doesn't work. Quoting from kern.log [as an aside, note too the 'marked executable' message.] Code: Mar 10 23:37:18 moode systemd[1]: Configuration file /lib/systemd/system/localui.service is marked executable. Please remove executable permission bits. Proceeding anyway. Once we get these ankle-biter issues fixed, the only problem I'll have is remembering to reach for Imager instead of my long-time fav Balena Etcher. Old habits die hard. Regards, Kent RE: Upcoming moOde 8.3.0 release (Q1 2023) - DRONE7 - 03-11-2023 Quote: the only problem I'll have is remembering to reach for Imager instead of my long-time fav Balena Etcher Aye..and before that we bemoaned the change from dd to the newcomer Balena RE: Upcoming moOde 8.3.0 release (Q1 2023) - Tim Curtis - 03-11-2023 (03-11-2023, 04:49 AM)TheOldPresbyope Wrote: There is at least one reference to user pi in a less obvious place: /lib/systemd/system/localui.service wants to start the Xserver as user pi Good catch. That can prolly be addressed via an env variable. The Imager dev considered the fact there is a need to support /home/pi and so the UID:GID is preserved and the dir is renamed. Thats why you still see the piano.sh in /home/kreed. RE: Upcoming moOde 8.3.0 release (Q1 2023) - TheOldPresbyope - 03-11-2023 (03-11-2023, 07:06 AM)DRONE7 Wrote:Quote: the only problem I'll have is remembering to reach for Imager instead of my long-time fav Balena Etcher I grew to hate dd way last century when I had Unix-like (SunOS, Solaris, AIX, IRIX, HP-UX) workstations in my lab. It will always be my tool of last resort. A friend likened dd to double-edged razor blades and recommended keeping both out of reach. Live long and prosper Regards, Kent RE: Upcoming moOde 8.3.0 release (Q1 2023) - Tim Curtis - 03-11-2023 (03-11-2023, 04:12 PM)TheOldPresbyope Wrote:(03-11-2023, 07:06 AM)DRONE7 Wrote:Quote: the only problem I'll have is remembering to reach for Imager instead of my long-time fav Balena Etcher lol, dd stands for "data destroyer". RE: Upcoming moOde 8.3.0 release (Q1 2023) - TheOldPresbyope - 03-11-2023 @Tim Curtis I think you and I are looking through the telescope from opposite ends From my perspective, it's not that the Imager dev chose to support /home/pi but that by default in Linux new user accounts are assigned uid:gid in numeric order beginning at 1000:1000. Thus I have trouble with wording like "aliasing". There is no user pi (see /etc/passwd) to alias to. Regards, Kent RE: Upcoming moOde 8.3.0 release (Q1 2023) - Tim Curtis - 03-11-2023 (03-11-2023, 04:24 PM)TheOldPresbyope Wrote: @Tim Curtis Right but our release image contains /home/pi with piano.sh, .dircolors and .xinitrc files. These are preserved if something other than pi is chosen as the userid in the Pi Imager which suggests that it's intelligently renaming /home/pi to /home/USERID instead of just creating an empty /home/USERID and leaving /home/pi as-is. |