Links fail to work in 13.2 ?

There seems to a problem (security related ?) with links in 13.2:

Symptom #1:
I use NetworkManager which writes the /etc/resolv.conf.netconfig file. This is normally linked to /etc/resolv.conf. As I was failing to get my web addresses resolved, I followed a post that suggested that I **copy **(!!!) the on-the-fly-generated to the static one


goldberg:/root # cp /etc/resolv.conf.netconfig  /etc/resolv.conf

Doing this solved my address resolution issue -but I will to repeat copying every time my network parameters change! WTF???

Symptom #2:
I have zotero as a link in my /home/username/bin directory:

 mimis@goldberg:~/bin$ ll zotero
lrwxrwxrwx 1 mimis users 33 Mar 12  2014 zotero -> Zotero_linux-x86_64/run-zotero.sh

just typing

 zotero 

in the terminal does not start the graphical interface,
Whenever I run it with the global pathname, I get the gui:
$ ~/bin/Zotero_linux-x86_64/run-zotero.sh

Any ideas, anyone?

mimis

That should not be happening. I am not seeing that.

Next time, instead of your copy, use:


cd /etc
mv resolv.conf.netconfig resolv.conf

Perhaps the fact that there is a “resolv.conf.netconfig” is causing a problem.

Symptom #2:
I have zotero as a link in my /home/username/bin directory:

It’s hard to guess without more information.

When you type “zotero” as a command, the script will see the variable “$0” as having the value “zotero” or perhaps “/home/user/bin/zotero”. However, when you invoke the command as “~/bin/Zotero_linux-x86_64/run-zotero.sh”, then the script will the variable “$0” as “/home/user/bin/Zotero_linux-x86_64/run-zotero.sh”. Maybe there is something in the script that depends on “$0” or on something similar that is affected by how you call it.

You can try

netconfig update

see

netconfig --help

for more

hmmm… maybe it is looking for some dependencies inside ~/bin ? ie some files/executables/directories? Just a guess, any way can you not rename run-sotero.sh to just sotero?

what does

type -a zotero

prints out?

Did you evet edit /etc/resolv.conf manually? Like

дек 17 21:14:15 opensuse.site NetworkManager[975]: ATTENTION: You have modified /etc/resolv.conf.  Leaving it untouched...
дек 17 21:14:15 opensuse.site NetworkManager[975]: You can find my version in /etc/resolv.conf.netconfig ...

Checked again after the kernel update to 3.16.7-7-desktop: problem persists for firefox. That is, I have to actually copy the /etc/resolv.conf.netconfig to /etc/resolv.conf for firefox to perform resolution of web sites’ names. Konqueror and chromium are also affected.

  • Chrome is immune.
  • nslookup works fine but, at the same time ping fails!!!

mimis@goldberg:~/Desktop $ ping www.in.gr
ping: unknown host www.in.gr
mimis@goldberg:~/Desktop $ nslookup www.in.gr
Server:         195.67.199.43
Address:        195.67.199.43#53

Non-authoritative answer:
Name:   www.in.gr
Address: 88.198.190.148
Name:   www.in.gr
Address: 88.198.190.146

I found a reference to this problem here:
https://forums.opensuse.org/showthread.php/492314-ping-cannot-resolve-a-name?p=2681319#post2681319

Don’t tell me it’s not weird!

Best Regards

mimis