IPV6 and dhclient.conf supersede domain-name-servers does not work
by Patrick Mansfield
Running current Fedora 25.
How should I supersede the nameserver when using IPV6 and dhclient?
If I enable IPV6, my dhclient.conf doesn't work as I'd expect, it works as expected
if only IPV4 is enabled.
I have this:
# cat /etc/dhclient-enp6s0.conf
supersede domain-name-servers 127.0.0.1;
# grep V6 /etc/sysconfig/network-scripts/ifcfg-enp6s0
# IPV6INIT=no
DHCPV6C=yes
And then if I restart the interface:
# ifdown enp6s0 > ~/ifdown.out 2>&1 ; ifup enp6s0 > ~/ifup.out 2>&1
I get:
# cat /etc/resolv.conf
; generated by /usr/sbin/dhclient-script
nameserver 2001:558:feed::1
nameserver 2001:558:feed::2
If I disable IPV6, it works as I'd expect:
# grep V6 /etc/sysconfig/network-scripts/ifcfg-enp6s0
IPV6INIT=no
# DHCPV6C=yes
# ifdown enp6s0 > ~/ifdown.out 2>&1 ; ifup enp6s0 > ~/ifup.out 2>&1
# cat /etc/resolv.conf
; generated by /usr/sbin/dhclient-script
search hsd1.or.comcast.net.
nameserver 127.0.0.1
Thanks ...
-- Patrick
6 years, 4 months
grub2-efi / grub2-tools problem
by Frank Elsner
Hello,
known since release of Fedora 27:
Error:
Problem: package grub2-efi-1:2.02-0.40.fc26.i686 requires grub2-tools = 1:2.02-0.40.fc26, but none of the providers can be installed
- grub2-tools-1:2.02-0.40.fc26.i686 does not belong to a distupgrade repository
- problem with installed package grub2-efi-1:2.02-0.40.fc26.i686
Any chance to get this problem solved?
Upgrade otherwise not possible (at least here).
--Frank Elsner
6 years, 4 months
SSH_AUTH_SOCK behavior is completely insane
by cen
Whose good idea in the history of Linux was to turn ssh agent on by
default when one has more than 5 private keys available? This is what I
just got:
ssh -i mykey.pem user@myhost
Received disconnect from ... port 22:2: Too many authentication failures
Authentication failed.
Then I do export SSH_AUTH_SOCK="" and surprise! I am logged in. And I am
not even sure why this suddenly stopped working, I swear to God
specifying the key used to override the agent.
So apparently the agent even overrides my -i flag which explicitly
specifies which key to use. Instead of taking my key as I specify, ssh
agent will go and try every single key file in my .ssh directory and
fail after 5 times because any sane remote ssh server will block you
after failing so many times.
Anyone doing linux admin or dev work has more than 5 keys in their .ssh
directory, rendering the agent completely USELESS PIECE OF SHIT PROGRAM.
Does everyone disable agent first thing after installing Fedora? How
else do you even manage to survive with this crap running?
Why would agent even try with other keys if I SPECIFY the goddamn key!
It doesn't make any sense!
How do I turn it off in all shells for all users forever? How do I nuke
this from system? .bash_profile export does not seem to cut it.
Not to mention the same shit happens when you open gnome files and try
to connect to remote location, except you can't even specify the key in
the UI. It will just try a bunch of keys until you are blocked by remote.
And there are numerous other programs who do this, like Filezilla.
I just don't get it apparently..
6 years, 4 months
Unable to have ~/.pam_environment processed
by Timothée Floure
Hello,
I'm trying to set some environment variables via $HOME/.pam_environment
on my F27 system. I understand that the feature is disabled by default
on Fedora so I tried to add the following line to `/etc/pam.d/login` :
```
session required pam_env.so user_readenv=1
```
However, even with this line, ~/.pam_environment is still ignored. Any
idea ?
Thanks!
--
Timothée Floure
6 years, 4 months
Nextcloud upload restricted to 2MB
by Florian Sievert
Hi,
I was using nextcloud under F26 and just recently upgraded to F27.
Everything seems to work out smooth so far, however I am not able to use
Nextcloud anymore.
When I try to upload a file, I get the following notification:
Error uploading file "xxx.mkv": Total file size 310.9 MB exceeds upload
limit 2 MB
If I remember correctly, this was the default upload size set by PHP.
However, I set in F26 already in /etc/php.in the option and restarted
apache.
upload_max_filesize = 16G
This was working fine so far. However something seems to be changed in
F27 and thus it seems to ignore that option. I tried everything so far,
but run out of ideas. What I try to setup it seems to be restricted by
something. Apache logs or SELinux does not indicate anything as well, so
I think it is related to php configuration. When going to the admin
interface of nextcloud the file handling is shown to be 2MB, but greyed
out with the following message: Missing permissions to edit from here.
Any idea what this might be/? /Anyone who can confirm that nextcloud is
working for him on F27?
/
Best regards,
Florian
/
6 years, 4 months
Windows 10 KVM and reboot
by Tom Horsley
I have a windows 10 qemu/kvm virtual machine hosted
on fedora 26.
Every time I leave it alone to apply updates (which takes
forever), I come back later and find the console saying
"Aaugh, there is no boot device!". I go into virt-manager,
force a reset, and it boots fine, but now it is only 30%
through applying updates, so I have to wait forever
again.
Is windows 10 incapable of rebooting itself, or is qemu
busted somehow so that windows 10 attempt to reboot
doesn't work? This always seems to fail (but only with
updates - if I select reboot from the taskbar menu,
it always reboots just fine).
Anyone have a clue? Does this happen to anyone else?
6 years, 4 months
Video Download Helper will not run with Firefox 57
by Temlakos
Everyone:
After updating Firefox I got a message to "refresh" it--that is, remove
all add-ins. Foolishly I did so, thinking to reinstall them later using
compatible versions.
But I have not been able to get Video Download Helper to work.
I followed their instructions to install a "companion application." That
means working in a terminal version (actually, Konsole; I'm working in
KDE). The messages I get all say the companion app is ready for use. But
after repeated shutdowns and restarts, VDH still will not download anything.
Temlakos
6 years, 4 months
QEMU/KVM startup error in F27
by Patrick O'Callaghan
On trying to fire up a VM using virt-manager, I get "unable to map backing
store for guest RAM: Permission denied".
I use hugepages to lock down memory for the VM, which may be relevant for
the error. This worked correctly on F26 just before the upgrade to F27. I
have changed nothing in my VM configuration, nor in the config file for
QEMU. However, temporarily turning off SElinux allows the startup to
proceed, after which I can re-enable SElinux with no ill effects, i.e. the
VM runs correctly.
A complete relabel of my system (touch /.autolabel and reboot) has made no
difference.
poc
6 years, 4 months
HEADS UP: OpenSSH 7.6p1 in Fedora 27
by Jakub Jelen
Hello all,
The OpenSSH 7.6p1 was submitted for testing in Fedora 27 [1].
Unfortunately I didn't manage to get it out before freeze since all the
thing/bugs/upstream release somehow pilled up. On the other side, this
package was already tested quite extensively during recent months by
myself, using automated test cases and was in rawhide for last two
weeks, where we caught last issues.
If you have some "special" use case, please make sure it works for you
after the update and leave a karma.
[1] https://bodhi.fedoraproject.org/updates/FEDORA-2017-96d1995b70
Thank you,
--
Jakub Jelen
Software Engineer
Security Technologies
Red Hat, Inc.
6 years, 4 months