https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289678

            Bug ID: 289678
           Summary: git commit 56e00aca338cc45c3fbd4f95c2a8bb8dfac1efb7
                    broke compatibility with old freebsd releases
           Product: Base System
           Version: 14.3-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]

There are some jails that was working with         osrelease = 11.1-STABLE;    
   osreldate = 1101506; and COMPAT11 in kernel. But after upgrade system to
latest stable there are problem with directory listing in some binaries 

for example - #!/usr/local/bin/python2.7
# -*- coding: utf-8 -*-
import os
path ='/root/'

try:
    print(os.listdir(path))
except OSError as e:
    print("Error:", e)

rise ('Error:', OSError(22, 'Invalid argument'))

Also same problem seen in postgres: postgres[36569]: [1-1] FATAL:  could not
read directory "pg_notify": Invalid argument

Also problem notice on older jails with FreeBSD 10 code.

I found exactly which commit broke it.

Is it possible to fix it in way so it will tolerate old binaries when COMPATxx
options used in kernel?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to