Dependency failed for Suspend
by Neal Becker
Recently my system has been refusing to suspend. How can I debug?
(I've recently installed expressvpn, could this be the issue?)
Here's what the log says:
Apr 18 02:30:01 nbecker2 systemd[1]: Started Suspend.
Apr 18 02:30:01 nbecker2 systemd[1]: sleep.target: Unit not needed anymore.
Stopping.
Apr 18 02:30:01 nbecker2 systemd[1]: Stopped target Sleep.
Apr 18 02:30:01 nbecker2 systemd[1]: suspend.target: Bound to unit systemd-
suspend.service, but unit isn't active.
Apr 18 02:30:01 nbecker2 systemd[1]: Dependency failed for Suspend.
Apr 18 02:30:01 nbecker2 systemd-logind[718]: Operation 'sleep' finished.
Apr 18 02:30:01 nbecker2 systemd[1]: suspend.target: Job
suspend.target/start failed with result 'dependency'.
5 years, 11 months
NFS setup -
by Bob Goodwin
I have the NFS server working nicely and doing what I expect it to do,
with a lot of help from this list, EXCEPT data is not being put in the
right partition!
Can I fix this without starting from a new Fedora 27 installation or
completely replacing NFS? Df shows the following:
$ df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 1.8G 0 1.8G 0% /dev
tmpfs 1.8G 32K 1.8G 1% /dev/shm
tmpfs 1.8G 1.6M 1.8G 1% /run
tmpfs 1.8G 0 1.8G 0% /sys/fs/cgroup
/dev/mapper/fedora-root 49G 19G 29G 40% /
tmpfs 1.8G 88K 1.8G 1% /tmp
/dev/sda2 976M 151M 758M 17% /boot
/dev/sda1 200M 18M 183M 9% /boot/efi
/dev/mapper/fedora-home 2.7T 4.8G 2.5T 1% /home
As you can see it is putting the stored data in "/" [19G in a 49G
space]. Those partitions were setup selecting "custom/standard
partitions] in the installer. It looks to me like I should've used the
2.7T of space in "/" but that's not easy for me to do now.
So I guess it boils down to how do I tell NFS to store data in /home
instead of "/"? I've been looking at this and can't see what to change,
or maybe it can';t be fixed that way?
I have a second 3TB drive installed and idle in which I can start over
with a new installation if that would be preferable ...
Help appreciated,
Bob
--
Bob Goodwin - Zuni, Virginia, USA
http://www.qrz.com/db/W2BOD
box10 FEDORA-27/64bit LINUX XFCE Fastmail POP3
5 years, 11 months
Issues trying to lock-down display resolution and overscan
by Go Canes
A while back my Intel NUC failed, and I replaced it with a newer one.
Since then I have been having a few issues with my display.
The first is overscan - the NUC is used as a media PC, and is hooked
up via an A/V receiver to a HDTV using HDMI. Unfortunately there
doesn't seem to be a way to tell the TV to turn off the overscan.
With the older NUC, I used intel_panel_fitter (I think) to adjust the
display, and all was well. But that program doesn't work on the new
NUC. I can however, use xrandr's transform settings, and this seems
to be OK. If anyone has better ideas for accommodating overscan
(other than buying a new TV), I would love to hear it!
The second issue is that when I switch the TV away from the NUC, and
then eventually back to the NUC, the display is zoomed slightly - just
enough so that the KDE bar at the bottom is now off-screen. I can use
xrandr to reset the transforms to their default, and then re-apply my
desired transforms and it is back to where it should be. But I would
like to eliminate this annoying "zoom" altogether if possible. I
thought maybe treating it similar to a KVM switch, and forcing the
modeline within the xorg config would help, but it doesn't seem to
change the behavior at all.
The third issue is that sometimes I lose the display more-or-less
completely. I switch the receiver to the NUC, and I get a black
screen. If I reboot (via a ssh session), I get nothing. To get the
display back, I have to poweroff and cold boot. The login screen is
fine, but after logging-in, KDE seems to be set for a lower resolution
(800x600?) than the TV is using (1080i), and I have go into "System
Settings" to correct it - which is difficult when you can't really
read the display very well!
Any suggestions on these issues would be appreciated! My google
searches haven't come up with much help.
5 years, 11 months
Getting started with firewalld
by Chris Adams
I am trying to get a handle on firewalld... I can't actually see right
off how to limit access to services to certain sources. For example, on
a single-interface server, I want to limit access to SSH and SNMP to
some "management" networks. With iptables, I might have:
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:mgmt - [0:0]
-A INPUT -i lo -j ACCEPT
-A INPUT -p tcp --syn --dport http -j ACCEPT
-A INPUT -p tcp --syn --dport ssh -j mgmt
-A INPUT -p udp --dport snmp -j mgmt
-A mgmt -s 10.0.0.0/24 -j ACCEPT
-A mgmt -s 10.1.0.0/24 -j ACCEPT
-A mgmt -p tcp -j REJECT --reject-with tcp-reset
-A mgmt -j DROP
That means a couple of subnets can reach whatever management services I
declare, the rest of the network cannot, and HTTP is just wide open.
I set a bunch of different documents talking about assigning interfaces
and services to zones, but nothing that tells me how to use those zones
to do something useful.
--
Chris Adams <linux(a)cmadams.net>
5 years, 11 months
NFS server setup -
by Bob Goodwin
.
I am attempting to set up an NFS server on a new Fedora 27 computer I
have assembled using instructions I found, "Fedora
Administration_Guide_Draft/NFS" and I am having a problem accessing it.
$ cat /etc/exports
/var/ftp/pub 192.168.1.0/255.255.255.0(ro)
/home/public 192.168.1.0/255.255.255.0(rw)
var/ftp/pub 192.168.54.0/255.255.255.0(ro,sync,no_subtree_check)
/var/ftp/pub
192.168.54.0/255.255.255.0(ro,sync,no_wdelay,no_subtree_check,nohide)
Then from the client I get a refusal:
# mount 192.168.1.86:/home/public /mnt/test/
mount.nfs: Connection refused
There is an ethernet path between them on my lan, ssh works from each
computer to the other ...
Perhaps a problem with bind, I don't know how to troubleshoot this,
would appreciate suggestions.
Bob
--
Bob Goodwin - Zuni, Virginia, USA
http://www.qrz.com/db/W2BOD
box10 FEDORA-27/64bit LINUX XFCE Fastmail POP3
5 years, 11 months
F26: xfce -> Mate??
by Beartooth
I've been running Fedora with MATE for years, and much prefer it.
But last week I froze a couple of PCs (by playing carelessly with a
couple of new multi-TB storage drives), and grabbed the first netinstall
medium I could lay hands on. It happened to be F26 with xfce. I'd like to
switch xfce to MATE ASAP, before I upgrade to F27 and then F28. How do I
do that?
--
Beartooth Staffwright, Not Quite Clueless Power User
Remember I know little (precious little!) of where up is.
5 years, 11 months
initramfs: kernel update adds unwanted driver?
by Grant Edwards
On Fedora 27 with kernel recently updated to 4.15.15-300.fc27.i686, I
ran into a problem when I installed a new version of a driver (we'll
call "foo") in /lib/modules/$(uname -r)/kernel/drivers/[...].
Doing a "rmmod foo; modprobe foo" loads the new driver and everything
works great. However, rebooting loads a 15-year old version of the
driver (which doesn't work great).
lsinitrd shows that the 15-year old driver is present in the
initramfs. On a clean install of Fedora 27 (running an identical
kernel version) the initramfs does not contain the "foo" driver at
all.
Did the kernel upgrade process muck up the initramfs by adding the old
version of the "foo" driver? The "old" version is the one that's
shipped with the kernel package, but I've never seen it included in
the initramfs before.
What's the best way to remove the old, broken driver from the
initramfs so that the driver in the root filesystem is used on boot?
Is there a way to prevent the kernel update process from adding the
driver back to the initramfs the next time a kernel is updated?
Alternatively, I suppose I could add a "service" that runs at boot
time and does a "rmmod foo; modrobe foo", but that seems like the
wrong way to fix this...
--
Grant
5 years, 11 months
fedora 27 doesn't support cups administration from the web browser ?
by Angelo Moreschini
Hi,
after installing fedora 27 I am not able to get the cups administration
from the web browser..(http://localhost:631).
Looking for help on internet I saw that in the file /etc/cups/cupsd.conf,
should be these lines
<I also checked that these lines they are on the same file (.conf) that
come with fedora 21> :
------
WebInterface Yes
# Allow remote access
Port 631
and others too, perhaps that I didn't checked well
------
But these lines aren't on the file /etc/cups/cupsd.conf of fedora 27.
So my question is :
really that can be true ?
what is the best way for fixing the problem on my new compputer that have
fedora 27 ?
5 years, 11 months