Switchdesk functionality has disappeared
by Robert McBroom
Fedora 36 booting mode 3 to a command line boot, the switchdesk entry
Plasma doesn't do anything. I can switch from the default Gnome to xfce
and back. The LXDE desktop is not there at all. Getting a xterm with
xinit and all the desktop sessions can be started. Booting with a
display manager has an entry for Plasma(X11) that works, but none for
LXDE. The gui for switchdesk does not show Plasma or LXDE. What needs to
be done to get these functions back?
1 year, 9 months
systemd service fails to run with "ConditionACPower=true was not met"
by Richard W.M. Jones
Fedora 36, plocate-1.1.15-3.fc36.x86_64, systemd-250.8-1.fc36.x86_64
/usr/lib/systemd/system/plocate-updatedb.service has
ConditionACPower=true because they don't want updatedb to run
when on a laptop battery.
Now, my machine is an Intel NUC which has an Intel mobile chipset but
is very definitely not a laptop. It doesn't have a battery and always
runs off AC power.
But ...
$ sudo systemctl status plocate-updatedb.service |& cat
○ plocate-updatedb.service - Update the plocate database
Loaded: loaded (/usr/lib/systemd/system/plocate-updatedb.service; static)
Active: inactive (dead)
TriggeredBy: ● plocate-updatedb.timer
Condition: start condition failed at Fri 2022-08-05 10:29:57 BST; 5min ago
└─ ConditionACPower=true was not met
Aug 03 14:59:37 dev5 systemd[1]: plocate-updatedb.service - Update the plocate database was skipped because of a failed condition check (ConditionACPower=true).
Aug 04 09:29:21 dev5 systemd[1]: plocate-updatedb.service - Update the plocate database was skipped because of a failed condition check (ConditionACPower=true).
Aug 05 10:29:35 dev5 systemd[1]: plocate-updatedb.service - Update the plocate database was skipped because of a failed condition check (ConditionACPower=true).
Aug 05 10:29:57 dev5 systemd[1]: plocate-updatedb.service - Update the plocate database was skipped because of a failed condition check (ConditionACPower=true).
Looking at systemd sources it seems as if ConditionACPower is checked
here:
https://github.com/systemd/systemd/blob/14e7bc2e77d2699498a1f74d7e4f905f1...
It's a bit hard to follow what the code is doing, but I think it's
looking in /sys for power_supply devices. This hardware has two, both
with type == USB. (I believe these are the two USB ports on the front
panel that can provide power to other devices, they cannot power the
machine itself.)
$ ll /sys/devices/platform/USBC000:00/power_supply
total 0
drwxr-xr-x. 5 root root 0 Aug 3 09:00 ucsi-source-psy-USBC000:001
drwxr-xr-x. 5 root root 0 Aug 3 09:00 ucsi-source-psy-USBC000:002
$ cat /sys/devices/platform/USBC000:00/power_supply/*/type
USB
USB
$ cat /sys/devices/platform/USBC000\:00/power_supply/ucsi-source-psy-USBC000\:00*/device/typec/port*/power_role
[sink]
[sink]
[sink]
[sink]
$ cat /sys/devices/platform/USBC000\:00/power_supply/ucsi-source-psy-USBC000\:00*/online
0
0
Anyway, I think this is a systemd bug, right?
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top
1 year, 9 months
xsane over wifi scanner: invalid argument
by Gianluca Cecchi
Hello,
I'm on fedora 36 and I'm using an HP Laserjet Pro MFP M130fw, connected
through wifi, both as a printer and a scanner.
It seems that the scanner, via xsane, doesn't work anymore from yesterday.
Unfortunately the printer gets its ip via dhcp and yesterday I had to
reboot it and it changed ip.
I don't know if it can be related.
the scanner is now detected:
$ scanimage -L
device `airscan:e1:HP LaserJet MFP M130fw (3330D5)' is a eSCL HP LaserJet
MFP M130fw (3330D5) ip=192.168.1.223
device `hpaio:/net/HP_LaserJet_MFP_M129-M134?ip=192.168.1.223' is a
Hewlett-Packard HP_LaserJet_MFP_M129-M134 all-in-one
device `hpaio:/net/laserjet_mfp_m129-m134?ip=192.168.1.223&queue=false' is
a Hewlett-Packard laserjet_mfp_m129-m134 all-in-one
the ip of the first line, that seems to correspond to eSCL, is the correct
one aquired.
when I try to scan I can select eSCL, as usual, but when I try to scan I get
Failed to start scanner: Invalid argument
Any hint?
Thanks,
Gianluca
1 year, 9 months
Kernel crash due to bad disk?
by Alex
Hi, I have a fedora35 system that uses rsync to operate as a backup server.
It has a 8TB RAID5 array, and for the last few days, has
crashed/segfaulted in what appears to be the same time that it starts to
backup a particular remote host. This indicates to me that perhaps the
there is some spot on the disk that is related to this particular host's
data that is triggering this.
When it happens, there is a segfault message on the console, but nothing
related to it in the logs. There are bits from the kernel about being
unable to write prior to the crash, however:
Aug 1 12:24:32 mail03 kernel: [2415225.412978] EXT4-fs warning (device
md2): ext4_end_bio:343: I/O error 10 writing to inode 232141206 starting
block 3033088)
Aug 1 12:24:32 mail03 kernel: [2415225.412987] Buffer I/O error on device
md2, logical block 3033088
Aug 1 12:24:32 mail03 kernel: [2415225.413025] Buffer I/O error on device
md2, logical block 3033089
...
Aug 1 12:24:32 mail03 kernel: [2415225.526007] JBD2: Detected IO errors
while flushing file data on md2-8
Aug 1 12:24:35 mail03 kernel: [2415227.560338] JBD2: Detected IO errors
while flushing file data on md2-8
How do I identify which of the four disks this is? I've run smartctl short
checks on each disk in the array, but all four passed without error. What
is md2-8?
From /proc/mdstat:
md2 : active raid5 sde1[4] sdc1[7] sda1[5] sdf1[6]
8790402048 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4]
[UUUU]
bitmap: 0/22 pages [0KB], 65536KB chunk
You'll also notice the array is fully operational.
I'm also now running a full fsck scan of the disk:
# fsck -Vfp -C0 /dev/md2
fsck from util-linux 2.37.4
[/usr/sbin/fsck.ext4 (1) -- /var/backup] fsck.ext4 -fp -C0 /dev/md2
/dev/md2: |=== | 5.7%
but it'll clearly take a while.
I also don't see any errors in the kernel log related to each of the four
individual disks.
1 year, 9 months
32-->36?
by ToddAndMargo
Hi All,
I have a customer who FINALLY agreed to have me upgrade
his Fedora 32 server to 36.
Can I jump directly, or do I have to go one or
two revisions at a time?
Many thanks,
-T
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When you say, "I wrote a program that
crashed Windows," people just stare at
you blankly and say, "Hey, I got those
with the system, for free."
-- Linus Torvalds
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 year, 9 months
VLC could not decode the format "h264" (H264 - MPEG-4 AVC (part 10))
by Javier Perez
Hi
Just upgraded from F35 to F36.
What plugin do I have to add in order to play this codec?
--
------------------------------
/\_/\
|O O| pepebuho(a)gmail.com
~~~~ Javier Perez
~~~~ While the night runs
~~~~ toward the day...
m m Pepebuho watches
from his high perch.
1 year, 9 months
Apache and umask for document root
by Alex
Hi,
I've set up a virtual host for a joomla website and having some
permissions problems. I've seen numerous configurations online about
how to set umask for the apache user, but none have worked, including
creating a systemd file
(/etc/systemd/system/multi-user.target.wants/httpd.service) with the
following:
[Unit]
Description=The Apache HTTP Server
After=network.target remote-fs.target nss-lookup.target
[Service]
Type=notify
Environment=LANG=C
Umask=0006
ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND
ExecReload=/usr/sbin/httpd $OPTIONS -k graceful
# Send SIGWINCH for graceful stop
KillSignal=SIGWINCH
KillMode=mixed
PrivateTmp=true
[Install]
WantedBy=multi-user.target
The problem is that the files are owned by the joomla user, but also
need to have access (both read and write) to be able to modify some
files within the document root.
Does anyone have any suggestions on how to set umask for the apache user?
I'm also interested in recommended permissions settings for the joomla
document root.
Thanks,
Alex
1 year, 9 months
Re: marketoblog
by Tim
On Tue, 2022-08-02 at 08:32 +0000, Min Jun spammed the list:
[spam deleted]
> Do not reply to spam on the list, report it:
> https://pagure.io/fedora-infrastructure
This doesn't appear to lead anywhere useful
--
uname -rsvp
Linux 3.10.0-1160.71.1.el7.x86_64 #1 SMP Tue Jun 28 15:37:28 UTC 2022 x86_64
Boilerplate: All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
1 year, 9 months
Nvidia refresh rate.
by GianPiero Puccioni
Hi,
I want to decrease the refrash rate of the video to use less battery but I am
having difficulties...
I have F35 with KDE on a Dell G15 with Nvidia GA107M [GeForce RTX 3050 Ti
Mobile], the RPMFusion drivers and a 1920x1080 resolution (native).
In the "system settings-display" There is the possibility to change refresh from
120Hz to 60Hz but it doesn't stick; I change it and "apply" but if I change
screen and go back to "display" it's again at 120Hz, I tried "nvidia-settings"
but it has only info, not settings.
The program "xrandr" reports
1920x1080 120.00*+ 59.97 59.96 59.93
Is this the problem 59.97 not 60?
Any suggestions?
G
1 year, 9 months