You are not logged in.
Pages: 1
Hello,
My primary goal is to prepare a disk for encryption using Frandom. I followed the instructions for building a package from the AUR, and it appeared to go well:
$ pacman -Qm
frandom 1.1-5
The next step according to the wiki, is
Once the daemon has been started, it is available from /dev/frandom. It is run in the normal way:
# /etc/rc.d/frandom {start|stop|restart}
My results are:
$ /etc/rc.d/frandom {start}
bash: /etc/rc.d/frandom: No such file or directory
I have a feeling I'm missing some key step. I've tried starting the daemon manually.
My results are:
$ sudo systemctl start frandom
Failed to issue method call: Unit frandom.service failed to load: No such file or directory. See system logs and 'systemctl status frandom.service' for details.
Any help or guidance is appreciated.
Thanks,
Dave
Offline
Hello again,
I just crafted a long, detailed post of my progress, only to find that my login had timed out. My attempt to preview my post made it disappear. So the short story is that I tried falconindy's suggestion, and much else, learned lots, and still have no frandom. I'm going to try again tomorrow. In the meantime, any input is appreciated!
Some food for thought:
$find / -name '*frandom*'
/var/lib/pacman/local/frandom-1.1-5
/usr/lib/modules/extramodules-3.6-ARCH/frandom.ko.gz
/etc/udev/rules.d/10-frandom.rules
/home/dave/builds/frandom
/home/dave/builds/frandom/pkg/usr/lib/modules/extramodules-3.6-ARCH/frandom.ko.gz
/home/dave/builds/frandom/pkg/etc/udev/rules.d/10-frandom.rules
/home/dave/builds/frandom/frandom.udev.patch
/home/dave/builds/frandom/frandom-1.1-5-x86_64.pkg.tar.xz
/home/dave/builds/frandom/frandom.install
/home/dave/builds/frandom/frandom-1.1.tar.gz
/home/dave/builds/frandom/src/frandom-1.1
/home/dave/builds/frandom/src/frandom-1.1/.frandom.ko.cmd
/home/dave/builds/frandom/src/frandom-1.1/frandom.mod.o
/home/dave/builds/frandom/src/frandom-1.1/frandom.ko.gz
/home/dave/builds/frandom/src/frandom-1.1/frandom.mod.c
/home/dave/builds/frandom/src/frandom-1.1/frandom.ko
/home/dave/builds/frandom/src/frandom-1.1/10-frandom.rules
/home/dave/builds/frandom/src/frandom-1.1/.tmp_versions/frandom.mod
/home/dave/builds/frandom/src/frandom-1.1/.frandom.mod.o.cmd
/home/dave/builds/frandom/src/frandom-1.1/frandom.c
/home/dave/builds/frandom/src/frandom-1.1/.frandom.o.cmd
/home/dave/builds/frandom/src/frandom-1.1/frandom.o
/home/dave/builds/frandom/src/frandom.udev.patch
/home/dave/builds/frandom/src/frandom-1.1.tar.gz
/home/dave/builds/frandom.tar.gz
$less /etc/udev/rules.d/10-frandom.rules
#
# These are the rules for the frandom devices. In theory, we could let
# udev's catch-all rule create the /dev node based upon the kernel name,
# which gives correct result, except that the default MODE set in
# 50-udev.rules (0600) is too restrictive.
#
KERNEL=="[ef]random", MODE="444", OPTIONS="last_rule"
/etc/udev/rules.d/10-frandom.rules (END)
Offline
My wife says that my package does have a unit!
But seriously folks, I now know what a systemd unit is. I have a vague idea of what I would put in it. I have a strong feeling that my linux-learning time would be better spent on other issues. After all, the F in frandom stands for fast. I could have easily filled my hard drive with urandom by now.
Falconindy, thanks for the help! If you have the inclination, you (or anyone else) could answer the following questions:
1. Would anyone else but myself benefit from a "frandom.service" being created?
2. Is there a good reason to not include the above in the frandom package?
3. Is there any value to editing the wiki to indicate what steps are required for a working installation?
4. Does anyone want to contribute 1 and 2, while I work on number 3?
Offline
I'm running into the same problem as dave.computer. I've installed frandom from AUR, but cannot figure out how to start it with systemd. Systemd units seem pretty obscure (at least to me). How can I find/build one for frandom? Any suggestion would be appreciated.
Offline
I obviously must have missed something:
# modprobe frandom
does the job.
Offline
Pages: 1