Re: how to correctly log without journald (and its blobs)?

2018-04-08 Thread Christian Kujau
I was able to disable journald similar to this:


systemctl stop systemd-journald-dev-log.socket systemd-journald.socket 
systemd-journald.service
systemctl mask systemd-journald-dev-log.socket systemd-journald.socket 
systemd-journald.service

(I tried to "disable" those services first, but somehow journald got started 
anyway on the next reboot).


Configure rsyslog with:

$AddUnixListenSocket/var/run/systemd/journal/syslog
$SystemLogSocketName/var/run/systemd/journal/syslog

Or with the new configuration format[0]:

module(load="imuxsock" SysSock.Name="/run/systemd/journal/syslog" 
Socket="/var/run/systemd/journal/syslog")

I also had to adjust the /dev/log symlink to point to 
/var/run/systemd/journal/syslog, so that programs like logger(1) will still 
work. Added the following to /etc/rc.local (or wherevery custom startup 
routines were configured):

ln -svf /var/run/systemd/journal/syslog /dev/log | logger -t "$0"

With all that journald is no longer running and rsyslog still works! :-)


[0] http://www.rsyslog.com/doc/v8-stable/configuration/modules/imuxsock.html
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Which VirtualBox repo to use?

2018-04-08 Thread Ed Greshko
On 04/07/18 10:15, Eyal Lebedinsky wrote:
>
>
> On 07/04/18 11:34, Rick Stevens wrote:
>> The additive sizes of all the rpmfusion packages may not match what the
>> virtualbox repo offers because a) they are packaged differently; and b)
>> there MAY be things rpmfusion doesn't include because inclusion in
>> rpmfusion might violate a copyright or patent--and Fedora/Red Hat try
>> really hard to NOT violate copyrights and patents.
>
> Is it then recommended to install from rpmfusion? This will allow me to 
> disable the
> virtualbox
> repo (always good to reduce the number of sources)?
>

I don't have any "recommendation" as I really think it is a personal 
preference. 
But, FWIW, I used rpm2cpio to unpack the Oracle package and the
following RPMfusion rpms

akmod-VirtualBox-5.2.8-3.fc27.x86_64.rpm
python-VirtualBox-5.2.8-2.fc27.x86_64.rpm
VirtualBox-5.2.8-2.fc27.x86_64.rpm
VirtualBox-devel-5.2.8-2.fc27.x86_64.rpm
VirtualBox-guest-additions-5.2.8-2.fc27.x86_64.rpm
VirtualBox-kmodsrc-5.2.8-2.fc27.noarch.rpm
VirtualBox-server-5.2.8-2.fc27.x86_64.rpm
VirtualBox-webservice-5.2.8-2.fc27.x86_64.rpm

The major difference in size is caused by VBoxGuestAdditions.iso being supplied 
in
Oracle but not in RPMfusion.  I don't have the RPMfusion stuff installed but I'm
guessing it must get built or something at some point.

[egreshko@meimei Vbox]$ find ./Oracle/ -name *iso
./Oracle/usr/share/virtualbox/VBoxGuestAdditions.iso
[egreshko@meimei Vbox]$ find ./Fusion/ -name *iso
[egreshko@meimei Vbox]$


-- 
Conjecture is just a conclusion based on incomplete information. It isn't a 
fact.



signature.asc
Description: OpenPGP digital signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org