Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

Build crash if --openvpn NOT specified #28

Open
darkpixel opened this issue Oct 15, 2011 · 0 comments
Open

Build crash if --openvpn NOT specified #28

darkpixel opened this issue Oct 15, 2011 · 0 comments
Assignees
Milestone

Comments

@darkpixel
Copy link
Contributor

INFO:root:Building package for router: router1
chmod: missing operand after 400' Trychmod --help' for more information.
Traceback (most recent call last):
File "/home/aaron/.virtualenvs/omtest/bin/openmesher.py", line 154, in
main()
File "/home/aaron/.virtualenvs/omtest/bin/openmesher.py", line 142, in main
plugin.plugin_object.process(m, include_dirs=includedirs, restart_services=includedirs, configPlugins=configPlugins, cliargs=arg)
File "/home/aaron/.virtualenvs/omtest/lib/python2.7/site-packages/OpenMesher/plugins/makedebs/init.py", line 96, in process
raise Exception('Package generation failed in %s. Do you have debhelper and fakeroot installed?' %(base_path))
Exception: Package generation failed in /tmp/openmesher-nrRPK2. Do you have debhelper and fakeroot installed?
(omtest)19:56 ~ $

This fails due to the following line in debian/rules:
find -name "*.key" | xargs chmod 400

If --openvpn is not specified, don't try to chmod non-existent key files.

@ghost ghost assigned darkpixel Oct 15, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant