Re: Strange behaviour of ln

2015-08-25 Thread Suvayu Ali
On Tue, Aug 25, 2015 at 08:34:23AM -0700, Paolo Galtieri wrote:
 
 The correct way to do the link is
 
 mkdir Test2
 cd Test2
 ln -s ../Test/file file

  $ ln -s afile2 afile

Shouldn't this suffice?  After all they are in the same directory.  With
your solution, the link will break if the directory is renamed.

 cd ..
 
 /bin/ls -l Test2
 total 0
 lrwxrwxrwx. 1 pgaltieri pgaltieri 10 Aug 25 08:29 afile - Test/afile
 lrwxrwxrwx. 1 pgaltieri pgaltieri 13 Aug 25 08:29 afile2 - ../Test/afile

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange behaviour of ln

2015-08-25 Thread Paolo Galtieri

On 08/24/2015 02:19 PM, Cameron Simpson wrote:

On 24Aug2015 13:55, Paolo Galtieri pgalti...@gmail.com wrote:
I've tried this on 2 different systems, and on both systems ln -s 
fails in the same way.


Here's the steps

mkdir Test
cd Test

afile

cd ..
ln -s Test/afile Test/afile2
ls -l Test

This is the output:
/bin/ls: cannot access Test/afile2: No such file or directory
total 0
-rw-rw-r--. 1 pgaltieri pgaltieri 0 Aug 24 13:46 afile
l?? ? ? ? ?? afile2

[...]

Firstly, run /bin/ls, not ls. Many system ship with an alias 
called ls with presupplied various options, which is misleading. IMO 
this is a terrible idea - the alias should at least use another name. 
(I have ones called l and L for these conveniences, myself.)


To your problem:

Symlinks are strings resolved with respect to the directory in which 
the symlink exists.


So the example above Test/afile = Test/afile2 makes a symlink 
_in_ the directory Test named afile2 pointing at Test/afile. 
Therefore it tries to access the path Test/Test/afile, which fails 
as one might expect.


When making a symbolic link it needs to either be (a) an absolute path 
or (b) relative WRT to the directory hodling the link. For the latter, 
the reliable way is to cd to the  directory and make in from inside. 
That way command line filename completion prodcues working results.


Cheers,
Cameron Simpson c...@zip.com.au

Unix is user-friendly. It's just picky about who its friends are.

Cameron,
  thank you for your reply.  As it turns out the ln command

ln -s Test/afile Test/afile1

does create the link.  The problem as you noted is the ls command. If I do

/bin/ls -l Test

I get

total 0
-rw-rw-r--. 1 pgaltieri pgaltieri  0 Aug 25 08:20 afile
lrwxrwxrwx. 1 pgaltieri pgaltieri 10 Aug 25 08:20 afile2 - Test/afile

But doing

ls -l Test

I get

/bin/ls: cannot access Test/afile2: No such file or directory
total 0
-rw-rw-r--. 1 pgaltieri pgaltieri 0 Aug 25 08:20 afile
l?? ? ? ? ?? afile2

I'll probably file a bug against freeradius indicating the documentation 
is wrong :-)


The correct way to do the link is

mkdir Test2
cd Test2
ln -s ../Test/file file
cd ..

/bin/ls -l Test2
total 0
lrwxrwxrwx. 1 pgaltieri pgaltieri 10 Aug 25 08:29 afile - Test/afile
lrwxrwxrwx. 1 pgaltieri pgaltieri 13 Aug 25 08:29 afile2 - ../Test/afile

ls -l Test2
total 0
-rw-rw-r--. 1 pgaltieri pgaltieri 0 Aug 25 08:20 afile

which is what I expect to see.  The ls command is an alias of /bin/ls -LCFb.

Again thank you for your help.

Paolo





--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Could not to load from liveUSB: can't allocate kernel - Why is that?

2015-08-25 Thread Alexander Verbitsky
Hi all!

I have installed Fedora 20 on my laptop and everything worked. But now
i can not to load - after selection item in the grub menu appear error
can't allocate kernel.

Also problem if to try to boot from Fedora-Live-KDE-x86_64-22-3.iso
after selection Test this media  Install ... or Install Fedora..

In the same time on another laptop of my colleague (that same as my)
everything is ok.

Tried with Enable/Disable Secure Boot in BIOS.

Can someone tell where to look and what's the problem?

Thanks!
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Open Broadcaster software in Fedora

