Opened 4 years ago

Closed 4 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:
Has a Patch: no 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 Changed 4 years ago by kallisti5

Description: modified (diff)

comment:2 Changed 4 years ago by kallisti5

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 | 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 Changed 4 years ago by pulkomandy

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 Changed 4 years ago by pulkomandy

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 Changed 4 years ago by pulkomandy

Resolution: fixed
Status: assignedclosed

openssh package replaced in hrev49402.

Note: See TracTickets for help on using tickets.