Bug 12184 - Loading shared RPC modules failed
Loading shared RPC modules failed
Status: RESOLVED FIXED
Product: Samba 4.1 and newer
Classification: Unclassified
Component: File services
4.5.0rc2
All Solaris
: P5 normal
: 4.5
Assigned To: Karolin Seeger
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-08-26 17:37 UTC by Tom Schulz
Modified: 2016-09-07 15:10 UTC (History)
2 users (show)

See Also:


Attachments
Patch for 4.5 cherry-picked from master (1.38 KB, patch)
2016-09-06 13:54 UTC, Ralph Böhme
metze: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Schulz 2016-08-26 17:37:38 UTC
From the samba mailing list:

>> I am testing Samba 4.5.0rc2 on a Solaris 10 i386 box. log.smbd contains
>> a new message/error that does not show up on Samba 4.4.5. The error is:
>> 
>> [2016/08/26 11:45:54.886237,  0]
>>       ../source3/rpc_server/rpc_service_setup.c:539(dcesrv_ep_setup)
>>   dcesrv_ep_setup: Loading shared RPC modules failed
>> 
>> Dispite that, Samba 4.5.0rc2 seems to work correctly. Is this a problem
>> or not?
>
>nothing too bad, but please file a bugreport so I can track this. To
>get rid of it you can
>
># smbd -b | grep MODULESDIR
>
># mkdir MODULESDIR/rpc
>
>This should get rid of it.
>
>Cheerio!
>-slow

That fixes it. It looks like install fails to make that directory.
Comment 1 Chris Smith 2016-08-26 20:00:45 UTC
Same problem here with Samba Version 4.5.0rc3-GIT-eb55718 compiled from source:

Aug 26 12:21:37 sartre systemd[1]: Starting Samba SMB/CIFS server...
Aug 26 12:21:37 sartre systemd[1]: smbd.service: Supervising process 5373 which is not our child. We'll most likely not notice when it exits.
Aug 26 12:21:37 sartre smbd[5373]: [2016/08/26 12:21:37.882508,  0] ../source3/rpc_server/rpc_service_setup.c:539(dcesrv_ep_setup)
Aug 26 12:21:37 sartre smbd[5373]:   dcesrv_ep_setup: Loading shared RPC modules failed

Seems the RPC folder does not get made as the same workaround resolves.
Comment 2 Chris Smith 2016-08-26 20:02:15 UTC
(In reply to Chris Smith (bugmail disabled due to bounces) from comment #1)

Note: my issue was on Linux.
Comment 3 Stefan Metzmacher 2016-09-06 12:40:10 UTC
Ping!

We do need 58889e04bd545d7420d1193e134351bd0ccb8430 backported...
Comment 4 Ralph Böhme 2016-09-06 13:54:49 UTC
Created attachment 12444 [details]
Patch for 4.5 cherry-picked from master
Comment 5 Ralph Böhme 2016-09-06 14:09:25 UTC
Reassigning to metze for inclusion in 4.5.
Comment 6 Stefan Metzmacher 2016-09-06 14:10:56 UTC
Pushed to autobuild-v4-5-test.
Comment 7 Stefan Metzmacher 2016-09-07 15:10:34 UTC
Pushed to v4-5-test