2015-08-25 Thread Rick Stevens

On 08/24/2015 11:10 PM, Ranjan Maitra wrote:

On Tue, 25 Aug 2015 08:56:42 +0300 jarmo oh1...@nic.fi wrote:


Mon, 24 Aug 2015 09:36:29 -0700
Rick Stevens ri...@alldigital.com kirjoitti:


On 08/22/2015 01:02 PM, Ranjan Maitra wrote:

Oops! I forgot to include the url:

https://obsproject.com/


I use OBS, however I built it from the source code I obtained by git.
Not sure about any pre-packaged versions.


What about command dnf install obs-studio?



Don't you need a repo having that package before you enable it prior to 
download?


Yes, you do. You have to download the GPG key, download the repo data,
and then you can dnf install obs-studio.

I just did all that last night on my home machine and it worked just
peachy. My two office machines were built from the git source.
--
- Rick Stevens, Systems Engineer, AllDigitalri...@alldigital.com -
- AIM/Skype: therps2ICQ: 226437340   Yahoo: origrps2 -
--
-   Charter Member of the American Society of Curmudgeons-
--
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: strange behavior of external esatausb ports on a Dell laptop

2015-08-25 Thread g


On 08/25/15 21:15, jd1008 wrote:
 On a Dell E6510 laptop, there are 4 ports: 3 USB, and 1 eSata.
 The ports on the left side of the laptop are USB and eSata.
 Both of these ports start losing voltage after some time of
 operation, say 1 hours to 5 hours.

.
did you web search or dell site?

does voltage decrease to 0.00 v?

boot to bios or a live cd/dvd. monitor voltage. if still happens,
i would guess hardware.


-- 
peace out.

If Bill Gates got a dime for every time Windows crashes...
 ...oh, wait. He does. THAT explains it!
-+-
in a world with out fences, who needs gates.

CentOS GNU/Linux 6.6

tc,hago.

g
.

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: yumdownloader equivalent for dnf

2015-08-25 Thread Ed Greshko
On 08/25/15 16:27, Ahmad Samir wrote:
 The dnf-plugins-core package only contains manual pages

I suppose it would have been nice for the Description to make that clear.  :-)



-- 
It seems most people that say they are done talking about it never really are 
until given the last word.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: yumdownloader equivalent for dnf

2015-08-25 Thread Ahmad Samir
On 25 August 2015 at 07:41, Ed Greshko ed.gres...@greshko.com wrote:

 On 08/25/15 13:08, Rami Rosen wrote:
  Hi,
  you'll need to have the dnf-plugins-core package installed to have
 access to the download command for dnf.
  Are you sure ?
 
  I tried this sequence on Fedora 22:
 
  $ dnf download --source iproute
  enabling fedora-source repository
  enabling updates-source repository
  Last metadata expiration check performed 0:01:35 ago on Tue Aug 25
  08:04:37 2015.
  iproute-3.16.0-3.fc22.src.rpm 689 kB/s | 615 kB 00:00
 
  $ rpm -q  dnf-plugins-core
  package dnf-plugins-core is not installed
 
  Regards,
  Rami Rosen
  http://ramirose.wix.com/ramirosen

 python-dnf-plugins-core is also possible

 Name: python-dnf-plugins-core
 Arch: noarch
 Epoch   : 0
 Version : 0.1.10
 Release : 1.fc22
 Size: 210 k
 Repo: @System
 From repo   : updates
 Summary : Core Plugins for DNF
 URL : https://github.com/rpm-software-management/dnf-plugins-core
 License : GPLv2+
 Description : Core Plugins for DNF, Python 2 interface. This package
 enhance DNF
 : with builddep, copr, debuginfo-install, download, kickstart,
 : needs-restarting, repoquery and reposync commands.
 Additionally
 : provides generate_completion_cache, noroot and
 protected_packages
 : passive plugins.


The dnf-plugins-core package only contains manual pages, whereas
python-dnf-plugins-core contains the actual plugins for python2 and
python3-dnf-plugins-core contains the plugins for python3 (all built from
the same source rpm).

 dnf-plugins-core acts more as a -common package or a meta package that,
