Opened 12 years ago

Last modified 7 years ago

#515 closed defect (Duplicate)

creation of _tor user broken in latest leopard build

Reported by: dave Owned by: phobos
Priority: Low Milestone:
Component: Core Tor/Tor Version: 0.1.0.18
Severity: Keywords:
Cc: dave, nickm Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

This bug is connected with #443.
The new way of user creation worked with older leopard builds,
but with leopard 10.5 build 9a559 installation of tor fails.

is there a "debug installation mode"? i could provide a log than.

[Automatically added by flyspray2trac: Operating System: OSX 10.5 Leopard]

Child Tickets

Change History (8)

comment:1 Changed 12 years ago by dave

looks like this suckers changed they commandline utils again. damn.
niutil and nidump gone (for good?).

29.09.07 19:42:20 Installer[603] run postflight script for Tor
29.09.07 19:42:20 runner[606] postflight[650]: /Library/Receipts/Tor.pkg/Contents/Resources/addsysuser: line 21: niutil: command not found
29.09.07 19:42:20 runner[606] postflight[650]:
29.09.07 19:42:20 runner[606] postflight[650]: /Library/Receipts/Tor.pkg/Contents/Resources/addsysuser: line 22: niutil: command not found
29.09.07 19:42:20 runner[606] postflight[650]:
29.09.07 19:42:20 runner[606] postflight[650]: /Library/Receipts/Tor.pkg/Contents/Resources/addsysuser: line 32: nidump: command not found
29.09.07 19:42:20 runner[606] postflight[650]:
29.09.07 19:42:20 runner[606] postflight[650]: (standard_in) 1: parse error
29.09.07 19:42:20 runner[606] postflight[650]:
29.09.07 19:42:20 runner[606] postflight[650]: Creating account for _tor...
29.09.07 19:42:20 runner[606] postflight[650]:
29.09.07 19:42:20 runner[606] postflight[650]: /Library/Receipts/Tor.pkg/Contents/Resources/addsysuser: line 35: niutil: command not found
29.09.07 19:42:20 runner[606] postflight[650]:
29.09.07 19:42:20 runner[606] postflight[650]: /Library/Receipts/Tor.pkg/Contents/Resources/addsysuser: line 36: niutil: command not found
29.09.07 19:42:20 runner[606] postflight[650]:
29.09.07 19:42:20 runner[606] postflight[650]: /Library/Receipts/Tor.pkg/Contents/Resources/addsysuser: line 37: niutil: command not found
29.09.07 19:42:20 runner[606] postflight[650]:
29.09.07 19:42:20 runner[606] postflight[650]: /Library/Receipts/Tor.pkg/Contents/Resources/addsysuser: line 38: niutil: command not found
29.09.07 19:42:20 runner[606] postflight[650]: /Library/Receipts/Tor.pkg/Contents/Resources/addsysuser: line 39: niutil: command not found
29.09.07 19:42:20 runner[606] postflight[650]:
29.09.07 19:42:20 runner[606] postflight[650]: /Library/Receipts/Tor.pkg/Contents/Resources/addsysuser: line 41: niutil: command not found
29.09.07 19:42:20 runner[606] postflight[650]:
29.09.07 19:42:20 runner[606] postflight[650]: /Library/Receipts/Tor.pkg/Contents/Resources/addsysuser: line 42: niutil: command not found
29.09.07 19:42:20 runner[606] postflight[650]:
29.09.07 19:42:20 runner[606] postflight[650]: /Library/Receipts/Tor.pkg/Contents/Resources/addsysuser: line 43: niutil: command not found
29.09.07 19:42:20 runner[606] postflight[650]:
29.09.07 19:42:20 runner[606] postflight[650]: /Library/Receipts/Tor.pkg/Contents/Resources/addsysuser: line 44: niutil: command not found
29.09.07 19:42:20 runner[606] postflight[650]:
29.09.07 19:42:20 runner[606] postflight[650]: /Library/Receipts/Tor.pkg/Contents/Resources/addsysuser: line 45: niutil: command not found
29.09.07 19:42:20 runner[606] postflight[650]:
29.09.07 19:42:20 runner[606] postflight[650]: chown: _tor: Invalid argument
29.09.07 19:42:20 runner[606] postflight[650]:
29.09.07 19:42:20 runner[606] postflight[650]: chown: _tor: Invalid argument
29.09.07 19:42:20 runner[606] postflight[650]:
29.09.07 19:42:21 Installer[603] Removing temporary directory "/private/tmp/Tor-0.1.2.17-tiger-universal-Bundle.mpkg.6031G0Gf7"
29.09.07 19:42:21 Installer[603] Finalize disk "80er"
29.09.07 19:42:21 Installer[603] Notifying system of updated components
29.09.07 19:42:21 Installer[603] Summary Information
29.09.07 19:42:21 Installer[603] Operation Elapsed time
29.09.07 19:42:21 Installer[603] -----------------------------
29.09.07 19:42:21 Installer[603] extract 1.04 seconds
29.09.07 19:42:21 Installer[603] zero 0.02 seconds
29.09.07 19:42:21 Installer[603] install 3.93 seconds
29.09.07 19:42:21 Installer[603] validate 0.00 seconds
29.09.07 19:42:21 Installer[603] os 0.00 seconds
29.09.07 19:42:21 Installer[603] script 3.14 seconds
29.09.07 19:42:21 Installer[603] receipt 0.63 seconds
29.09.07 19:42:21 Installer[603] disk 1.02 seconds
29.09.07 19:42:21 Installer[603] config 0.02 seconds
29.09.07 19:42:21 Installer[603] Finalizing installation.
29.09.07 19:42:21 Installer[603] IFDInstallController 75DAF0 state = 5
29.09.07 19:42:21 Installer[603] Displaying 'Install Succeeded' UI.

comment:2 Changed 12 years ago by dave

erm. i just discovered, that the tor installer is using niutil, which was gone in earlier leopard builds, too.
per bug #443 this should be changed to dscl?

has this been reverted or does the script just not recognize this current leopard build and uses the old "tiger-way" via niutil?

comment:3 Changed 12 years ago by nickm

What version was this? 0.2.0.x has an updated install process that should be using dscl, if I understand
correctly. I don't think this is in 0.1.2.x.

(Your bug report says "0.1.0.18", but that version is so obsolete that it no longer works at all anywhere.)

comment:4 Changed 12 years ago by dave

it was the latest stable 0.1.0.17.
i thought it was fixed in the stable version, too.
i'll try the trunk version instead.

comment:5 Changed 12 years ago by nickm

The latest stable is 0.1.2.17. Is that what you mean?

0.1.0.17 is so old it doesn't work at all any more.

comment:6 Changed 12 years ago by phobos

You really want to try 0.2.0.7-alpha. The dscl commands are in there for creating _tor in leopard.

comment:8 Changed 7 years ago by nickm

Component: Tor ClientTor
Note: See TracTickets for help on using tickets.