Project

General

Profile

Actions

Bug #2527

closed

mkdir needs also to check for ENOSYS on Solaris

Added by dago over 10 years ago. Updated over 10 years ago.

Status:
Invalid
Priority:
Normal
Category:
mod_compress
Target version:
-
ASK QUESTIONS IN Forums:

Description

In mod_compress from lighttpd 1.4.33 the mkdir needs to also check for errno to be ENOSYS on Solaris. This happens when a directory is tried to be created in an auto_home-style directory. This attached patch fixes the issue, taken from
http://sourceforge.net/apps/trac/gar/browser/csw/mgar/pkg/lighttpd/trunk/files/0003-Ignore-ENOSYS-on-mkdir-which-happens-on-automounted-.patch


Files

Actions #1

Updated by dago over 10 years ago

The issue was also raised earlier in the forum at http://redmine.lighttpd.net/boards/2/topics/4163

Actions #2

Updated by stbuehler over 10 years ago

  • Status changed from New to Invalid

Looks like a platform bug to me.

http://www.unix.com/man-page/opensolaris/2/mkdir/ doesn't event document ENOSYS (neither does http://pubs.opengroup.org/onlinepubs/009695399/functions/mkdir.html).

I'm not going to accept ENOSYS as EEXIST.

In case you want to maintain a workaround I suggest adding at least a stat() to check whether it really exists; but I'm not going to maintain such workaround in the upstream code.

Actions

Also available in: Atom