bugThe GNU Hurd - Bugs: bug #20907, storeio: ENOENT on lookup causes...


bug #20907: storeio: ENOENT on lookup causes clients to use underlying translator

Submitted by:  Carl Fredrik Hammar <hammy>
Submitted on:  Sun 26 Aug 2007 04:14:50 PM UTC  
Category: Hurd ServersSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: Ready For TestPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: OpenReproducibility: Every Time
Size (loc): NonePlanned Release: None
Effort: 0.00
Wiki-like text discussion box: 

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 26 Aug 2007 04:14:50 PM UTC, original submission:

When layering a store over a file that doesn't exist `storeio' lookup of the store will return ENOENT, causing clients to use underlying translator instead.

$ ls -a
. ..
$ settrans -ac foo -T file bar
$ echo test > foo
$ settrans -g foo
$ cat foo

The solution is to return another error instead. I'm not sure which one is appropriate, but I have attached a patch that returns

Carl Fredrik Hammar <hammy>
Project Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #13806:  storeio-no-enoent.diff added by hammy (596B - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by hammy (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 26 Aug 2007 04:15:32 PM UTChammyStatusNone=>Ready For Test
    Sun 26 Aug 2007 04:14:50 PM UTChammyAttached File-=>Added storeio-no-enoent.diff, #13806

    Back to the top

    Powered by Savane 3.1-cleanup1