Re: Unable to boot with LVM.
by Kevin Fenzi
On Fri, Apr 22, 2022 at 09:30:43AM -0600, Joe Zeff wrote:
> On 4/22/22 06:08, Maliga Saman via users wrote:
> > Any ideas?
>
> Yes: keep your porn off of this list. I don't mind, but some folks will.
Like the moderators of the list. :)
I've removed them from subscribers and banned their email.
kevin
1 year, 11 months
wayland-info to 'invalid format' quest
by Jack Craig
hi all,
i am trying to fathom what hung me out to dry trying to
evaluate resolution options for my F34/hdtv.
entering display settings, looking at the list of possible resolutions,
there are several.
*many of those options, if selected yields 'invalid format' !*
*what is this telling me?! X by Y values? refresh rate???*
while xrandr looks at resolutions and displays options for x11.
what is the wayland to evaluate resolution format?
wayland-info provides:
interface: 'wl_drm', version: 2, name:
1
interface: 'wl_compositor', version: 4, name:
2
interface: 'wl_shm', version: 1, name:
3
formats: 'XB4H'(0x48344258) 'AB4H'(0x48344241) 'XR4H'(0x48345258)
'AR4H'(0x48345241) 'XB30'(0x30334258) 'AB30'(0x30334241) 'XR30'(0x30335258)
'AR30'(0x30335241) RGB565 XRGB8888 ARGB8888
interface: 'wl_output', version: 2, name:
4
*x: 0, y: 0, scale: 1, physical_width: 1600 mm, physical_height: 900 mm,
make: 'GSM', model: 'LG TV', subpixel_orientation: unknown,
output_transform: normal, mode: width: 3840 px, height: 2160 px, refresh:
30.000 Hz,*
flags: current
*interface: 'zxdg_output_manager_v1', version: 3,
name: 5 xdg_output_v1 output: 4 name: 'HDMI-3' description: 'LG
Electronics LG TV' logical_x: 0, logical_y: 0 logical_width: 3840,
logical_height: 2160*
interface: 'wl_data_device_manager', version: 3, name:
6
interface: 'zwp_primary_selection_device_manager_v1', version: 1, name:
7
interface: 'gtk_primary_selection_device_manager', version: 1, name:
8
interface: 'wl_subcompositor', version: 1, name:
9
interface: 'xdg_wm_base', version: 3, name:
10
interface: 'zxdg_shell_v6', version: 1, name:
11
interface: 'wl_shell', version: 1, name:
12
interface: 'gtk_shell1', version: 4, name:
13
interface: 'wp_viewporter', version: 1, name:
14
interface: 'zwp_pointer_gestures_v1', version: 1, name:
15
interface: 'zwp_tablet_manager_v2', version: 1, name:
16
interface: 'wl_seat', version: 5, name:
17
name: seat0
capabilities: pointer keyboard
keyboard repeat rate: 33
keyboard repeat delay: 500
interface: 'zwp_relative_pointer_manager_v1', version: 1, name:
18
interface: 'zwp_pointer_constraints_v1', version: 1, name:
19
interface: 'zxdg_exporter_v1', version: 1, name:
20
interface: 'zxdg_importer_v1', version: 1, name:
21
interface: 'zwp_linux_dmabuf_v1', version: 3, name:
22
formats:
'AR4H'(0x48345241), modifier: 0x00ffffffffffffff
'XR4H'(0x48345258), modifier: 0x00ffffffffffffff
'XB4H'(0x48344258), modifier: 0x00ffffffffffffff
'AB4H'(0x48344241), modifier: 0x00ffffffffffffff
'RG16'(0x36314752), modifier: 0x00ffffffffffffff
'XR30'(0x30335258), modifier: 0x00ffffffffffffff
'AB30'(0x30334241), modifier: 0x00ffffffffffffff
'AR30'(0x30335241), modifier: 0x00ffffffffffffff
'XB24'(0x34324258), modifier: 0x00ffffffffffffff
'XR24'(0x34325258), modifier: 0x00ffffffffffffff
'AB24'(0x34324241), modifier: 0x00ffffffffffffff
'AR24'(0x34325241), modifier: 0x00ffffffffffffff
interface: 'zwp_keyboard_shortcuts_inhibit_manager_v1', version: 1, name:
23
interface: 'zwp_text_input_manager_v3', version: 1, name:
24
interface: 'gtk_text_input_manager', version: 1, name:
25
interface: 'wp_presentation', version: 1, name:
26
presentation clock id: 1 (CLOCK_MONOTONIC)
jonathan kindly pointed me to ~/.config/monitor.xml
hacking this file fixed my error msg, but does not explain what's wrong.
any additional insight out there??
tia, jackc...
1 year, 11 months
Re: ssh infested by systemd.resolved
by Jonathan Billings
On Apr 23, 2022, at 22:36, Stephen J. Turnbull <stephen(a)xemacs.org> wrote:
> As far as I know there isn't really a technical argument for systemd
> or any particular systemd.* on Fedora workstations. The various
> traditional inits and daemons work fine in that environment.[1]
There are several features in systemd that directly benefit the desktop.
1.) systemd service dependencies can ensure that the desktop environment doesn’t launch until all dependencies are met. The side benefit of this is that with parallel startup of services, the desktop launches faster, but it also launches with all the services it needs. If you discover that there’s something needed for your desktop session, adding that dependency is simple, compared to pre-systemd services.
2.) systemd-logind helps contain desktop processes in cgroups, meaning that if you want it to, it will terminate all user processes *for that session* when it logs out. This is a huge thing for the enterprise desktop environments. For example, I managed engineering desktops and there was a particularly finicky circuit designer that loved to leave background processes that would survive logouts, and if another user logged in it would interfere.
But this process management also introduced resource management per-user session, so you could ensure a single user couldn’t abuse the system. This was also important to me, since we had multi-user systems running graphical sessions via VNC, and we wanted to make sure one user didn’t overwhelm the system.
3.) systemd now launches your GUI. You have your own private systemd --user running every time you log in. This process launches user services and apps, maintains your environment, and can run other systemd units such as timers. This gives you a similar interface to system services, scoped just to your account. Since there’s only one user systemd per user, you can launch a process that can be used and managed by both the graphical login and a ssh session. (This is actually annoying to me, since it means stuff like Kerberos and AFS works differently than it used to.). Because it is like regular systemd, you can override services in your ~/.config/systemd/user directory, set resource limits, such as only giving gnome-tracker 0.1% of the CPU and lower priority and lower IO bandwidth.
4.) the desktop session output and error are captured in the journal. Previously init systems had user console lost to the user. There was some attempt to capture the X logs and the gnome session, but in systemd each user unit can be individually examined with journalctl.
5.) desktop environments can have a unified interface for autostart of processes in a new session.
This is just stuff off the top of my head. While I do agree that there has been a lot of focus on server with systemd, a lot of cool things (like unit templating) were introduced because of the needs in systemd on workstations. Don’t forget that nearly all the common benefits of systemd also help desktops, because at its core, systemd is the core init system to launch the OS. Improvements in the base OS improve all fedora systems.
--
Jonathan Billings
1 year, 11 months
Pro tip: "ddns-updates off" in dhcpd.conf
by Sam Varshavchik
I noticed that the recent update had dhcpd in it. For no particular reason I
decided to do a minor health check and see what it was doing.
I was surprised to see that dhcpd was listening on some random high port in
addition to its usual dhcp port.
[root@shorty ~]# ps -ef | grep dhcp
dhcpd 1352 1 0 09:41 ? 00:00:00 /usr/sbin/dhcpd -f -cf
/etc/dhcp/dhcpd.conf -user dhcpd -group dhcpd --no-pid
[root@shorty ~]# ls -al /proc/1352/fd
lrwx------. 1 root root 64 Apr 23 09:43 20 -> 'socket:[24079]'
/proc/net/udp showed the socket bound to port 36755
[root@shorty ~]# netstat -a | grep 36755
udp 0 0 0.0.0.0:36755 0.0.0.0:*
The regular dhcp port correctly listens only on the subnet. But this thing
is open to the whole wide world.
Some searching around found that people noticed this ten years ago, and it's
something dynamic dns-related.
There was no configuration option to turn it off when people were talking
about it. There was only a compile-time option. I combed through the man
page. "ddns-updates off" sounded like a promising candidate, I put it into
dhcpd.conf, restarted dhcpd, and I don't see dhcpd listening on some high
port anymore.
This doesn't really matter for Fedora, firewalld will block this. But it's
awesome how this is enabled by default, and it's listening on all IP
addresses, and not just the DHCP subnet.
1 year, 12 months
Fedora trashes my NTFS drive
by Lily White
Hi,
I have a NTFS flashdrive. When I plug it into Fedora, it reads and
writes normally. However, when plugged into M$ Windows, only an icon and
a not-so-informative ``Removable media'' is shown.
When I try to reformat it with Windows Disk Management, another
not-so-informative error ``Windows cannot format the given drive'' is shown.
I then filled it with zeroes with a Chinese partition management program
(AoMei, if that is useful) and recreated NTFS on it. It worked on
Windows. However, after a plug into Fedora it was ruined again: Fedora
recognized it, but Windows did not.
Results of `sudo fsck /dev/sdc1':
-------------------------------------
fsck from util-linux 2.37.4
Unsupported: replay_log()
Unsupported: check_volume()
Checking 256 MFT records.
Unsupported cases found.
ntfsck was unable to run properly.
-------------------------------------
So I ran `ntfsfix` on it and the following output was produced:
--------------------------------------------------------
Mounting volume... OK
Processing of $MFT and $MFTMirr completed successfully.
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/sdc1 was processed successfully.
--------------------------------------------------------
A rerun of fsck produced identical output.
*Note that the drive was usable on Fedora throughout the process.*
Any idea what's behind this?
------
From LilyWhite with love
1 year, 12 months
(no subject)
by Geoffrey Leach
On Fri, 22 Apr 2022 16:49:06 -0400
Tom Horsley <horsley1953(a)gmail.com> wrote:
> On Fri, 22 Apr 2022 10:01:37 -0700
> Geoffrey Leach wrote:
>
> > New install of Fedora 35. Any time a link is opened -- say from a
> > terminal -- Firefox is opened. The default browser is set in
> > "Default Applications" to chrome. Is there another place where the
> > default browser is set?
>
> You could try this and see if anything in it makes sense:
>
> https://tomhorsley.com/game/mimes.html
>
> I think there are probably 47,321 different places where default
> browser is set with at least half of those different depending on
> which desktop you are running.
>
> You might be able to use xdg-settings to control it (sometimes).
xdg-settings appears to have solved the problem. Many thanks.
1 year, 12 months
Should /etc/rc.d/init.d/livesys* files exist on an installed system??
by Michael D. Setzer II
Noticed a number of lines in the message log that repeat this?
Seems it is linked to the installation from a livesys flash?
Wondering if there is a reason why they still exist, or if they should
have been removed at some point??
systemd-sysv-generator[822960]: SysV service '/etc/rc.d/init.d/livesys-late' lacks
a native systemd unit file. Automatically generating a unit file for compatibility.
Please update package to include a native systemd unit file, in order to make it
more safe and robust.
systemd-sysv-generator[822960]: SysV service '/etc/rc.d/init.d/livesys' lacks a
native systemd unit file. Automatically generating a unit file for compatibility.
Please update package to include a native systemd unit file, in order to make it
more safe and robust.
+------------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor (Retired)
mailto:mikes@guam.net
mailto:msetzerii@gmail.com
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+
1 year, 12 months
Default browser
by Geoffrey Leach
New install of Fedora 35. Any time a link is opened -- say from a
terminal -- Firefox is opened. The default browser is set in "Default
Applications" to chrome. Is there another place where the default browser
is set?
1 year, 12 months
Re: Default browser
by Richard
> Date: Friday, April 22, 2022 10:01:37 -0700
> From: Geoffrey Leach <geoffleach.gl(a)gmail.com>
>
> New install of Fedora 35. Any time a link is opened -- say from a
> terminal -- Firefox is opened. The default browser is set in
> "Default Applications" to chrome. Is there another place where the
> default browser is set?
It may depend on where you are when you are trying to open a link.
E.g., an application may have settings that can (be set to) override
system settings.
1 year, 12 months