Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log start error, permission denied #89

Open
DarkmatterVale opened this issue Mar 23, 2014 · 6 comments
Open

Log start error, permission denied #89

DarkmatterVale opened this issue Mar 23, 2014 · 6 comments

Comments

@DarkmatterVale
Copy link

When I was trying to install Honeyd on the Raspberry Pi using the Raspbian wheezy image, the log files couldn't be opened because permission was denied. I changed the permissions but it still wouldn't work. I found a website where someone reported the same thing. The link is: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484498.

Anyone have any ideas as for how I can fix this?
Thanks

@DarkmatterVale DarkmatterVale changed the title Log start error permission denied Log start error, permission denied Mar 23, 2014
@nullprobe
Copy link

Same as Issue #7 ?

@DarkmatterVale
Copy link
Author

I think so. Looks that way. If I use Nova, will that help solve the problem?

@awaldow
Copy link
Contributor

awaldow commented Mar 24, 2014

Judging from what's in the bug report linked in the original post it's due to honeyd running (and thus creating any files it would create) as the nobody user, in the nobody group. This is done for security reasons (because honeyd is completely network centric, who knows how it's vulnerable). In the bug report it looks like they're pushing a patch wherein honeyd will no longer overwrite explicit -u and -g declarations with nobody.

Note that, in #7, PherricOxide refers to Nova's post install script setting the permissions for those log files s.t. they're readable (I haven't looked at it in a while, but I think it's chown-ing those files as well) and usable. For reference, he's referring to https://github.com/DataSoft/Nova/blob/master/debian/postinst, line 31 where we chown -R the honeyd log directory to be under the nova group (substitute whatever user you're running honeyd as). Might be a good place to start.

@DarkmatterVale
Copy link
Author

Thanks. I will start there. Also, it is not exactly like issue 7. I am not using nova on my Pi.

@awaldow
Copy link
Contributor

awaldow commented Mar 31, 2014

I understand you aren't using Nova on your pi, but the version of Honeyd in this repo is to some degree modified with Nova in mind. There are some install considerations that must be addressed if trying to use it as its own application which would normally be handled by installing Nova that must now be done by hand.

@DarkmatterVale
Copy link
Author

I did not know this. I will install nova and see if I can get it to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants