unixserver appears to lack SO_PEERCRED support

Bug #565777 reported by joshua pritikin
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ucspi-unix (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: ucspi-unix

This breaks bcron and any other software that relies on SO_PEERCRED.

I have not investigated this exhaustively. This is a tentative diagnosis based on playing around with bcron and trying to compile ucpsi-unix from source (had trouble enabling SO_PEERCRED).

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: ucspi-unix 0.36-4
ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-19-generic i686
Architecture: i386
Date: Sat Apr 17 23:08:56 2010
EcryptfsInUse: Yes
InstallationMedia: Error: [Errno 13] Permission denied: '/var/log/installer/media-info'
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ucspi-unix

Revision history for this message
joshua pritikin (jpritikin73) wrote :
Revision history for this message
joshua pritikin (jpritikin73) wrote :
  • p1 Edit (706 bytes, text/plain)

I couldn't find where HASPEERCRED is defined so I removed the ifdefs. SO_PEERCRED is available via sys/socket.h. Maybe including this header is a new requirement compared to debian or previous ubuntu versions?

Revision history for this message
joshua pritikin (jpritikin73) wrote :

The same problem continues to exist in Natty.

Revision history for this message
joshua pritikin (jpritikin73) wrote :

This still isn't fixed in quantal. Can somebody nudge the maintainer?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ucspi-unix (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Patches

Remote bug watches

Bug watches keep track of this bug in other bug trackers.