Hi,
Before doing latest stable update, I have to deal with a sudo. pacnew file than question me. I could not find similar thread with the search function.
My /home partition is encrypted since manjaro installation.
Can I merge this pacnew safely?
inxi -zv8
❯ inxi -zv8
System:
Kernel: 6.18.49-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 16.2.1
clocksource: tsc avail: acpi_pm
parameters: BOOT_IMAGE=/boot/vmlinuz-6.18-x86_64
root=UUID=587c0515-2f5a-49ce-a96c-acf557260d9d rw quiet splash apparmor=1
security=apparmor rd.luks.uuid=cf75823b-a7ef-47e0-9ee1-9a506579abf5
udev.log_priority=3
Desktop: GNOME v: 50.4 tk: GTK v: 3.24.52 wm: gnome-shell
tools: gsd-screensaver-proxy dm: GDM v: 50.3 Distro: Manjaro
base: Arch Linux
Machine:
Type: Laptop System: HP product: HP ProBook 450 G5 v: SBKPF
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: HP model: 837D v: KBC Version 02.41.00 serial: <superuser required>
part-nu: 2XY36EA#ABF uuid: <superuser required> Firmware: UEFI vendor: HP
v: Q85 Ver. 01.31.00 date: 01/15/2025
Battery:
ID-1: BAT0 charge: 11.2 Wh (29.3%) condition: 38.4/48 Wh (80%) volts: 10.55
min: 11.4 model: Hewlett-Packard Primary type: Li-ion serial: <filter>
charging: status: discharging cycles: 207
Memory:
System RAM: total: 16 GiB available: 15.01 GiB used: 5.14 GiB (34.2%)
Message: For most reliable report, use superuser + dmidecode.
Array-1: capacity: 32 GiB slots: 2 modules: 2 EC: None
max-module-size: 16 GiB note: est.
Device-1: Bottom-Slot 1(top) type: DDR4 detail: synchronous unbuffered
(unregistered) size: 8 GiB speed: 2400 MT/s volts: curr: 1 width (bits):
data: 64 total: 64 manufacturer: Kingston part-no: HP26D4S9S8ME-8
serial: <filter>
Device-2: Bottom-Slot 2(under) type: DDR4 detail: synchronous unbuffered
(unregistered) size: 8 GiB speed: 2400 MT/s volts: curr: 1 width (bits):
data: 64 total: 64 manufacturer: Kingston part-no: HP26D4S9S8ME-8
serial: <filter>
PCI Slots:
Permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: model: Intel Core i5-8250U bits: 64 type: MT MCP arch: Coffee Lake
gen: core 8 level: v3 note: check built: 2017 process: Intel 14nm family: 6
model-id: 0x8E (142) stepping: 0xA (10) microcode: 0xF6
Topology: cpus: 1x dies: 1 clusters: 4 cores: 4 threads: 8 tpc: 2
smt: enabled cache: L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB
desc: 4x256 KiB L3: 6 MiB desc: 1x6 MiB
Speed (MHz): avg: 400 min/max: 400/3400 scaling: driver: intel_pstate
governor: powersave cores: 1: 400 2: 400 3: 400 4: 400 5: 400 6: 400 7: 400
8: 400 bogomips: 28800
Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs ida
intel_pt invpcid lahf_lm lm mca mce md_clear mmx monitor movbe mpx msr
mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge
pln pni popcnt pse pse36 pti pts rdrand rdseed rdtscp rep_good sdbg sep
smap smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2
tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi vpid x2apic
xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
Vulnerabilities:
Type: gather_data_sampling mitigation: Microcode
Type: ghostwrite status: Not affected
Type: indirect_target_selection status: Not affected
Type: itlb_multihit status: KVM: Split huge pages
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
Type: old_microcode status: Not affected
Type: reg_file_data_sampling status: Not affected
Type: retbleed mitigation: IBRS
Type: spec_rstack_overflow status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: IBRS; IBPB: conditional; STIBP: conditional;
RSB filling; PBRSB-eIBRS: Not affected; BHI: Not affected
Type: srbds mitigation: Microcode
Type: tsa status: Not affected
Type: tsx_async_abort status: Not affected
Type: vmscape mitigation: IBPB before exit to userspace
Graphics:
Device-1: Intel Kaby Lake-R GT2 [UHD Graphics 620] vendor: Hewlett-Packard
driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
ports: active: eDP-1 empty: DP-1,HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0
chip-ID: 8086:5917 class-ID: 0300
Device-2: NVIDIA GM108M [GeForce 930MX] vendor: Hewlett-Packard
Use of uninitialized value $val2 in string eq at /usr/bin/inxi line 7247.
Use of uninitialized value $val2 in split at /usr/bin/inxi line 7252.
Use of uninitialized value $val2 in concatenation (.) or string at /usr/bin/inxi line 7255.
Use of uninitialized value $val2 in concatenation (.) or string at /usr/bin/inxi line 7258.
Use of uninitialized value $val2 in concatenation (.) or string at /usr/bin/inxi line 7259.
driver: nouveau v: kernel alternate: nova_core non-free: 550-580.xx+ status:
arch: Maxwell code: GMxxx process: TSMC 28nm built: 2014-2019 pcie: gen: 1
speed: 2.5 GT/s lanes: 4 link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.0
chip-ID: 10de:134e class-ID: 0302
Device-3: Lite-On HP HD Camera driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-6:2 chip-ID: 04ca:706e
class-ID: 0e02 serial: <filter>
Display: wayland server: X.org v: 1.21.1.24 with: Xwayland v: 24.1.13
compositor: gnome-shell driver: gpu: i915 display-ID: 0
Monitor-1: eDP-1 model: ChiMei InnoLux 0x15d3 built: 2015 res: 1920x1080
dpi: 142 gamma: 1.2 chroma: red: x: 0.592 y: 0.349 green: x: 0.329 y: 0.557
blue: x: 0.153 y: 0.118 white: x: 0.314 y: 0.329
size: 344x193mm (13.54x7.6") diag: 394mm (15.5") ratio: 16:9
modes: 1920x1080
EDID-Warnings: 1: parse_edid: unknown flag 2
API: EGL v: 1.5 hw: drv: intel iris drv: nvidia nouveau platforms:
device: 0 drv: nouveau device: 1 drv: iris device: 2 drv: swrast gbm:
drv: nouveau surfaceless: drv: nouveau wayland: drv: iris x11: drv: iris
API: OpenGL v: 4.6 compat-v: 4.3 vendor: intel mesa v: 26.2.2-arch1.1
glx-v: 1.4 direct-render: yes renderer: Mesa Intel UHD Graphics 620 (KBL
GT2) device-ID: 8086:5917 memory: 14.66 GiB unified: yes display-ID: :0.0
Info: Tools: api: eglinfo,glxinfo x11: xprop
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel alternate: snd_soc_avs bus-ID: 00:1f.3
chip-ID: 8086:9d71 class-ID: 0403
API: ALSA v: k6.18.49-1-MANJARO status: kernel-api with: aoss
type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
Server-2: JACK v: 1.9.22 status: off tools: N/A
Server-3: PipeWire v: 1.6.8 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
vendor: Hewlett-Packard driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: 3000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp2s0 state: down mac: <filter>
Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel pcie:
gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:24fd
class-ID: 0280
IF: wlp3s0 state: up mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: dynamic noprefixroute scope: global
IP v6: <filter> type: noprefixroute scope: link
Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
WAN IP: <filter>
Bluetooth:
Device-1: Intel Bluetooth wireless interface driver: btusb v: 0.8 type: USB
rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-7:3 chip-ID: 8087:0a2b
class-ID: e001
Report: rfkill ID: hci0 rfk-id: 4 state: down bt-service: enabled,running
rfk-block: hardware: no software: yes address: see --recommends
Logical:
Message: No logical block device data found.
Device-1: luks-cf75823b-a7ef-47e0-9ee1-9a506579abf5 maj-min: 253:0
type: LUKS dm: dm-0 size: 387.29 GiB
Components:
p-1: sda3 maj-min: 8:3 size: 387.29 GiB
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 465.76 GiB used: 49.91 GiB (10.7%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 850 EVO M.2 500GB
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: 1B6Q scheme: GPT
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 78.12 GiB size: 76.35 GiB (97.73%) used: 25.64 GiB (33.6%)
fs: ext4 dev: /dev/sda2 maj-min: 8:2 label: N/A
uuid: 587c0515-2f5a-49ce-a96c-acf557260d9d
ID-2: /boot/efi raw-size: 350 MiB size: 349.3 MiB (99.79%)
used: 328 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1 label: N/A
uuid: F770-AEAC
ID-3: /home raw-size: 387.29 GiB size: 380.15 GiB (98.15%)
used: 24.27 GiB (6.4%) fs: ext4 dev: /dev/dm-0 maj-min: 253:0
mapped: luks-cf75823b-a7ef-47e0-9ee1-9a506579abf5 label: N/A
uuid: 806215e9-962b-400c-b58c-991beb31d252
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
compressor: zstd max-pool: 20%
ID-1: swap-1 type: file size: 512 MiB used: 0 KiB (0.0%) priority: -2
file: /swapfile
Unmounted:
Message: No unmounted partitions found.
USB:
Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 12 rev: 2.0
speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
class-ID: 0900
Device-1: 1-4:4 info: Holtek Optical Mouse type: mouse
driver: hid-generic,usbhid interfaces: 1 rev: 1.1
speed: 1.5 Mb/s (183 KiB/s) lanes: 1 mode: 1.0 power: 100mA
chip-ID: 04d9:0499 class-ID: 0301
Device-2: 1-6:2 info: Lite-On HP HD Camera type: video driver: uvcvideo
interfaces: 2 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0
power: 500mA chip-ID: 04ca:706e class-ID: 0e02 serial: <filter>
Device-3: 1-7:3 info: Intel Bluetooth wireless interface type: bluetooth
driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
mode: 1.1 power: 100mA chip-ID: 8087:0a2b class-ID: e001
Hub-2: 2-0:1 info: super-speed hub ports: 6 rev: 3.0
speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
class-ID: 0900
Sensors:
System Temperatures: cpu: 33.0 C pch: 29.5 C mobo: N/A
Fan Speeds (rpm): N/A
Repos:
Packages: pm: pacman pkgs: 1753 libs: 396 tools: gnome-software,pamac,yay
pm: rpm pkgs: 0 pm: flatpak pkgs: 0
Active pacman repo servers in: /etc/pacman.d/mirrorlist
1: https://www.mirrorservice.org/sites/repo.manjaro.org/repos/stable/$repo/$arch
2: https://mirror.23m.com/manjaro/stable/$repo/$arch
3: https://mirror.alwyzon.net/manjaro/stable/$repo/$arch
4: https://mirror.informatik.tu-freiberg.de/manjaro/stable/$repo/$arch
5: https://ftpmirror1.infania.net/mirror/manjaro/stable/$repo/$arch
6: https://mirrors.dotsrc.org/manjaro/stable/$repo/$arch
7: https://mirror.datacenter.by/pub/mirrors/manjaro/stable/$repo/$arch
8: https://mirrors.up.pt/pub/manjaro/stable/$repo/$arch
Processes:
CPU top: 5 of 308
1: cpu: 100% command: ps pid: 38428 mem: 3.80 MiB (0.0%)
2: cpu: 13.9% command: firefox pid: 5032 mem: 947.0 MiB (6.1%)
3: cpu: 8.4% command: gnome-shell pid: 2047 mem: 381.0 MiB (2.4%)
4: cpu: 8.3% command: firefox pid: 37716 mem: 422.5 MiB (2.7%)
5: cpu: 5.1% command: localsearch-extractor-3 pid: 38401
mem: 43.5 MiB (0.2%)
Memory top: 5 of 308
1: mem: 948.4 MiB (6.1%) command: thunderbird pid: 4202 cpu: 2.2%
2: mem: 947.0 MiB (6.1%) command: firefox pid: 5032 cpu: 13.9%
3: mem: 589.1 MiB (3.8%) command: firefox pid: 27493 cpu: 0.7%
4: mem: 465.4 MiB (3.0%) command: firefox pid: 30305 cpu: 2.8%
5: mem: 456.9 MiB (2.9%) command: firefox pid: 32553 cpu: 4.2%
Info:
Processes: 308 Power: uptime: 9h 26m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 3 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 5.9 GiB services: gsd-power,
power-profiles-daemon, upowerd Init: systemd v: 261 default: graphical
tool: systemctl
Compilers: gcc: 16.2.1 Shell: Zsh v: 5.9.2 running-in: kgx inxi: 3.3.41
And the pacnew in question
diff --side-by-side /etc/pam.d/sudo /etc/pam.d/sudo.pacnew
#%PAM-1.0 #%PAM-1.0
auth include system-auth auth include system-auth
account include system-auth account include system-auth
session include system-auth session include system-auth
| session optional pam_systemd.so class=none
# Manjaro defaults <
auth required pam_env.so <
auth sufficient pam_fprintd.so <
auth sufficient pam_unix.so try_first_pass likeauth nullok <
auth required pam_deny.so <
Sudo is most needed and I don’t want to make a mistake.
Any advice is welcome
Mod Edit: Fixed alignment.