[frameworks-solid] [Bug 474242] Duplicate item in Places / "Remote" for fstab-mounted NFS drive

2023-09-12 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=474242

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||6.0

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-solid] [Bug 474242] Duplicate item in Places / "Remote" for fstab-mounted NFS drive

2023-09-12 Thread Méven
https://bugs.kde.org/show_bug.cgi?id=474242

Méven  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/fram
   ||eworks/solid/-/commit/eaebf
   ||4a0adc65e4765ce978da1075b26
   ||82707d4f
 Status|ASSIGNED|RESOLVED

--- Comment #9 from Méven  ---
Git commit eaebf4a0adc65e4765ce978da1075b2682707d4f by Méven Car.
Committed on 11/09/2023 at 19:23.
Pushed by meven into branch 'master'.

FstabHandling: ensure mountpoints starts with / for nfs

M  +18   -2src/solid/devices/backends/fstab/fstabhandling.cpp

https://invent.kde.org/frameworks/solid/-/commit/eaebf4a0adc65e4765ce978da1075b2682707d4f

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-solid] [Bug 474242] Duplicate item in Places / "Remote" for fstab-mounted NFS drive

2023-09-11 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=474242

--- Comment #8 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/frameworks/solid/-/merge_requests/143

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-solid] [Bug 474242] Duplicate item in Places / "Remote" for fstab-mounted NFS drive

2023-09-10 Thread Massimiliano L
https://bugs.kde.org/show_bug.cgi?id=474242

--- Comment #7 from Massimiliano L  ---
(In reply to Méven Car from comment #5)
> I am guessing the issue would be fixed if you updated your fstab line to :
> 
> From
> `nas.local:export/foo /media/net-foo nfs defaults,nofail 0 0`
> 
> To
> `nas.local:/export/foo /media/net-foo nfs defaults,nofail 0 0`
> 
> (note the added slash)

Yes, thank you. I had figured this out when checking the bug report for the
trailing `/` case.

It makes sense to have a full absolute path after `:` but apparently fstab does
not care.

Thank you for working on this!

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-solid] [Bug 474242] Duplicate item in Places / "Remote" for fstab-mounted NFS drive

2023-09-10 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=474242

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #6 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/frameworks/solid/-/merge_requests/142

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-solid] [Bug 474242] Duplicate item in Places / "Remote" for fstab-mounted NFS drive

2023-09-10 Thread Méven Car
https://bugs.kde.org/show_bug.cgi?id=474242

Méven Car  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Ever confirmed|0   |1
 Status|NEEDSINFO   |CONFIRMED

--- Comment #5 from Méven Car  ---
Thanks.

(In reply to Massimiliano L from comment #4)
> (In reply to Méven Car from comment #3)
> > Can you share your fstab file (or at least all the nfs lines) ?
> 
> The fstab entry is as follows:
> > nas.local:export/foo /media/net-foo nfs defaults,nofail 0 0
> 
> The content of  `$HOME/.local/share/user-places.xbel` seems to hold a lot of
> out-of-date entries (is this a bug as well?). Since I have changed my
> configuration a few times I am not sure how to find the "corresponding"
> bookmark, but I guess it is this one:
> 
> > 
> >  
> >   http://www.kde.org";>
> >/org/kde/fstab/nas.local:export/foo:/media/net-foo
> >true
> >true
> >   
> >  
> > 
> 
You must have one for `/org/kde/fstab/nas.local:/export/foo:/media/net-foo`
too./net-foo' as well.

I am guessing the issue would be fixed if you updated your fstab line to :

From
`nas.local:export/foo /media/net-foo nfs defaults,nofail 0 0`

To
`nas.local:/export/foo /media/net-foo nfs defaults,nofail 0 0`

(note the added slash)

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-solid] [Bug 474242] Duplicate item in Places / "Remote" for fstab-mounted NFS drive

2023-09-10 Thread Massimiliano L
https://bugs.kde.org/show_bug.cgi?id=474242

--- Comment #4 from Massimiliano L  ---
(In reply to Méven Car from comment #3)
> Can you share your fstab file (or at least all the nfs lines) ?

The fstab entry is as follows:
> nas.local:export/foo /media/net-foo nfs defaults,nofail 0 0

The content of  `$HOME/.local/share/user-places.xbel` seems to hold a lot of
out-of-date entries (is this a bug as well?). Since I have changed my
configuration a few times I am not sure how to find the "corresponding"
bookmark, but I guess it is this one:

> 
>  
>   http://www.kde.org";>
>/org/kde/fstab/nas.local:export/foo:/media/net-foo
>true
>true
>   
>  
> 

And here is the output from solid-hardware5 list for the concerned mount:
> udi = '/org/kde/fstab/nas.local:/export/foo:/media/net-foo'
> udi = '/org/kde/fstab/nas.local:export/foo:/media/net-foo'

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-solid] [Bug 474242] Duplicate item in Places / "Remote" for fstab-mounted NFS drive

2023-09-10 Thread Méven Car
https://bugs.kde.org/show_bug.cgi?id=474242

--- Comment #3 from Méven Car  ---
Can you share your fstab file (or at least all the nfs lines) ?

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-solid] [Bug 474242] Duplicate item in Places / "Remote" for fstab-mounted NFS drive

2023-09-10 Thread Méven Car
https://bugs.kde.org/show_bug.cgi?id=474242

Méven Car  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO
 CC||meve...@gmail.com

--- Comment #2 from Méven Car  ---
Two questions:

Can you share the bookmark corresponding to your mount present in
`$HOME/.local/share/user-places.xbel` ?

Can you share the result of the command `solid-hardware list` (might be
`solid-hardware5 list`, you might to install a package to have it)  for the
lines concerning your mount ?

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-solid] [Bug 474242] Duplicate item in Places / "Remote" for fstab-mounted NFS drive

2023-09-07 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=474242

Nate Graham  changed:

   What|Removed |Added

 CC||me...@kde.org

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-solid] [Bug 474242] Duplicate item in Places / "Remote" for fstab-mounted NFS drive

2023-09-07 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=474242

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-solid] [Bug 474242] Duplicate item in Places / "Remote" for fstab-mounted NFS drive

2023-09-06 Thread Massimiliano L
https://bugs.kde.org/show_bug.cgi?id=474242

--- Comment #1 from Massimiliano L  ---
Extending the fix to bug 406242 would be a bit inelegant as one would need to
test 4 combinations of (non) leading / (non) trailing slashes.

Could we assume that 'mtab' device name will always have the same style
(leading slash without trailing slash) and convert the fstab string to that
style, before testing with 'contains'?

-- 
You are receiving this mail because:
You are watching all bug changes.