Re: Printing Problem with CUPS

2025-04-11 Thread Christoph Pleger
> So, to add to the list of things that you can check: > > * Broken permissions (added or missing setuid or setgid) on any of >the CUPS binaries. > > * Invalid UID or GID of a named system account under which any of these >programs is executed, or a missing system account entry. A comp

Printing Problem with CUPS

2025-04-11 Thread Christoph Pleger
Hello, I have a strange problem with CUPS and hope that someone can help me with the solution. "Strange", in this case, means that I have two machines, both running Debian 12 and the corresponding versions of cups and cups-browsed. On one of these machines, I can print as any user, while on the o

Debian 12, LACP and netfilter

2024-07-26 Thread Christoph Pleger
Hello, I installed a computer with Debian 12, initially with only one active Ethernet interface. I also activated a netfilter configuration for the interface. After this all worked successfully, I put the second Ethernet interface into operation, not in normal operation as a single interface, but

Package lists with state and extended state

2024-07-23 Thread Christoph Pleger
Hello, I would like to install many computers with largely the same package list. To do this, I can use dpkg --get-selections > packages.lst to create a list of the installed packages from a computer on which I have previously installed the standard packages I want, which I can then implement on

Re: GUI-Login on bookworm-VM in a cloud

2024-07-08 Thread Christoph Pleger
Hello, > > The same result for me after directly installing bookworm with virt- > > manager. Obviously, there is a significant difference between a VM in > > OpenNebula and a VM with the same software in virt-manager ... > > Are you able to try Virt-Manager with your original VM that you are havi

Re: GUI-Login on bookworm-VM in a cloud

2024-07-05 Thread Christoph Pleger
Hello, > What video device does your VM use? Maybe it uses real hardware, or does it > use a virtual device like QLX or Virtio? I have been using virtio. I also > tried QLX and it works. It is the qemu vga driver. I already tried qemu virtio and qemu vmware drivers, they have the same problem

Re: GUI-Login on bookworm-VM in a cloud

2024-07-04 Thread Christoph Pleger
Hello, > To get to the bottom of the problem, I upgraded a bullseye VM > to a bookworm VM step by step: first libc, then the Xorg- > packages, then the kernel, then sddm, lightdm and gdm3, and finally the > rest. Unfortunately, it was only after the rest that the GUI login no > longer appeared; the

Re: GUI-Login on bookworm-VM in a cloud

2024-07-04 Thread Christoph Pleger
Hello George, > Not sure if this is relevant or not, sadly probably not useful. It is helpful, though probably not in the matter from the email subject. But I installed qemu-guest-agent package in a VM without knowing that the virtual machine template should be made fit for it. Regards Christo

Re: GUI-Login on bookworm-VM in a cloud

2024-07-03 Thread Christoph Pleger
Hello, > My first thoughts were firewall issues. It is not a connection problem. When I open a browser window to vnc connect to the VM, I can even see the mouse pointer, what shows that the VM Xorg server is still running, and sshing to the VM and doing a ps confirms that. > > > > However, afte

GUI-Login on bookworm-VM in a cloud

2024-07-02 Thread Christoph Pleger
Hello, I use the cloud solution OpenNebula to manage VMs in a cloud. There I have several VMs with Debian 11 running successfully, sddm, lightdm and gdm3 are installed as display managers. When I choose one of them, the corresponding GUI login is displayed in the VNC display of the VM. However, a

Re: Many systemd units do not start anymore

2024-02-07 Thread Christoph Pleger
Hello, Am Mittwoch, dem 07.02.2024 um 12:27 +0100 schrieb Michael Biebl: > Am 07.02.24 um 11:32 schrieb Christoph Pleger: > > Hello, > > > > > > > > systemd-time-wait-sync.service is running but has not completed. > > > I wonder if that is > > >

Re: Many systemd units do not start anymore

2024-02-07 Thread Christoph Pleger
Hello, > - what is the hardware? Qemu VM > - what release of what operating system is in use? Debian bullseye > - what happened just before things 'suddenly' stopped working? Did you >   upgrade the machine, or install some new software, or just reboot it >   or what? I rebooted the machine, m

Re: Many systemd units do not start anymore

2024-02-07 Thread Christoph Pleger
Hello, > > systemd-time-wait-sync.service is running but has not completed. > I wonder if that is > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=940840 > https://github.com/systemd/systemd/issues/14061 > > Which NTP service do you use? I am using chrony, because the server is offering time

Re: Many systemd units do not start anymore

2024-02-05 Thread Christoph Pleger
Hello, > > Does anyone have an idea what is possibly wrong? > > Look for more information. This is the output of systemctl list-jobs : JOB UNIT TYPE STATE 102 autofs.service start waiting 82 mlocate.timerstart waiti