currently, pulls python-dnf-plugins-core (but python-dnf-plugins-core
doesn't require dnf-plugins-core); I guess in future when dnf switches to
using python3 by default it'll require python3-dnf-plugins-core.

--
Ahmad Samir
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Open Broadcaster software in Fedora

2015-08-25 Thread Ranjan Maitra
On Tue, 25 Aug 2015 08:56:42 +0300 jarmo oh1...@nic.fi wrote:

 Mon, 24 Aug 2015 09:36:29 -0700
 Rick Stevens ri...@alldigital.com kirjoitti:
 
  On 08/22/2015 01:02 PM, Ranjan Maitra wrote:
   Oops! I forgot to include the url:
  
   https://obsproject.com/
  
  I use OBS, however I built it from the source code I obtained by git.
  Not sure about any pre-packaged versions.
 
 What about command dnf install obs-studio?
 

Don't you need a repo having that package before you enable it prior to 
download? 

Ranjan


Can't remember your password? Do you need a strong and secure password?
Use Password manager! It stores your passwords  protects your account.
Check it out at http://mysecurelogon.com/password-manager


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: yumdownloader equivalent for dnf

2015-08-25 Thread Ed Greshko
On 08/25/15 13:08, Rami Rosen wrote:
 Hi,
 you'll need to have the dnf-plugins-core package installed to have access to 
 the download command for dnf.
 Are you sure ?


Just to continue the investigation of what you're suggesting/seeing 

[egreshko@f22k ~]$ rpm -q dnf-plugins-core python-dnf-plugins-core
dnf-plugins-core-0.1.10-1.fc22.noarch
python-dnf-plugins-core-0.1.10-1.fc22.noarch
[egreshko@f22k ~]$ sudo dnf erase python-dnf-plugins-core dnf-plugins-core
[sudo] password for egreshko:
Dependencies resolved.
==
 Package  ArchVersion  Repository
Size
==
Removing:
 dnf-plugins-core noarch  0.1.10-1.fc22@System  7.7 
k
 python-dnf-plugins-core  noarch  0.1.10-1.fc22@System  210 
k

Transaction Summary
==
Remove  2 Packages

Installed size: 218 k
Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Erasing : dnf-plugins-core-0.1.10-1.fc22.noarch 
1/2
  Erasing : python-dnf-plugins-core-0.1.10-1.fc22.noarch  
2/2
  Verifying   : dnf-plugins-core-0.1.10-1.fc22.noarch 
1/2
  Verifying   : python-dnf-plugins-core-0.1.10-1.fc22.noarch  
2/2

Removed:
  dnf-plugins-core.noarch 0.1.10-1.fc22 
 
  python-dnf-plugins-core.noarch 0.1.10-1.fc22  
 

Complete!

But then.

[egreshko@f22k ~]$ dnf download --source firefox 
No such command: download. Please use /usr/bin/dnf --help
It could be a DNF plugin command, try: dnf install 'dnf-command(download)'

So I did

[egreshko@f22k ~]$ sudo dnf install 'dnf-command(download)'  
Last metadata expiration check performed 1:05:31 ago on Tue Aug 25 13:40:10 
2015.
Dependencies resolved.
==
 Package  ArchVersion  Repository
Size
==
Installing:
 dnf-plugins-core noarch  0.1.10-1.fc22updates   34 
k
 python-dnf-plugins-core  noarch  0.1.10-1.fc22updates   83 
k

Transaction Summary
==
Install  2 Packages

Total download size: 117 k
Installed size: 218 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): dnf-plugins-core-0.1.10-1.fc22.noarch.rpm   47 kB/s |  34 kB 00:00   
(2/2): python-dnf-plugins-core-0.1.10-1.fc22.noar  88 kB/s |  83 kB 00:00   
--
Total  43 kB/s | 117 kB 00:02   
 
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : python-dnf-plugins-core-0.1.10-1.fc22.noarch  
1/2
  Installing  : dnf-plugins-core-0.1.10-1.fc22.noarch 
2/2
  Verifying   : dnf-plugins-core-0.1.10-1.fc22.noarch 
1/2
  Verifying   : python-dnf-plugins-core-0.1.10-1.fc22.noarch  
2/2

Installed:
  dnf-plugins-core.noarch 0.1.10-1.fc22 
 
  python-dnf-plugins-core.noarch 0.1.10-1.fc22

And then

[egreshko@f22k ~]$ dnf download --source firefox
enabling fedora-source repository
enabling rpmfusion-free-updates-source repository
enabling rpmfusion-free-source repository
enabling rpmfusion-nonfree-updates-source repository
enabling updates-source repository
enabling rpmfusion-nonfree-source repository
.
.
.

