Bug 25512 - chroot and run as rpcbind user broken
Summary: chroot and run as rpcbind user broken
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: rpcbind (show other bugs)
Version: unstable
Hardware: all Linux
: P3 critical
Assignee: Sergey Bolshakov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-25 23:35 MSK by Sergey Vlasov
Modified: 2011-04-26 00:18 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Vlasov 2011-04-25 23:35:59 MSK
В rpcbind-0.2.1-alt0.4 (на самом деле ещё в 0.2.1-alt0.3) сломались изменения, добавлявшие поддержку chroot и работу под пользователем rpc по умолчанию.  В результате сейчас не работает даже service rpcbind restart:

# killall rpcbind
# service rpcbind start
Starting rpcbind service:                                               [ DONE ]
# service rpcbind restart
Service rpcbind is not running.                                         [PASSED]
Starting rpcbind service: rpcbind: another rpcbind is already running. Aborting
                                                                        [FAILED]

В выводе ps можно наблюдать, что процесс rpcbind выполняется с правами root (поэтому start-stop-daemon --expect-user=rpc его и не видит). Кроме того, прямо в корневом каталоге появляются файлы /rpcbind.xdr и /portmap.xdr.
Comment 1 Sergey Bolshakov 2011-04-26 00:18:35 MSK
fixed in rpcbind-0.2.1-alt0.5