Re: Many systemd units do not start anymore

2024-02-05 Thread Christoph Pleger
Hello, Am Montag, dem 05.02.2024 um 07:18 -0500 schrieb Greg Wooledge: > On Mon, Feb 05, 2024 at 12:53:33PM +0100, Christoph Pleger wrote: > > on one of my server machines, suddenly many systemd units (e.g. cron, > > autofs) > > do not start any more, neither at boot nor

Many systemd units do not start anymore

2024-02-05 Thread Christoph Pleger
Hello, on one of my server machines, suddenly many systemd units (e.g. cron, autofs) do not start any more, neither at boot nor when trying to start manually with "systemctl start ", this hangs till I abort with Ctrl-C - though the commands defined in ExecStart work when I type them in directly. F

NIS and systemd-udevd

2023-07-26 Thread Christoph Pleger
Hello, I have the following udev rule in /lib/udev/rules.d/99-local.rules: ACTION=="add", SUBSYSTEM=="block", ATTRS{removable}=="1", PROGRAM="/lib/udev/foreground-user", RESULT!="root", MODE="0600", OWNER="$result" This is to ensure that, if someone is logged in on the graphical console at the t

Re: Email bodies not show anymore in Evolution Email

2023-05-04 Thread Christoph Pleger
> Hello, > I have had just the same problem. I think it is caused by the last > security upgrade by unattended-upgrades of these packages: > gir1.2-javascriptcoregtk-4.0 > gir1.2-webkit2-4.0 > libjavascriptcoregtk-4.0-18 > libwebkit2gtk-4.0-37 Ah, thank you very much for that information. In th

Email bodies not show anymore in Evolution Email

2023-05-04 Thread Christoph Pleger
Hello, suddenly, I have the problem in Evolution Email, that email bodies are not shown anymore, but only the headers. This affects my private email account as well as my email account for work. Maybe I have changed some setting, but I cannot remember to have done that. Any idea? Regards Chr

Re: Prevent normal users from power actions

2022-09-29 Thread Christoph Pleger
Hello, > I suppose it might be worth mentioning how your users reboot or > shutdown the system, and whether this applies only when seated at > a console or even to all users (for those of us who reboot with > CtrlAltDel and shutdown by touching the physical power button). When a user has started

Re: Prevent normal users from power actions

2022-09-29 Thread Christoph Pleger
> Hallo, > But I just realized that this does not work anymore in Debian 11. That > is, hibernating and suspending still require the user to enter the root > password, but rebooting and powering off work without authentication. > Why is this the case and what do I have to do to get again what I wa

Prevent normal users from power actions

2022-09-29 Thread Christoph Pleger
Hello, I have been using this for quite a while to prevent normal users from suspending, hibernating, shutting down or rebooting the computer from their desktop session: /etc/polkit-1/localauthority/50-local.d/custom-menu [Disable suspend] Identity=unix-user:* Action=org.freedesktop.login1.sus

Re: Replace SD-card on armhf-Wandboard

2020-03-08 Thread Christoph Pleger
Hello, > Most likely you need to install u-boot on the SD-card. > > How to do so is chip manufacturer specific. If support for the wandboard > has been upstreamed there should be a u-boot binary in Debian and maybe > even the magic incantation to install that to the SD-card. I found an image htt

Replace SD-card on armhf-Wandboard

2020-03-07 Thread Christoph Pleger
Hello, I have here an armhf variant called wandboard (www.wandboard.org), installed with Debian 9, the boot device is an internal MicroSD-Card, and if I understood correctly, that is the only possible way to boot. I now have the problem that reading or writing from/to the card give I/O errors,

Re: PAM Configuration

2020-02-14 Thread Christoph Pleger
Hello, On 2020-02-14 13:25, Christoph Pleger wrote: auth[success=2 default=ignore] pam_p11.so /usr/local/lib/libcvP11.so # here are the per-package modules (the "Primary" block) auth[success=1 default=ignore] pam_unix.so nullok_secure # here's the fallba

Re: PAM Configuration

2020-02-14 Thread Christoph Pleger
Hello, auth[success=2 default=ignore] pam_p11.so /usr/local/lib/libcvP11.so [...] This works nearly exactly as desired, "nearly" because though the login with unix password works, the application shows "Login failed" for a short time. Is there something I can change in the above fil

PAM Configuration

2020-02-14 Thread Christoph Pleger
Hello, I created a PAM configuration with the goal to make it possible that a user can either login by inserting a smartcard into a card reader and entering the correct PIN, or by entering the traditional UNIX password. This is what my /etc/pam.d/common-auth looks like: # # /etc/pam.d/common

Re: Force device node link creation