It worked

Wondering if your rpmdb may be corrupt.



-- 
It seems most people that say they are done talking about it never really are 
until given the last word.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Open Broadcaster software in Fedora

2015-08-25 Thread jarmo
Tue, 25 Aug 2015 01:10:47 -0500
Ranjan Maitra maitra.mbox.igno...@inbox.com kirjoitti:

 Don't you need a repo having that package before you enable it prior
 to download? 
 
 Ranjan

Yes, sorry my bad...
Here's how to do
https://obsproject.com/forum/threads/fedora-22-installation-instructions.33998/

Jarmo
-- 
конец
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange behaviour of ln

2015-08-25 Thread Andras Simon
2015-08-24 22:55 GMT+02:00, Paolo Galtieri pgalti...@gmail.com:
 I've tried this on 2 different systems, and on both systems ln -s fails
 in the same way.

 Here's the steps

 mkdir Test
 cd Test
  afile
 cd ..
 ln -s Test/afile Test/afile2
 ls -l Test

 This is the output:
 /bin/ls: cannot access Test/afile2: No such file or directory
 total 0
 -rw-rw-r--. 1 pgaltieri pgaltieri 0 Aug 24 13:46 afile
 l?? ? ? ? ?? afile2

I'm not sure, but maybe this is what -r is for:

$ mkdir Test
$  Test/afile
$ ln -sr Test/afile Test/afile2
$ ls -l Test/
total 0
-rw-rw-r--. 1 simon simon 0 Aug 25 20:49 afile
lrwxrwxrwx. 1 simon simon 5 Aug 25 20:49 afile2 - afile

Andras
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange behaviour of ln

2015-08-25 Thread Joe Zeff

On 08/25/2015 11:52 AM, Andras Simon wrote:

I'm not sure, but maybe this is what -r is for:


   -r, --relative
  create symbolic links relative to link location
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: yumdownloader equivalent for dnf

2015-08-25 Thread Rahul Sundaram
Hi

On Tue, Aug 25, 2015 at 5:01 AM, Ed Greshko wrote:

 On 08/25/15 16:27, Ahmad Samir wrote:
  The dnf-plugins-core package only contains manual pages

 I suppose it would have been nice for the Description to make that
 clear.  :-)


Maybe a nice bug report will make that happen :-)

Rahul
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: F22: how to mount AFS directory?

2015-08-25 Thread Ranjan Maitra
Hi,

Thanks very much again!!
 
 Try this:
 
  $ sudo dnf install fuse-afp
  $ mount_afp 
  Usage:
   mount_afp [-o volpass=password] afp url mountpoint
 

The university has AFS space for me provided at /afs/z.edu/users/xx/yy/me 
/mnt/afs

where z.edy is the university domain name and the xx and yy are digits 
which have my directory (me). 

I tried the following:


mount_afp -o volpass=password  /afs/z.edu/users/xx/yy/me  /mnt/afs 

but I get 

Could not parse URL

How should this URL be parsed? 

I tried:

https://webfiles.z.edu/?path=/afs/z.edu/users/xx/yy/me

but got nowhere (same error message). 

Is there an example I could follow?

Many thanks,
Ranjan


Can't remember your password? Do you need a strong and secure password?
Use Password manager! It stores your passwords  protects your account.
Check it out at http://mysecurelogon.com/manager


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: yumdownloader equivalent for dnf

2015-08-25 Thread Ed Greshko
On 08/26/15 08:50, Rahul Sundaram wrote:
 Hi

 On Tue, Aug 25, 2015 at 5:01 AM, Ed Greshko wrote:

 On 08/25/15 16:27, Ahmad Samir wrote:
  The dnf-plugins-core package only contains manual pages

 I suppose it would have been nice for the Description to make that 
 clear.  :-)


 Maybe a nice bug report will make that happen :-)


Strangely, that is on my to-do list for this week.  :-)


-- 
It seems most people that say they are done talking about it never really are 
until given the last word.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Open Broadcaster software in Fedora

2015-08-25 Thread Ranjan Maitra
On Tue, 25 Aug 2015 09:50:35 +0300 jarmo oh1...@nic.fi wrote:

 Tue, 25 Aug 2015 01:10:47 -0500
 Ranjan Maitra maitra.mbox.igno...@inbox.com kirjoitti:
 
  Don't you need a repo having that package before you enable it prior
  to download? 
  
  Ranjan
 
 Yes, sorry my bad...
 Here's how to do
 https://obsproject.com/forum/threads/fedora-22-installation-instructions.33998/
 

