You are not logged in.
Did you try making /dev/tape a link to /dev/sdc? (though it might well need some API adapter between)
What is all this about?
Is it just me or am I seeing far too many (unrequired) Mandatory Access Control instances in the Linux kernel?
I would call it Way Too Many.
tomoyo-tools seems to be to be upstreamed from http://tomoyo.osdn.jp/ (and why that is enabled in debian's standard linux-image is unkown to me). Apparently adding security=none to the boot command should disable this one.
I think debian configures all run-levels 2-5 the same, so you'll need to change one of them, say 3, to boot up without starting a display manager (slim).
There are many ways to do so. For example, you might install sysv-rc-conf and run that in a terminal so as to "untick" the box for slim at run level 3, and then reboot with grub set to use run level 3.
I haven't tried this myself but I believe it's sufficient to avoid slim at boot up.
Don't the instructions at https://wiki.winehq.org/Debian work for you?
I suppose, for a 64-bit Devuan beowulf, you will also need the prior
# dpkg --add-architecture i386so as to enable "multiarch support".
Thereafter it's the usual 3 steps: download and add their key, add their "buster" repository sources.list point and update, and then install their package(s). (Though contrary to those instructions, I would always use --no-install-recommends for installing)
EDIT: I forgot the m3u ...
find /srv/Audio/CDs -name \*.wav -o -name \*.m3u -print0 | xargs -0 cp -t /media/usb_deviceor perhaps
find /srv/Audio/CDs -type f -print0 | xargs -0 cp -t /media/usb_device@dice's advice is for registering the connection details for the particular ESSID and WPAKEY.
For a laptop, you might want a slightly more flexible configuration, and to use the wpa_gui to deal with new wireless access points.
First, enter the following at the top of /etc/wpa_supplicant/wpa_supplicant.conf:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
p2p_disabled=1Secondly, bring down wlan0 (ifdown wlan0) before changing /etc/network/interfaces to have the follwing variant declaration:
auto wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcpYou'll note the difference of having a manual stanza with wpa-roam rather than wpa-conf, and a seemingly extra stanza declaring use of a dhcp configuration for a virtual default interface. All that is in support of roaming with dhcp.
Next, install wpagui (that's the package name for the wpa_gui tool) as user management tool for connecting your wireless interface to available acccess point by choice. By virtue of the update_config=1 setting you may save accesspoint settings so wpa_supplicant can find them "automatically" later.
You might also need to re-login the user after ensuring the user is in the netdev group, as per that first configuration line which wpa_supplicant will use for its control sockets.
With that you should be all set. for completeness, the p2p_disabled=1 is needed in order to disable that function which otherwise causes wpa_supplicant to be confused.. I'm not sure about the details.
@rolfie, if you really want eth0 and wlan0 configurations to be alternatives you might add the lines
pre-up ifdown wlan0 || trueto the eth0 configuration, and
pre-up ifdown eth0 || trueto the wlan0 configuration.
You must also remove the allow-hotplug lines to avoid that the automated management tries to bring them both up on boot and status change. Then bring the right one up manually, or via some software that understands the applicable cabling situation, like for example wicd, connman or network-manager.
Note that any of the latter will compete with your current networking setup, so you will need to clear that out if you use one of them.
Alternatively you take the DIY approach using ethtool and wpa_cli to discover the applicable cabling situation; this approach brings the great joy of further learning situations. (For example that wlan0 must be brought up at link level without configuration in order to scan for access points and determine its "cabling" options, while eth0 is more physical)
Firstly, you cannot easily have two interfaces configured for the same network. I.e., if you want eth0 down and wlan0 up, you'd need to do that, in that order:
# ifdown eth0 ; ifup wlan0Secondly, the gateway for static configuration does the same as your post-up additions to the wlan0 confguration; i.e. remove the post-up lines.
Thirdly, with allow-hotplug rather than auto you declare that networking should be managed via hotplugging, in which case udev will try to configure the nominated interfaces. Both of them if there is a cable, and potentially with a bit of race between them; one first, then the other. Since you have gateway declarations for both configurations, there will be a competition where the first one wins.
Possibly your misapprehension is that you regard the configurations as alternatives while udev will treat them as "complementary" or "conjunctive" and apply them both. Afaict the network management via either allow-hotplug (/lib/udev/net.agent) or auto (/etc/init.d/networking) don't actually detect "presence of cable" to only apply configurations "as per available cabling". Instead it will configure all interfaces that it is set to configure, i.e., both eth0 and wlan0, including the possible race and competition about gateway (aka default route).
The problem with 2 interfaces on the same network is that return traffic will go through the first unless you in addition set up a source based routing rule, so that the kernel has different routing tables for outbound packets depending on what the source IP is. That can be done, but it's not an automatic function in the kernel's networking logic.
You need to set the default route to be via the wlan0 interface
# ip route replace default via 10.5.5.1 dev wlan0You also should rather not have localnet routes to 0.0.0.0; it doesn't really matter since the first matching rule (via wlan0) is used shadowing the other but it may bring confusion to the mind of the operator.
EDIT: actually I got confused; those are the "normal" net routes... but you should probably avoid net routes to unconnected interfaces. Remember that when there are multiple routes of same specificity, then the first in the list will be used.
it says beowulf but it is indeed chimaera
... well spotted, thanks.
Thanks. That's quite useful. Much of it valid! The script obviously is a "works-for-me" kind of script ![]()
The line 36 note is misconceived though as that line actually needs the globbing and word splitting; the other ones are good if not terribly important.
And line 29 should rather include a sed filtering to discard all but the lilne numbers; I'm not sure a while loop will work since bash runs those in sub processes(?); does a history command in the sub change the history list of the parent?
But in any case I'll leave those improvements as exercise.
EDIT: also, the grep at line 29 should rather be grep -nFx "$TABBED" "$HISTFILE" to match the input verbatim (i.e., to avoid that it gets interpreted as a pattern).
If you use xfc4-terminal for running different ssh in its tabs, then this little scriptlet might suit you.
I have it set up to run in a launcher on the panel, for starting an xfce-terminal that begins by asking for the ssh command line arguments before connecting like so; an empty argument line starts a local shell tab. Then the same happens on every C-S-T tab in that terminal. Quite handy.
File /home/ralph/bin/remote.xfce4
#!/bin/bash
#
# Start an xfce4-terminal that runs ssh in each new tab, prompting for
# ssh command arguments, or drops to an interactive shell for empty
# arguments. Typically invoked by a launcher or a command line as
# /whatever/the/path/remote.xfce4
# or with initial ssh arguments
# /whatever/the/path/remote.xfce4 <arguments...>
#
# The script defines and uses the environment variable TABBED
# which gets cleared for a local shell.
if [ -z "$TABBED" ] ; then
exec env TABBED="-" xfce4-terminal -e "$0 $1" || exit 1
fi
TABBED="$*"
if [ -z "$TABBED" ] ; then
HISTFILE="$HOME/.$(basename $0)"
history -r
# The following line defaults to reusing the last ssh argument line
TABBED="$(history -p "!!" )"
read -e -r -i "$TABBED" -p "ssh: " TABBED
if [ -z "$TABBED" ] ; then
printf "\033]0;%s\007" "$(hostname)"
[ -z "$SHELL" ] && SHELL=/bin/bash
exec $SHELL -i || exit 1
fi
# The following 3 lines remove any prior duplicate ssh argument lines
for N in $(grep -nFx "$TABBED" $HISTFILE | sed 's/:.*//' | sort -rn) ; do
history -d $N
done
history -s "$TABBED"
history -w
fi
printf "\033]0;%s\007" "${TABBED%% *}"
exec ssh $TABBEDNote that the history fiddling in the script, which makes the script look complicated, is not really required for the "tabbed ssh" functionality. It could be edited out, but it's there in order to make the ssh arguments input interaction "friendlier" by allowing for up/down arrow stepping through the history of such inputs.
Enjoy
EDIT: Note that the xfce4-terminal preferences also needs to be set up to run the script as custom command for tabs in order for the script (rather than shell) to be run for tabs.
EDIT 2: changed the code for bug fixing and to incorporate @Head_on_a_stick's touch up points (below). This might be a final verrsion ![]()
afaik you only need the openvpn package; the rest is just some GUI confusion overlay trying to make sure you don't know and understand what you are doing.
Then you need to generate a client key at the server end, and copy the client part to the client end.
And then you need the client configuration file to match up with the service. It's all well documented in man openvpn.
I got nostalgic today and looked up some serious study music:
https://www.youtube.com/watch?v=y9EA90uF7Ek
It's both simple and confusing ![]()
The FQDN deb.devuan.org is an HTTP mirror collection. The servers in that group are only required to serve HTTP.
If there were several FTP servers it could be useful to craft an ftp.devuan.org mirror collection, and likewise a possible rsync.devuan.org, as well as perhaps even sftp.devuan.org and uucp.devuan.org.
However, only HTTP allows the "HTTP 302 redirect" which tells the client to go elsewhere for package download.
Access for ftp, rsync, etc. requires the server either to house both Devaun and Debian packages themselves, or to have file access proxying. While the latter is not much of a technical challenge it means that any proxied packages would go in and out of the server and thereby doubling the bandwidth loading for them.
The option of housing Debian as well as Devuan is taken up by a couple of servers, typically by them adding Devuan to an already existing Debian mirroring. Then, to provide apt access for Devuan they also have the specially crafted root structure needed to handle the virtual pathnames of the Devuan merged packages.
Afaik the package repositories are not provided over ftp anywhere; not sure how you got that idea.
The package file access relies on HTTP redirect as means for pulling packages from Devuan the store or the Debian store. The principle is simply that the filename for the package files has a prefix of either pool/DEVUAN or pool/DEBIAN and a server rewrite rule that maps the former into a local access whereas the latter is returned as an HTTP redirect to a deb.debian.org service.
Some release iso mirrors offer different file access protocols such as ftp and rsync for the isos.
Once done, how should I test that everything is working properly?
One confirmation would be that your fstrim logging shows up.
A manual forced test would be like before, i.e. if live-config is uninstalled, then
sudo /usr/sbin/anacron -s -d -n -fshould be telling about running the cron.{daily,weekly,monthly} jobs.
Good. So when the start script runs /usr/sbin/anacron it actuallly runs /bin/true which is doing bugger all...
Possibly @fsmithred (who's doing refracta-base) knows something about that redirect but in any case it's wrong for your purpose.
The fix has two options:
The first option would be to change the link by:
sudo ln -sTf anacron.orig.anacron /usr/sbin/anacronThat will undo the redirect, but this then runs the risk of being undone, and the redirect comming back, if the live-config package is updated.
The second option would be to change /etc/init.d/anacron to use /usr/sbin/anacron.orig.anacron as binary; i.e., change start-stop-daemon --start command line to be
start-stop-daemon --start --exec /usr/sbin/anacron.orig.anacron -- $ANACRON_ARGSThe second option is probably a more sticky fix than changing the link, although it probably breaks if the live-config package is uninstalled.
EDIT: btw you might want to "verify" that anacron.orig.anacron is indeed the program by checking
$ md5sum /usr/sbin/anacron.orig.anacron
a16e182008f9105825af2580ab9e5ced /usr/sbin/anacron.orig.anacronFor sure: everyone should inform themselves, but there are already many places where one can disccuss that, if one is so inclined. No reason to fill up this forum.
The warning can be ignored. But I expected to see the output "Anacron 2.3 started on 2021-04-01" after the "transferring control", and not seeing that is peculiar... which architecture do you have?
uname -afile /usr/sbin/anacronfile $(readlink -f /lib64/ld-linux-x86-64.so.2)Right; that's the right one... next check would be first to verify that the problem is with anacron, by seeing
sudo /usr/sbin/anacron -s -d -n -freport nothing.
Then try the following:
sudo env LD_DEBUG=libs,files /usr/sbin/anacron -s -d -n -f >& /tmp/strace.log... and paste somewhere
That should be a debug listing of the loading of dynamic libraries including how they are looked up in the file system.
Hmm. obviously your /usr/sbin/anacron dies before it starts, or while it about to start, seemingly at the point where it should allocate memory.
However the "brk(NULL)" which should follow "munmap()" doesn't show up and instead the "exit_group()" showing premature exiting, and that suggests borked linking rather than out of memory; i.e., a technological mismatch with the dynamic libraries rather then a functional error.
Which libc6 do you have?
ls -l /lib*/ld-linux-*| | |-grep,13714 --color=always -A 3 anacron
that was the grepping itself, so no "real" anacron running.
Try again with
sudo start-stop-daemon -v --start --exec /usr/sbin/anacron -- -s -d -n -fand verify that that only gives that same one line of output...
Check then at end of /var/log/syslog to see if there's an explanation.
Following that we'll need to go deep diving with
sudo strace -f start-stop-daemon -v --start --exec /usr/sbin/anacron -- -s -d -n -f >& /tmp/strace.log Possibly you'll need to install the strace package first.
That log will be long as it includes all the system calls by the execution, so the best is if you can paste it somewhere rather than include here. It looks like there's something just a little bit off on your system and this will give as a haystack to look in.
My test showed nothing ...
But I realized that your forced running only resulted in a "Starting..." message, and not like the expected
$ sudo start-stop-daemon -v --start --exec /usr/sbin/anacron -- -s -d -n -f
[sudo] password for ralph:
Starting /usr/sbin/anacron...
Anacron 2.3 started on 2021-04-01
Will run job `cron.daily'
Will run job `cron.weekly'
Will run job `cron.monthly'
Jobs will be executed sequentially
Job `cron.daily' started
Job `cron.daily' terminated
Job `cron.weekly' started
Job `cron.weekly' terminated
Job `cron.monthly' started
Job `cron.monthly' terminated
Normal exit (3 jobs run)Which package version do you have?
apt-cache policy anacron |& grep InstalledIs there an anacron running?
pstree -ap | grep -A 3 anacronBtw, re logrotate.conf since 18 and 25 are duplicates you might want to compare with the lines before those.