F30 Zabbix
by CLOSE Dave
On F30, zabbix-agent requires "zabbix = 4.0.7-2.fc30" but zabbix
provides "zabbix = 1:4.0.7-2.fc30". The result is that DNF will not
update either.
--
Dave Close
4 years, 11 months
F30 createrepo
by CLOSE Dave
In previous installations, /usr/bin/createrepo was a symbolic link to
/usr/bin/createrepo_c. Now with createrepo_c-0.14.1-1.fc30.x86_64, that
link is no longer created. This disrupts lots of scripts and will force
changes to a lot of documentation, including Fedora's own online.
--
Dave Close
4 years, 11 months
binary file editor
by Robert Moskowitz
For F28, I am looking for a file editor that when I paste from the
clipboard, I can see any special characters.
I am having problems with a web form copy to clipboard. You can see at
test page at:
http://www.htt-consult.com/button2.html
In Firefox on my F28 system, there is a character copied to the
clipboard that is in front of the sed command of line 1 that displays in
mousepad and geany as a space.
When I paste it into Libre Word, I get the text in a bunch of boxes.
I want to know what that character really is to figure out what is wrong
with my java script.
BTW, I have been told that Chrome does not put any character in front of
the sed command on the copy button.
Any help greatly appreciated!
4 years, 11 months
system-upgrade from CIFS-mounted repo?
by Greg Woods
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
happening).
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
reboot time?
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.
Thanks,
--Greg
4 years, 11 months
alternatives to pnmixer in F30
by Ranjan Maitra
Hi,
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,
Ranjan
4 years, 11 months
Kickstart Fedora 30 (aarch64) on Raspberry Pi 3 B+
by Felix Geschwindner
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
5. Boot
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:
1. DHCP
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!
Vascko
4 years, 11 months
gnome-terminal-server.service fails with startx
by Samuel Rakitničan
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.
Code:
$ gnome-terminal
# 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[1027]: Starting GNOME Terminal Server...
May 27 13:58:43 rawhide2 gnome-terminal-server[1673]: Unable to init server: Could not connect: Connection refused
May 27 13:58:43 rawhide2 gnome-terminal-server[1673]: Failed to parse arguments: Cannot open display:
May 27 13:58:43 rawhide2 systemd[1027]: gnome-terminal-server.service: Main process exited, code=exited, status=10/n/a
May 27 13:58:43 rawhide2 systemd[1027]: gnome-terminal-server.service: Failed with result 'exit-code'.
May 27 13:58:43 rawhide2 systemd[1027]: 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.
4 years, 11 months
F30 Grub2-mkconfig and Grub2-install not Working Correctly?
by Stephen Morris
Hi,
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?
regards,
Steve
4 years, 11 months
F30, user sessions fail with: systemd[PID]: PAM failed: Cannot allocate memory
by Francis.Montagnac@inria.fr
Hi.
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[1717]: New session 3 of user fm.
May 20 12:37:44 ... systemd[1]: Starting User Manager for UID 1005...
May 20 12:37:48 ... systemd[1]: Started Getty on tty2.
May 20 12:38:16 ... systemd[1864]: pam_unix(systemd-user:session): session opened for user fm by (uid=0)
May 20 12:38:16 ... systemd[1864]: PAM failed: Cannot allocate memory
May 20 12:38:16 ... systemd[1864]: pam_unix(systemd-user:session): session closed for user fm
May 20 12:38:16 ... systemd[1864]: user(a)1005.service: Failed to set up PAM session: Cannot allocate memory
May 20 12:38:16 ... systemd[1864]: 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.
--
francis
4 years, 11 months
Fedora & MIDI - recommendations request
by Max Pyziur
Greetings,
Are there any recommendations for canonical/authoritative guides for using
MIDI on Fedora?
Much thanks,
Max Pyziur
pyz(a)brama.com
4 years, 11 months