Opened 9 years ago

Closed 9 years ago

#12181 closed bug (fixed)

Missing symbol "innetgr" in network kit

Reported by: kallisti5 Owned by: pulkomandy
Priority: normal Milestone: R1/beta1
Component: Kits/Network Kit Version: R1/Development
Keywords: sshd innetgr Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by kallisti5)

sshd is complaining of a missing symbol "innetgr" in the network kit.

Test: hrev49332, x86_64

Change History (5)

comment:1 by kallisti5, 9 years ago

Description: modified (diff)

comment:2 by kallisti5, 9 years ago

KERN: runtime_loader: /boot/system/bin/sshd: Could not resolve symbol 'innetgr'
KERN: runtime_loader: /boot/system/bin/sshd: Troubles relocating: symbol not found
kallisti5@eris network :( $ readelf -a libnetwork.so | grep innetgr
kallisti5@eris network :( $ 
kallisti5@eris net :) $ readelf -a net_server | grep innetgr
kallisti5@eris net :( $ 

It could be we just need to rebuild openssh.. not sure if innetgr is supposed to still be within our network kit.

comment:3 by pulkomandy, 9 years ago

Owner: changed from axeld to pulkomandy
Status: newassigned

"These functions are not in POSIX.1-2001, but setnetgrent(), endnetgrent(), getnetgrent(), and innetgr() are available on most UNIX systems. getnetgrent_r() is not widely available on other systems."

When porting netresolv I cherry-picked the parts of it I needed to get Haiku to compile. If other things are missing they probably can be extracted from the netresolv patches and added back.

comment:4 by pulkomandy, 9 years ago

This is not part of netresolv, and the code from NetBSD is not easily imported (too much dependencies to other NetBSD components). BeOS didn't provide it, so we should probably just rebuild sshd.

comment:5 by pulkomandy, 9 years ago

Resolution: fixed
Status: assignedclosed

openssh package replaced in hrev49402.

Note: See TracTickets for help on using tickets.