I have a feeling that when this is resolved I'll be doing a face palm and
saying "of course, you idiot!" but I'm not seeing the answer right now.
I have a local repo that I maintain using rsync from an official Fedora
mirror site. This repo is located on one of my "always-on" servers using a
systemd automount in /etc/fstab:
worldsys:/install /install nfs rw,x-systemd.automount 0 0
This works great for installing new packages and doing updates, but it does
not work for doing dnf system-upgrade. The packages are not copied when the
"system-upgrade download" is done because they are already on a
locally-available file system, but when the "system-upgrade reboot" is
done, the upgrade fails (presumably because the remote file system is not
available at the point of the upgrade boot where the upgrade transaction is
run, either because the network is not up or the automount is not
Is it impossible to do a system-upgrade from a remote-mounted repo (which
would defeat much of the purpose of maintaining such a repo), or is there a
way to make the network come up and the automount happen at system-upgrade
I suppose I could set up a web server on the system with the repo so that
the download would be forced at system-upgrade download time, but that's a
big hammer for a small nail that I would prefer to avoid.
I have noticed that pnmixer has been orphaned in F30. What are alternatives that I may use? (I rather liked pnmixer and am sorry to see it go, but would be fine with checking out something else).
Many thanks and best wishes,
Hi Fedora community,
Fedora on RPI is AMAZING and I'm working on a project to automate provisioning for a Raspberry Pi cluster. This would add a ton of CI capabilities and convenience. It would also take the edge of the nuisance that RPIs eat SD cards like I eat Oreos.
Right now the process is pretty manual:
1. Put SD card in secondary machine
2. DD Fedora's minimal aarch64 image onto SD card
3. Grow partition
4. Put SD card back
6. Go through initial setup
7. Update all packages
8. Continue with regular config and host management
This requires being physically in front of the RPIs (and provisioning machine) and involves a lot of hand holding.
I'd like to make this process as headless as possible so that re-kicking a RPI is as easy as "setting a flag", rebooting and waiting for the RPI to come back up freshly installed.
Right now I have the following path in mind how this could potentially work:
The network interface of the RPI3B+ is capable of PXE booting, yay! So I'm thinking something along the lines of:
2. Load files through TFTP (bootcode.bin -> start_x.elf -> DTB(?) -> u-boot.bin/IPXE -> kernel -> initramfs)
3. Boot kernel/initramfs which fires up Anaconda
4. Install Fedora normally
5. Use %post to copy device tree files to /boot and do other things necessary to make the RPI boot
If this worked, provisioning would be as easy as:
(0. Create DHCP reservation)
1. SD card into RPI
2. Turn on RPI
3. Login via SSH/VNC/etc.
I managed to boot U-Boot, chain load iPXE (probably not necessary since U-Boot is capable enough) but when pulling the regular aarch64 vmlinuz/initrd.gz pxeboot images it just errors out with an error saying "Invalid application". My knowledge about the kernel/initramfs chain gets blurry here which is why all tries in altering the initrd.gz image have failed gloriously.
If we can make this possible I'd be happy to turn it into a Wiki page so that others can extend their RPI environment with unattended provisioning.
Happy memorial to everyone celebrating and thank you for your interest!
I am trying to run gnome-terminal on openbox started from terminal (multi-user.target) with startx command. GNOME applications that relies on DBus can't communicate or fails to start in the case of gnome-terminal.
Starting gnome-terminal tries to pull gnome-terminal-server but that service fails.
# Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: Timeout was reached
May 27 13:58:42 rawhide2 systemd: Starting GNOME Terminal Server...
May 27 13:58:43 rawhide2 gnome-terminal-server: Unable to init server: Could not connect: Connection refused
May 27 13:58:43 rawhide2 gnome-terminal-server: Failed to parse arguments: Cannot open display:
May 27 13:58:43 rawhide2 systemd: gnome-terminal-server.service: Main process exited, code=exited, status=10/n/a
May 27 13:58:43 rawhide2 systemd: gnome-terminal-server.service: Failed with result 'exit-code'.
May 27 13:58:43 rawhide2 systemd: Failed to start GNOME Terminal Server.
On the other hand, starting the openbox from GDM works fine for DBus applications so it must be that environment is not set correctly when starting with xinit. dbus.socket and dbus.service are running.
I am on Fedora 30.
Would you have a suggestion for a software capable of adding comments
in a pdf file?
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988
I have upgraded from F29 to F30 via the recommenced dnf method. I
have Fedora running in a vm under vmware player. Grub2-mkconfig and
grub2-install no longer seem to generate the grub menu as they did under
F29, the menu seems to be that generated by grubby (it could be that
turning off the suppression of sub-menu creation is now being ignored).
Looking at /boot/grub2/grub.cfg I cannot see any references in there to
kernels, so I have attached the file for reference. Am I missing
something or is the functionality now different, /boot/grub2/grub.cfg is
where I have always written the grub.cfg via this process?
After 2 successful upgrades from F29 to F30 and 2 successful full
installations, I decided to upgrade my main machine (that runs fine
since past november, installed in F28 then upgraded to F29).
No luck: unable to login (graphical, textual, ssh) except root.
The journal shows:
May 20 12:31:41 ... kernel: Linux version 5.0.16-300.fc30.x86_64 (mockbuild(a)bkernel03.phx2.fedoraproject.org) (gcc version 9.1.1 20190503 (Red Hat 9.1.1-1) (GCC)) #1 SMP Tue May 14 19:33:09 UTC 2019
May 20 12:37:44 ... systemd-logind: New session 3 of user fm.
May 20 12:37:44 ... systemd: Starting User Manager for UID 1005...
May 20 12:37:48 ... systemd: Started Getty on tty2.
May 20 12:38:16 ... systemd: pam_unix(systemd-user:session): session opened for user fm by (uid=0)
May 20 12:38:16 ... systemd: PAM failed: Cannot allocate memory
May 20 12:38:16 ... systemd: pam_unix(systemd-user:session): session closed for user fm
May 20 12:38:16 ... systemd: user(a)1005.service: Failed to set up PAM session: Cannot allocate memory
May 20 12:38:16 ... systemd: user(a)1005.service: Failed at step PAM spawning /usr/lib/systemd/systemd: Cannot allocate memory
I add time, from a second textual console as root, to see the "systemd
--user" process reach more than 40 GB of memory before dying.
The lightdm session fails also with the same error.
Tries that do not solved this problem:
- re-installing kernel, systemd
- downgrading systemd to systemd-239-12.git8bca462.fc29
- fresh install in F30
Tries that solve this problem:
- adding mem=8192M to the kernel command line
this machine a 64 G of memory
- commenting pam_systemd.so from PAM (but want to keep it)
Any idea how to debug that?
Thanks a lot.
I had installed Fedora 30, on a dual boot machine which has a second
partition with Fedora 28.
Fedora 30 comes by default with a new boot loader spec.
I found under /boot/loader/entries/ the following:
I want to be able to boot by default into Fedora 28.
Is there a way by some utility to generate entries under
/boot/loader/entries/ for the
Fedora 28 and choose Fedora 28 as the default ?
Or should I disable the boot loader spec in order to boot to Fedora 28
on this machine ?
For a long time now grubby has replaced grub2-mkconfig to update the
grub.cfg file. From this time, I have to correct the kernel update
manualy with grub2-mkconfig because every time grubby chooses a wrong
partition as the / partition.
The choosen partition is not mounted, it is empty, with no boot flag....
Why grubby chooses this partition? It is so stupide that I am wondering
what is the way followed by grubby to to this?
Thank you for any light.
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)6 7892 5822