Great! Thank you very much!!

Best wishes,
Ranjan


Can't remember your password? Do you need a strong and secure password?
Use Password manager! It stores your passwords  protects your account.
Check it out at http://mysecurelogon.com/manager


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: F22: how to mount AFS directory?

2015-08-25 Thread Ranjan Maitra
On Tue, 25 Aug 2015 00:38:03 +0100 Patrick O'Callaghan 
pocallag...@gmail.com wrote:

 On Mon, 2015-08-24 at 18:19 -0500, Ranjan Maitra wrote:
  Does anyone know how to mount an AFS filesystem (I think it is called
  an Andrews' Filesystem) on Fedora 22? 
 
 The Andrew File System was part of the Andrew project at Carnegie
 Mellon University many years ago.
 
 See https://en.wikipedia.org/wiki/Andrew_File_System
 
  I looked around on the web, but did not come up with anything that 
  worked so I thought that I would ask for some advice.
 
 According to the above page RedHat has an implementation in early
 development. You could also try https://openafs.org/

Patrick,

Thanks! I did look at that page, but it seemed to me that that was written from 
the view of how to run an AFS server. Maybe I did not read carefully, but i was 
looking for how one mounts an AFS server. In the case of a CIFS mount (say), I 
can use the command:

/sbin/mount.cifs //full.path.to.server /mnt/local.directory -o nounix -o 
username=me,domain=domain.name,sec=ntlmv2

Is there a similar command for AFS mounts?

Many thanks and best wishes,
Ranjan


FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange behaviour of ln

2015-08-25 Thread Cameron Simpson

On 25Aug2015 08:34, Paolo Galtieri pgalti...@gmail.com wrote:

On 08/24/2015 02:19 PM, Cameron Simpson wrote:

On 24Aug2015 13:55, Paolo Galtieri pgalti...@gmail.com wrote:
Symlinks are strings resolved with respect to the directory in which
the symlink exists.

So the example above Test/afile = Test/afile2 makes a symlink 
_in_ the directory Test named afile2 pointing at Test/afile. 
Therefore it tries to access the path Test/Test/afile, which fails 
as one might expect.


When making a symbolic link it needs to either be (a) an absolute 
path or (b) relative WRT to the directory hodling the link. For the 
latter, the reliable way is to cd to the  directory and make in from 
inside. That way command line filename completion prodcues working 
results.

[...]


 thank you for your reply.  As it turns out the ln command

ln -s Test/afile Test/afile1

does create the link.


Of course it does. It is just a string. You can put pretty much anything you 
like in there.



The problem as you noted is the ls command.


No, the problem is that the string in the symlink is _wrong_. ls is behaving 
correctly. What you have put in the symlink is wrong, because it does not 
correctly point at the target file.


You can either manually construct a correct symlink (suggestions above) or if 
you have GNU ln (true on Fedora) use the -r option to have it figure this out 
for you.


Cheers,
Cameron Simpson c...@zip.com.au
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: dnf --refresh reverts to older metadata (was: Re: dnf update vs Software Udpates)

2015-08-25 Thread Michael Schwendt
On Mon, 24 Aug 2015 16:48:22 +0200, Heinz Diehl wrote:

  https://fedorahosted.org/fedora-infrastructure/ticket/4866
 
 Maybe it's time to take a look at how other distributions do it.
 Arch's pacman has worked for me without any trouble a long time. And
 there is Opensuse  Co..

For such a step, evaluating where we are today should come first, IMO.
Then you can compare with how others do it, whether they distribute
their users to the same number of mirrors world-wide, or whether they
prefer a few mirrors run by passioned admins.

The master repository is updated.

Announcements are mailed out.

Users read an announcement, but they don't see the updates yet.
WTF? Why not? Forum posts around the world suggest yum clean all
and dnf clean all as _the fix_. But it isn't a fix, if the nearby
mirrors don't carry the changed repo contents yet. dnf --refresh
doesn't force retrieval of latest repodata either. (And that it even
reverted to old data is an unrelated bug in the implementation.)
Any automatically triggered check of the metadata would have achieved
the same, if done at the right time. Mirrors not being up-to-date,
nothing new to fetch.