2020-02-06 Thread Christoph Pleger
Hello, On 2020-02-06 19:47, David Wright wrote: On Thu 06 Feb 2020 at 17:56:00 (+0100), Christoph Pleger wrote: I am using a program for automatic creation of a harddisk partitioning from a configuration file. That file contains device names like /dev/sda1 etc. for naming the partitions

Force device node link creation

2020-02-06 Thread Christoph Pleger
Hello, I am using a program for automatic creation of a harddisk partitioning from a configuration file. That file contains device names like /dev/sda1 etc. for naming the partitions. After the partitioning has been completed, I want to create an appropriate fstab from the configuration file

Erzeugung von Device-Knoten erzwingen

2020-02-06 Thread Christoph Pleger
Hello, I am using a program for automatic creation of a harddisk partitioning from a configuration file. That file contains device names like /dev/sda1 etc. for naming the partitions. After the partitioning has been completed, I want to create an appropriate fstab from the configuration file

ifupdown, NetworkManager and resolvconf (was: NetworkManager and systemd-networkd/systemd-resolved

2020-01-29 Thread Christoph Pleger
Hello, On 2020-01-28 09:28, Christoph Pleger wrote: on my notebook computer, I have a WLAN interface that is managed with NetworkManager and a cable-bound network interface that gets its static IP address by a systemd-networkd configuration file. But as of course on a portable notebook the

Re: NetworkManager and systemd-networkd/systemd-resolved

2020-01-28 Thread Christoph Pleger
Hello, on my notebook computer, I have a WLAN interface that is managed with NetworkManager and a cable-bound network interface that gets its static IP address by a systemd-networkd configuration file. But as of course on a portable notebook the cable-bound network interface is not always connec

NetworkManager and systemd-networkd/systemd-resolved

2020-01-28 Thread Christoph Pleger
Hello, on my notebook computer, I have a WLAN interface that is managed with NetworkManager and a cable-bound network interface that gets its static IP address by a systemd-networkd configuration file. But as of course on a portable notebook the cable-bound network interface is not always con

Re: Success of udev rule depends on if user has local or NIS account

2020-01-10 Thread Christoph Pleger
Hi, On 2020-01-09 18:23, Greg Wooledge wrote: On Thu, Jan 09, 2020 at 05:56:53PM +0100, Christoph Pleger wrote: Does anybody know what happened in newer kernels that makes OWNER="$result" fail for NIS accounts? At a guess, it's bug #878625 again. Does it start working again

Success of udev rule depends on if user has local or NIS account

2020-01-09 Thread Christoph Pleger
Hello, I wrote the following udev rule: ACTION=="add", SUBSYSTEM=="block", ATTRS{removable}=="1", PROGRAM="/lib/udev/foreground-user", RESULT!="root",MODE="0600", OWNER="$result" The goal of this rule is to give a user who attaches a USB storage device while being logged on in the graph

Start a child process in a new session

2019-09-19 Thread Christoph Pleger
Hello, when I start a child process with fork(), it seems that the new process runs in the same session as the parent process, due to what loginctl thinks, even after a call of setsid. Especially, running '/bin/login -f cpleger' results in the following message in /var/log/auth.log: pam_syst

openat and graphical applications

2019-09-04 Thread Christoph Pleger
Hello, I am just playing around with openat a little (to open a new virtual terminal and execute a command in it) and found the following problem: Though the command 'openvt -s -w -- dbus-run-session startplasmacompositor' starts KDE Plasma with Wayland, not the new terminal is used for the

Permissions in setuid-root-program

2018-11-27 Thread Christoph Pleger
Hello, I want to ask for possible reasons why a program with setuid-root file permission (or a program with special Linux capabilities), when it is called by an unprivileged user from PAM module pam_exec, behaves very different from when it is called by an unprivileged user from the command l

GPG-Error with debmirror und wheezy-proposed-updates

2017-07-28 Thread Christoph Pleger
Hello, (sorry, forgot to translate the subject in my last message) the last few days, when I execute the command debmirror /ftproot/debian --host=ftp.us.debian.org --method=rsync --root=:debian --nosource --dist=wheezy-proposed-updates --section=main,contrib,non-free --arch=amd64,i386 --getco

GPG-Fehler mit debmirror und wheezy-proposed-updates

2017-07-28 Thread Christoph Pleger
Hello, the last few days, when I execute the command debmirror /ftproot/debian --host=ftp.us.debian.org --method=rsync --root=:debian --nosource --dist=wheezy-proposed-updates --section=main,contrib,non-free --arch=amd64,i386 --getcontents --diff=none --postcleanup --i18n --progress I get t

Re: Qualitaet von Debian

2016-04-15 Thread Christoph Pleger
Hallo, > Das kann man so nicht stehen lassen. Dir wurde geholfen, z.B. habe ich > dir unter [1] Hinweise gegeben, wass zu tun ist. Das umzusetzen oder > kurz man pages lesen oder Google bedienen ist wirklich nicht schwer. Das alles habe ich gemacht und deine Lösungsvorschläge in verschiedenen Ver

Re: Setting up Fakeraid with mdadm

2016-03-24 Thread Christoph Pleger
Hello, >> >> Isn't it possible to use mdadm for mirroring disks as a whole, instead >> of >> single partitions? > > Yes, but if it's going to be your main boot and root, don't do > that. How is that done if it is not the boot disc? And why can it not be the boot disc, though it could with dmraid?

Re: Setting up Fakeraid with mdadm

2016-03-24 Thread Christoph Pleger
Hello, > Isn't it possible to use mdadm for mirroring disks as a whole, instead of > single partitions? If mdadm cannot create such RAIDs, is it possible to disable mdadm and use dmraid instead? On the web, I have found information about a kernel command line option 'nomdmonddf', but almost all o

Re: Setting up Fakeraid with mdadm

2016-03-24 Thread Christoph Pleger
Hello, > Configure the LSI to present individual disks and then use mdadm > the normal way: partition the disks into two sets, a small /boot > partition and a large /. (Or three partitions per disk: /boot, / > and /home.) > > Create mdadm pairs for each of sda1,sdb1 sda2,sdb2 sda3,sdb3 > ... and

Setting up Fakeraid with mdadm

2016-03-24 Thread Christoph Pleger
Hello, I am trying to use an "LSI Megaraid Software RAID" with mdadm, but I have not been successful so far. When I configure a RAID 1 in the BIOS Setup-Utility and boot from network with an NFSROOT, a ddf container device is detected as /dev/md127 and a raid device as /dev/md126, but when I reboo

Logical Volumes not mounted automatically

2016-02-09 Thread Christoph Pleger
Hello, two days ago, I replaced an armel architecture device with an armhf architecture device (both of them running Debian 8) and connected the same external USB disk as before to the armhf device, because some of the disk's logical volumes contain only architecture-independent data and therefore

Debian 8: Shutdown, Reboot, Suspend und Hibernate only after entering root password

2016-01-14 Thread Christoph Pleger
Hello, Some days ago, I installed some machines with Debian jessie. Now I want to achieve that, from the different desktop environments (KDE, GNOME, etc.), the computers can only be shutdown, rebooted, suspended or hibernated, after entering the root password. In Debian 7, I achieved that by crea

Apparmor on SheevaPlug

2016-01-03 Thread Christoph Pleger
Hello, I want to enable apparmor on my SheevaPlug device. This requires the kernel command line parameters "apparmor=1 security=apparmor" to be set. But I do not know how to set kernel command line parameters for the uboot boot loader, which is required for the SheevaPlug. Apparently, the way how

Re: create /etc/udev/rules.d/70-persistent-net.rules

2015-03-27 Thread Christoph Pleger
Hello, > On my NFS diskless client the 70-persistent-net.rules *is* created and > updated when booting. Therefore your strategy would work in my > environment. In my diskless boot environment my > 70-persistent-net.rules file would grow and grow and grow as I booted > different hardware if I did

create /etc/udev/rules.d/70-persistent-net.rules

2015-03-25 Thread Christoph Pleger
Hello, I want to boot a computer from network by PXE, with an NFS filesystem as root fs, install a basic system on the local disk and then boot the computer from the disk. After booting from disk, the names of the network interfaces should be the same as before with the NFS root. So, I thought tha

Re: Insert a script into systemd boot order at a specific location

2015-03-16 Thread Christoph Pleger
Hello, > What you probably want, is hook into basic.target or sysinit.target, use > DefaultDependencies=no, and specify the dependencies/orderings > explicitly. a post from debian-user-ger...@lists.debian.org helped me further: I do not have to change anything, just calling update-rc.d for my ini

Re: Insert a script into systemd boot order at a specific location

2015-03-13 Thread Christoph Pleger
Hello, > According to > http://www.freedesktop.org/software/systemd/man/systemd.unit.html you > can specify "After=" and "Before=" in order to force your unit to start > in a specified position. The documentation suggests that you typically > list your "After=" units also in "Requires=" so that st

Insert a script into systemd boot order at a specific location

2015-03-13 Thread Christoph Pleger
Hello, for many years and up to Debian 7, I am using update-rc.d to define a specific location in the boot order, where a script is executed which automatically performs some administrative tasks. The script is executed after only very basic tasks have been performed, and before all other tasks. T

Debmirror problem

2007-02-20 Thread Christoph Pleger
Hello, I want to use debmirror ro create a Debian mirror of distributions sarge,sarge-proposed-updates,etch,etch-proposed-updates and sid. Though I installed the package debian-archive-keyring and imported the keys using "gpg --import", debmirror stops with an error message that Release.gpg of di