View Issue Details

IDProjectCategoryView StatusLast Update
0002322Kali LinuxGeneral Bugpublic2015-08-27 08:37
Reportersteev Assigned Tosteev  
PrioritynormalSeveritytweakReproducibilityhave not tried
Status resolvedResolutionno change required 
Product Version2.0 
Fixed in Version2.0 
Summary0002322: metasploit.service systemd unit not being installed on armhf (possibly armel as well)
Description

In my testing, I installed metasploit and metasploit-framework. On an amd64 box, Metasploit launches just fine, however the same version on armhf launches a terminal that reports

Failed to start metasploit.service: Unit metasploit.service failed to load: No such file or directory.

Activities

rhertzog

rhertzog

2015-06-08 11:59

administrator   ~0003383

Does running "systemctl daemon-reload" before trying to start metasploit help?

steev

steev

2015-06-08 12:12

manager   ~0003384

That did not seem to change anything here. Ran systemctl daemon-reload, then systemctl (without arguments) and metasploit.service is still not listed in the output, same output in the terminal when attempting to run metasploit.

I should mention this is attempting to run metasploit from the menu rather than at the console. msfconsole runs from the command line without issue.

And I should have mentioned this is metasploit/metasploit-framework 4.11.2-2015051401-1kali0+b1, metasploit-common 1.0.2-0kali0+b1

steev

steev

2015-06-08 13:00

manager   ~0003385

Just to be clear, there is no metasploit.service file in /lib/systemd/system nor /etc/systemd/system I'm not sure if there are other locations that they can be installed to, but those are the locations that are mentioned in https://wiki.debian.org/systemd/Packaging for service files.

rhertzog

rhertzog

2015-06-09 07:13

administrator   ~0003393

Quite a few .service files are auto-generated from various sources in /run/systemd/ (in particular /run/systemd/generator.late/ for most of the old System V init scripts).

steev

steev

2015-06-09 16:02

manager   ~0003395

Just checked and metasploit.service does not show up in /run/systemd/generator.late on armhf - it DOES show up there on amd64.

steev

steev

2015-06-10 20:21

manager   ~0003398

So, I purged metasploit-common, metasploit-framework and metasploit. Upon re-installing, I appear to have /etc/init.d/metasploit now, which in turn causes me to have /run/systemd/generator.late/metasploit.service and it does in fact run properly, so I am going to resolve this as invalid.

Issue History

Date Modified Username Field Change
2015-06-08 10:49 steev New Issue
2015-06-08 11:59 rhertzog Note Added: 0003383
2015-06-08 12:12 steev Note Added: 0003384
2015-06-08 13:00 steev Note Added: 0003385
2015-06-09 04:54 maxgt123 Issue cloned: 0002323
2015-06-09 07:13 rhertzog Note Added: 0003393
2015-06-09 16:02 steev Note Added: 0003395
2015-06-10 20:21 steev Note Added: 0003398
2015-06-10 20:21 steev Status new => resolved
2015-06-10 20:21 steev Fixed in Version => 2.0
2015-06-10 20:21 steev Resolution open => no change required
2015-06-10 20:21 steev Assigned To => steev