Bug 11904 - Missed dependency on 'su'
Summary: Missed dependency on 'su'
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: subversion-server-standalone (show other bugs)
Version: unstable
Hardware: all Linux
: P2 minor
Assignee: Andrey Cherepanov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on: 11359
Blocks:
  Show dependency tree
 
Reported: 2007-05-28 14:11 MSD by Nikolay A. Fetisov
Modified: 2008-11-09 13:14 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolay A. Fetisov 2007-05-28 14:11:03 MSD
В зависимостях пакета subversion-server-standalone-1.4.3-alt3 не 
указана /bin/su, однако без неё сервер через init-скрипт запустить невозможно.



Steps to Reproduce:
# service svnserve start
Starting svnserve service: start-stop-daemon: execv: /bin/su: No such file or 
directory
[FAILED]
# apt-get install su
....
# service svnserve start
Starting svnserve service: [ DONE ]
Comment 1 Grigory Batalov 2008-10-21 16:28:08 MSD
Передаю мэйнтейнеру
Comment 2 Afanasov Dmitry 2008-11-05 11:53:27 MSK
вырезка из /etc/init.d/functions
   136                  --user|--set-user)
   137                          shift
   138                          SU="$1"
   139                          [ -n "$EXPECT" ] || EXPECT="$SU"
   140                          shift
   141                          ;;

   191  # Actually start the daemon.
   192          if [ -z "$SU" ]; then
   193                  initlog $INITLOG_ARGS -n "$BASENAME" -c "start-stop-daemon $FLAGS -- $*"
   194          else
   195                  initlog $INITLOG_ARGS -n "$BASENAME" -c "start-stop-daemon $FLAGS --startas /bin/su -- \
   196                          -s /bin/sh -l '$SU' -c '$WHICH $*'"
   197          fi

добавлять requires в subversion, или это дело за service?
Comment 3 Nikolay A. Fetisov 2008-11-05 12:20:42 MSK
Согласно комментариям к #11359 - добавлять requires. 
Comment 4 Afanasov Dmitry 2008-11-05 19:07:31 MSK
понял. с 1.5.4 тогда заброшу.
Comment 5 Dmitry V. Levin 2008-11-06 02:25:01 MSK
Fixed in 1.5.4-alt1