What the heck is a rc.local stop job?
by Tom Horsley
I just rebooted my fedora 27 partition to get new kernel
running, and I had to hit the reset button because it
stuck here forever:
A stop job is running for /etc/rc.d/rc.local Compatibility
There is no bloody rc.local script that runs on shutdown,
it exists for running stuff at boot. What has systemd
done now and how do I make it stop?
6 years, 4 months
Install Fedora 27 on HP Elitebook Folio 1040: Bootloop
by fedora
Lately, I wanted to install Fedora 27 on the above HW. It uses UEFI
instead of BIOS. Install, that means:
1. Download the Fedora Server Netinstall
Fedora-Server-netinst-x86_64-27-1.6.iso and dd it to a micro SD card.
2. Create an approp ks file on the local Web http://install.lan.
3. Boot from the micro SD card and add the ks file link to the linux
boot-line.
4. Let nature take its course
5. Reboot into runlevel 3
6. dnf -y update
7. dnf -y groupinstall “Xfce Desktop”
8 dnf -y install sddm
9. systemctl enable –force sddm
But when rebooting (setp 5) the laptop went into a boot loop. There was
a message showing up for about half a second, which said:
System BootOrder not found. Initializing default.
Creating boot file BOOT0000 with Fedora on file abcdefghik.
Reset System.
Fortunately there is a Boot-Option “Boot from EFI file”, which let me
select the grubx64.efi file as boot file. Using this, the laptop booted
correctly.
Using efibootmgr (efibootmgr -o 0,1,2)I could not set the BootOrder,
i.e. I could set it, but it was lost across the BootProcess. The only
thing, which was saved across the BootProcess was the BootNext option
(set with efibootmgr -n 3).
To automate the BootProcess I did the following:
su -
cd /boot/efi/EFI
cp fedora/grubx64.efi BOOT
efibootmgr -b 0 -l EFI/BOOT/grubx64.efi
because: apparently the laptop booted from BOOT0000. The above sequence
made it take the file grubx64.efi from BOOT0000 and boot into fedora.
That was, however, not the end of the troubles: After fedora had booted
and the sddm DisplayManager showed up, I could not enter the password,
because the keyboard was irresponsive. But this is another story, which
I solved by installing Centos 7 on the laptop.
suomi
6 years, 4 months
Is there a crypto policy or not?
by Tom Horsley
The /etc/ssh/sshd_config file on my fedora 27 partition says:
# To opt out, uncomment a line with redefinition of CRYPTO_POLICY=
# variable in /etc/sysconfig/sshd to overwrite the policy.
# For more information, see manual page for update-crypto-policies(8).
But there is no CRYPTO_POLICY environment variable setting
in /etc/sysconfig/sshd or in supposed system wide file
/etc/crypto-policies/back-ends/openssh-server.config I see
referenced in the sshd.service definition.
6 years, 4 months
Maven won't pick up JAVA_HOME
by cen
Perhaps I am just going crazy but maven just won't pick up JAVA_HOME on F27.
1. sudo dnf install maven
2. echo $JAVA_HOME returns
/usr/lib/jvm/java-9-openjdk-9.0.0.181-7.fc27.x86_64 (which includes bin
dir with JDK tools such as javac, keytool etc so it is JDK for sure)
3. Any mvn command results in
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE
Also tried JDK8 and Oracel Java 9
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.fc27.x86_64
export JAVA_HOME=/usr/java/jdk-9.0.1
..same result. I feel like there is some hidden config messing me up
or some weird stuff happening. Anyone has an idea what it could be? Last
time I was still on F26 and it worked.
6 years, 4 months
Login Page changed after last fedora 26 update
by ogio spam
Hi all,
before the last updates, after power on, my fedora 26 showed a list of
users and asked for password.
I use KDE.
After last upgrade (I can't remember what changed, but some related to
KDE and X11) the login requires user and password, and it no more lists
users and pictures.
Can someone explain me why every update change the behaviour of the
system? And what appened?
Thankyou
Ambrogio
6 years, 4 months
printing broken after upgrade to F27
by Kseniya Blashchuk
The printer has always been working before, Canon IR2520. After upgrade to
27 the job is hanging in "Processing" state, and the printers application
crashes. I see some errors in the logs like:
Nov 24 13:08:14 ksy kernel: cnpkmoduleufr2[3582]: segfault at 0 ip
00000000f7d73d33 sp 00000000ff962d80 error 4 in libc-2.26.so
[f7ce5000+1ba000]
and then stack trace:
Nov 24 13:08:33 ksy systemd-coredump[3594]: Process 3364 (gnome-control-c)
of user 1000 dumped core.
Stack trace of thread 3364:
#0 0x00007f7b92b83e87
slab_allocator_free_chunk (libglib-2.0.so.0)
#1 0x00007f7b92b84476
magazine_cache_push_magazine (libglib-2.0.so.0)
#2 0x00007f7b92b85916
g_slice_free_chain_with_offset (libglib-2.0.so.0)
#3 0x00007f7b9460b2ca
_gtk_builder_parser_parse_buffer (libgtk-3.so.0)
I tried to look for a bug but haven't found any. Does anybody have the same?
6 years, 4 months
systemctl openvpn won't start
by Neal Becker
Was working before upgrade to f27. Now:
sudo systemctl start openvpn@client-ibecker2
Failed to start openvpn(a)client-ibecker2.service: Unit openvpn@client-
ibecker2.service not found.
According to
https://fedoraproject.org/wiki/Openvpn#Working_with_systemd
I would need to have /etc/openvpn/client-ibecker2.conf, which is there (as
it's been since 2015).
I don't know why this isn't working, or how to debug it (systemctl doesn't
seem to have any debug flags)
6 years, 4 months
Sound-setup with alsa and pulseaudio [was: Re: pulseaudio MUST
DIE!]
by Wolfgang Pfeiffer
Doug, Philip, and Everyone
I started a new thread with the quotes below to make
sure to not hijack the thread where they were taken from ...
Short version:
The whole thing isn't that important - if in doubt, ignore it ... :)
The main reason I wrote this email is plain and simple
curiosity about whether it can be done, and how: namely to feed sound
on a Linux machine to two audio systems at the same time: to
internal speakers on the computer and to external ones like, e.g.,
those in a TV, via HDMI. And all this on Fedora 26 system
On Thu, 23 Nov 2017 21:49:17 -0500
Doug <dmcgarrett(a)optonline.net> wrote:
[ ... ]
> Perhaps I should elaborate: On my system, I have a MB with a sound
> output. I also have an NVidia video card that also contains a sound
> decoder with an HDMI output jack. With this combination, AND
> PulseAudio, I can get simultaneous sound (near the computer with
> the MOBO sound output) and video on both the local monitor and the
> TV from the NVidio card, AND sound on the TV from the NVidia card
> also, via the hdmi connection. It may take some serious fiddling
> around with the possibilities in PA, but it CAN be done.
To get sound simultaneously from your internal computer speakers and TV
(connected via HDMI): which tool(s) did you use? pavucontrol? paman?
paprefs?
Settings in ~/.asoundrc ?
Looks like I have two sound systems on my machine - if true it might be
possible to run them concurrently:
_______________________________
lspci -nnk |grep -A 7 -i vga
00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06)
Subsystem: Dell Device [1028:05aa]
Kernel driver in use: i915
Kernel modules: i915
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
Subsystem: Dell Device [1028:05aa]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
--
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Neptune XT [Radeon HD 8970M] [1002:6801]
Subsystem: Dell Device [1028:05aa]
Kernel driver in use: radeon
Kernel modules: radeon
01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series] [1002:aab0]
Subsystem: Dell Device [1028:05aa]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
_________________________
Specs regarding the lspci result from above:
Please note that on this machine there's one mini display port and one HDMI port:
AMD specs for the Radeon card say the DisplayPort 1.2 (mini
display port is broken on current Fedora¹ since quite some time) is
"Multi-Stream", while the specs on HDMI (works here) say nothing about
"Multi-Stream"
http://www.amd.com/en-us/products/graphics/desktop/oem/8900#
That's what Intel says about E3-1200 v4
on
https://www.intel.com/content/www/us/en/processors/xeon/xeon-e3-1200v4-vo...
--------------------------------
"The processor also integrates dedicated a Mini HD audio controller to drive audio on
integrated digital display interfaces, such as HDMI* and DisplayPort*. The HD audio
controller on the PCH would continue to support down CODECs, and so on. The
processor Mini HD audio controller supports two High-Definition Audio streams
simultaneously on any of the three digital ports."
------------------------------
The last sentence:
"The processor Mini HD audio controller supports two High-Definition
Audio streams simultaneously on any of the three digital ports."
Philip:
After I wrote, that I cannot use both speaker systems (internals
speakers from the computer and external ones from e.g. TV) at
the same time you mentioned ~/.asoundrc:
"That should be fixable with a properly configured .asoundrc file? -
might need an ALSA guru to do it though . ."
Might be difficult to find ALSA gurus ... :) - but I played
with .asoundrc years ago on a Macintosh powerp machine, with Debian on
it - with surprising results (and I'm far from being an audio
guru):
https://lists.debian.org/debian-powerpc/2009/08/msg00049.html
So thanks for pointing to .asoundrc: it hinted to me that ALSA is
still there - didn't realize that - I simply thought it was gone with
pulseaudio. And yes: I had not much of an idea of what PA actually is
until yesterday - I just knew that audio worked here ...
Sound setup tho' *might* become more complicated now with both
pulseaudio plus alsa being involved - not sure about it yet ..
Thanks again ..
Wolfgang
¹ https://bugzilla.redhat.com/show_bug.cgi?id=1470845
6 years, 4 months
Cursor lagging and freezing on MacBook Pro
by Joakim Forøysund
Hi!
I pulled out my MacBook Pro from back in 2008 and installed F26 on it. It worked fine the first couple of days (except from wifi), but then the cursor started lagging and freezing up. I can move it slowly about an inch on the screen before it freezes. Then I can wait a couple of seconds and move it another inch or so. After a few tries it freezes completely. Everything else responds and I can control the computer with the keyboard. I tried upgrading to F27 after the release, but the issue is the same. Any idea what I can do to fix this? Reinstall is of course an option, but I wanted to check with you first. Any advice is appreciated.
6 years, 4 months