Updates become available as soon as they arrive on the nearby mirrors.
Is that sent as a clear message to all Fedora users? I don't think so.

On average, how long does it take for updates to arrive on the mirrors?
Is anything known here? How long does it take for updates to arrive in
another country? Are there any high-priority mirrors, who likely carry
the latest changes quickly after release? Would it be possible to assign
users to nearby repos in a more reliable way? Questions, questions,
questions.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: F22: how to mount AFS directory?

2015-08-25 Thread birger
Once you start the OpenAFS client it will by default attach itself at
/afs IIRC. You can change the default in a config file or the command
line.

The way I used AFS a lng time back, it used Kerberos to
authenticate you to the AFS network, and everything you had access to
was available in that /afs top level structured by Kerberos domains and
then local file system structures. There was no mounting in the
traditional sense. It is one big, cloudy repository that was primarily
used by collaborating scientists. You could browse around and find all
kinds of interesting stuff. :-) I used Scientific Linux (fork of
CentOS) back then, and it had AFS installed by default.

It's a long time ago, so I may be hazy on this.


ti., 25.08.2015 kl. 08.09 -0500, skrev Ranjan Maitra:
 On Tue, 25 Aug 2015 00:38:03 +0100 Patrick O'Callaghan 
 pocallag...@gmail.com wrote:
 
  On Mon, 2015-08-24 at 18:19 -0500, Ranjan Maitra wrote:
   Does anyone know how to mount an AFS filesystem (I think it is
   called
   an Andrews' Filesystem) on Fedora 22? 
  
  The Andrew File System was part of the Andrew project at Carnegie
  Mellon University many years ago.
  
  See https://en.wikipedia.org/wiki/Andrew_File_System
  
   I looked around on the web, but did not come up with anything
   that 
   worked so I thought that I would ask for some advice.
  
  According to the above page RedHat has an implementation in early
  development. You could also try https://openafs.org/
 
 Patrick,
 
 Thanks! I did look at that page, but it seemed to me that that was
 written from the view of how to run an AFS server. Maybe I did not
 read carefully, but i was looking for how one mounts an AFS server.
 In the case of a CIFS mount (say), I can use the command:
 
 /sbin/mount.cifs //full.path.to.server /mnt/local.directory -o nounix
 -o username=me,domain=domain.name,sec=ntlmv2
 
 Is there a similar command for AFS mounts?
 
 Many thanks and best wishes,
 Ranjan
 
 
 FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
 Check it out at http://www.inbox.com/earth
 
 
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: F22: how to mount AFS directory?

2015-08-25 Thread Dario Lesca
Il giorno lun, 24/08/2015 alle 18.19 -0500, Ranjan Maitra ha scritto:
 Hi,
 
 Does anyone know how to mount an AFS filesystem (I think it is called
 an Andrews' Filesystem) on Fedora 22? 
 
 I looked around on the web, but did not come up with anything that
 worked so I thought that I would ask for some advice.
 
 Thank you for any help you are able to provide!

Try this:

 $ sudo dnf install fuse-afp
 $ mount_afp 
 Usage:
  mount_afp [-o volpass=password] afp url mountpoint

Found via:
https://www.google.it/?gws_rd=ssl#q=fedora+how+to+mount+AFS+directory

hope this help

Dario Lesca
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


strange behavior of external esatausb ports on a Dell laptop

2015-08-25 Thread jd1008

On a Dell E6510 laptop, there are 4 ports: 3 USB, and 1 eSata.
The ports on the left side of the laptop are USB and eSata.
Both of these ports start losing voltage after some time of
operation, say 1 hours to 5 hours.
I say lose voltage, because I actually hooked up a 5volt DC
tiny fan to the usb port (no HD connected to eSata port beneath it.
After about 90 minutes, the fan slowed down.
I unplugged it and connected it to the usb port on the right side
of the laptop and it imnediately resumed it's normal rpm and stayed there
until shutdown several hours later.
P.S: The voltage drop occurs on both ports on the left. The
eSata port also functions as a usb port, and the fan slowed down
on it as well.
Connecting a sata dist to the eSata port leads to the disk disappearing
from /dev when the voltage drops.

Power management is not enabled as laptop is always on AC.
Screensaver's power management is configured to never turn off monitor, 
nor disks

nor suspend system ...etc.

So, what might be causing the voltage drop, and how can I prevent it 
from happening?

What data do I need to gather?




--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org