Hello
###
root@:~# uname -a
Linux pa 4.1.0-0.bpo.2-amd64 #1 SMP Debian 4.1.6-1~bpo8+1 (2015-09-09) x86_64 GNU/Linux
###
root@:/lib/systemd/system# vboxmanage --version
5.0.6r103037
###
root@:~# journalctl -p err -b
-- Logs begin at Вс 2015-10-04 07:16:32 MSK, end at Вс 2015-10-04 07:43:50 MSK. --
окт 04 07:16:32 pa systemd[1]: [/lib/systemd/system/vboxdrv.service:5] Failed to add dependency on $syslog.service, ignoring: Invalid argument
###
root@:/lib/systemd/system# ls -al | grep syslog
-rw-r--r-- 1 root root 290 авг 29 16:44 rsyslog.service
-rw-r--r-- 1 root root 1328 авг 29 18:45 syslog.socket
###
root@:/lib/systemd/system# cat vboxdrv.service
[Unit]
SourcePath=/usr/lib/virtualbox/vboxdrv.sh
Description=VirtualBox Linux kernel module
Before=runlevel2.target runlevel3.target runlevel4.target runlevel5.target shutdown.target
>>> After=$syslog.service <<<
Conflicts=shutdown.target
[Service]
Type=forking
Restart=no
TimeoutSec=5min
IgnoreSIGPIPE=no
KillMode=process
GuessMainPID=no
RemainAfterExit=yes
ExecStart=/usr/lib/virtualbox/vboxdrv.sh start
ExecStop=/usr/lib/virtualbox/vboxdrv.sh stop
[Install]
WantedBy=multi-user.target
[SOLVED] debian 8, systemd, vboxdrv.service, syslog.service
[SOLVED] debian 8, systemd, vboxdrv.service, syslog.service
Last edited by pa_ on 4. Oct 2015, 22:17, edited 1 time in total.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: debian 8, systemd, vboxdrv.service, syslog.service
So what's the question?
Re: debian 8, systemd, vboxdrv.service, syslog.service
file syslog.service does not exist in debianPerryg wrote:So what's the question?
Re: debian 8, systemd, vboxdrv.service, syslog.service
Hi,
Best regards,
Peter
Not entirely true - a symlink /etc/systemd/system/syslog.service is created, pointing to either /lib/systemd/system/rsyslog.service or /lib/systemd/system/syslog-ng.service. See the error ticket 14665 mentioned in the previous posts for more information.file syslog.service does not exist in debian
Best regards,
Peter
Re: [SOLVED] debian 8, systemd, vboxdrv.service, syslog.serv
lrwxrwxrwx 1 root root 35 янв 11 2015 syslog.service -> /lib/systemd/system/rsyslog.service
root@:/lib/systemd/system# cat vboxdrv.service
[Unit]
***
After=syslog.service
***
thanks
root@:/lib/systemd/system# cat vboxdrv.service
[Unit]
***
After=syslog.service
***
thanks
-
AlanMaxwell
- Posts: 6
- Joined: 21. Feb 2014, 20:30
Re: [SOLVED] debian 8, systemd, vboxdrv.service, syslog.serv
This is not related to debian, but I have found on Fedora that
systecmctl setup vboxdrv
does NOT work, only start, stop are options.
So if you get a new kernel, you need to run
/usr/lib/virtualbox/vboxdrv.sh setup
Your mileage may vary.
systecmctl setup vboxdrv
does NOT work, only start, stop are options.
So if you get a new kernel, you need to run
/usr/lib/virtualbox/vboxdrv.sh setup
Your mileage may vary.