marionnet doesn't run as non-root user
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
marionnet |
Fix Committed
|
Medium
|
Unassigned |
Bug Description
If I try to run as a regular user I get the following output. Running as 'root' finds global_options.ml and the system starts with a warning about running as UID=0 as it should!
MARIONNET_
=======
Welcome to marionnet
Version : 0.90.6
Source revision : 318 - 2011-02-02 19:27:57 +0100
Ocamlbricks revision : 229 - 2010-11-23 10:55:39 +0100
Built in date 2013-06-24 19:58:17 +1200 on system:
Linux 3.2.0-48-generic #74-Ubuntu SMP
Thu Jun 6 19:43:26 UTC 2013 x86_64
GNU/Linux
For bug reporting, please get a launchpad account and
either:
- report bugs at https:/
or do *all* the following:
- add yourself to the marionnet-dev team
- add yourself to the marionnet-dev mailing list
- write to <email address hidden>
=======
[0]: MARIONNET_DEBUG is true (debug level 1)
[0]: Searching for variable MARIONNET_TERMINAL:
[0]: Warning: MARIONNET_TERMINAL not declared.
[0]: - using default "xterm,-T,-e"
[0]: Searching for variable MARIONNET_
[0]: Warning: MARIONNET_
[0]: - using default "default"
[0]: Searching for variable MARIONNET_
[0]: Warning: MARIONNET_
[0]: - using default "default"
[0]: Searching for variable MARIONNET_
[0]: Warning: MARIONNET_
[0]: - using default "default"
[0]: Searching for variable MARIONNET_
[0]: Warning: MARIONNET_
[0]: - using default "default"
[0]: Searching for variable MARIONNET_PREFIX:
[0]: Warning: MARIONNET_PREFIX not declared.
[0]: - using default "/usr/local/
[0]: Searching for variable MARIONNET_
[0]: Warning: MARIONNET_
[0]: - using default "/usr/local/
[0]: Searching for variable MARIONNET_
[0]: Warning: MARIONNET_
[0]: - using default "/usr/local/
[0]: Searching for variable MARIONNET_
[0]: Warning: MARIONNET_
[0]: - using default ""
[0]: Searching for variable MARIONNET_
[0]: Warning: MARIONNET_
[0]: - using default "192.168.1.254/24"
[0]: Loading module global_options.ml
Fatal error: exception Not_found
Changed in marionnet: | |
importance: | Undecided → Medium |
status: | New → Fix Committed |
I dug some more into this. Seems that the marionnet_ from_scratch script was getting confused by the fact that I had umask set to 027
http:// blogs.gentoo. org/mgorny/ 2011/10/ 18/027- umask-a- compromise- between- security- and-simplicity/
I reset the umask, reinstalled and it's now working.