View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001112 | unreal | installing | public | 2003-07-11 10:11 | 2003-11-20 19:43 |
| Reporter | iceblade | Assigned To | syzop | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 3.2-beta17 | ||||
| Summary | 0001112: cannot start ircd with chrootdir enabled | ||||
| Description | when starting the ircd it will say it can't change to /where/you/installed/unreal strace showed it chdir'd /where/you/installed/unreal chrooted to /where/you/installed/unreal and then chdired /where/you/installed/unreal again reporting the error : ERROR: Unable to change to directory /where/you/installed/unreal sorry no logs, lost them when i fixed this (see below) | ||||
| Steps To Reproduce | define CHROOTDIR, compile and run ircd | ||||
| Additional Information | found out what causes the problem too: in ircd.c line 1517 it sais : #ifndef CHROOT should be : #ifndef CHROOTDIR as CHROOTDIR is what is defined in the config.h (and used on other placed in the source) | ||||
| 3rd party modules | |||||
|
|
Hm yeah.. In the meantime you could use "./" as ircd path and "src/ircd" as ircd binary path (in ./Config), that seems to work.. also don't forget to enable IRC_UID / IRC_GID since root in a chroot is not a good idea. I assume here that you will start the ircd as root, and won't set it suid or something, coz then the ./ path would be dangerous of course. |
|
|
oh I didn't even read what you said :P |
|
|
Fixed in .1905. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2003-07-11 10:11 | iceblade | New Issue | |
| 2003-08-11 16:46 | syzop | Note Added: 0003453 | |
| 2003-08-13 04:18 | syzop | Status | new => acknowledged |
| 2003-08-13 04:18 | syzop | Note Added: 0003468 | |
| 2003-09-05 21:15 | syzop | Status | acknowledged => resolved |
| 2003-09-05 21:15 | syzop | Resolution | open => fixed |
| 2003-09-05 21:15 | syzop | Assigned To | => syzop |
| 2003-09-05 21:15 | syzop | Note Added: 0003592 | |
| 2003-11-20 19:43 | syzop | Status | resolved => closed |