summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md1249
1 files changed, 627 insertions, 622 deletions
diff --git a/README.md b/README.md
index 02c42ae..de4dbf6 100644
--- a/README.md
+++ b/README.md
@@ -242,350 +242,359 @@ Your report should include advice to other people attempting to do the same.
#### CPU
- ```bash
- モ lscpu
- Architecture: x86_64
- CPU op-mode(s): 32-bit, 64-bit
- Byte Order: Little Endian
- Address sizes: 36 bits physical, 48 bits virtual
- CPU(s): 8
- On-line CPU(s) list: 0-7
- Thread(s) per core: 2
- Core(s) per socket: 4
- Socket(s): 1
- NUMA node(s): 1
- Vendor ID: GenuineIntel
- CPU family: 6
- Model: 58
- Model name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
- Stepping: 9
- CPU MHz: 1604.968
- CPU max MHz: 3900.0000
- CPU min MHz: 1600.0000
- BogoMIPS: 7021.40
- Virtualization: VT-x
- L1d cache: 32K
- L1i cache: 32K
- L2 cache: 256K
- L3 cache: 8192K
- NUMA node0 CPU(s): 0-7
- Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
- cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp
- lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid
- aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm
- pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm
- cpuid_fault epb pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid
- fsgsbase smep erms xsaveopt dtherm ida arat pln pts md_clear flush_l1d
- ```
+ ```bash
+ モ lscpu
+ Architecture: x86_64
+ CPU op-mode(s): 32-bit, 64-bit
+ Byte Order: Little Endian
+ Address sizes: 36 bits physical, 48 bits virtual
+ CPU(s): 8
+ On-line CPU(s) list: 0-7
+ Thread(s) per core: 2
+ Core(s) per socket: 4
+ Socket(s): 1
+ NUMA node(s): 1
+ Vendor ID: GenuineIntel
+ CPU family: 6
+ Model: 58
+ Model name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
+ Stepping: 9
+ CPU MHz: 1604.968
+ CPU max MHz: 3900.0000
+ CPU min MHz: 1600.0000
+ BogoMIPS: 7021.40
+ Virtualization: VT-x
+ L1d cache: 32K
+ L1i cache: 32K
+ L2 cache: 256K
+ L3 cache: 8192K
+ NUMA node0 CPU(s): 0-7
+ Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
+ cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp
+ lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid
+ aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm
+ pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm
+ cpuid_fault epb pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid
+ fsgsbase smep erms xsaveopt dtherm ida arat pln pts md_clear flush_l1d
+ ```
#### PCI
- ```bash
- モ lspci
- 00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller (rev 09)
- 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
- 00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
- 00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
- 00:19.0 Ethernet controller: Intel Corporation 82579V Gigabit Network Connection (rev 04)
- 00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
- 00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
- 00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
- 00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
- 00:1c.3 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 4 (rev c4)
- 00:1c.4 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c4)
- 00:1c.6 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 7 (rev c4)
- 00:1c.7 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 8 (rev c4)
- 00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
- 00:1f.0 ISA bridge: Intel Corporation Z77 Express Chipset LPC Controller (rev 04)
- 00:1f.2 SATA controller: Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
- 00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
- 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev e7)
- 01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
- 03:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
- 04:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 01)
- 05:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 03)
- 07:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
- 08:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
- ```
+
+ ```bash
+ モ lspci
+ 00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller (rev 09)
+ 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
+ 00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
+ 00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
+ 00:19.0 Ethernet controller: Intel Corporation 82579V Gigabit Network Connection (rev 04)
+ 00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
+ 00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
+ 00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
+ 00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
+ 00:1c.3 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 4 (rev c4)
+ 00:1c.4 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c4)
+ 00:1c.6 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 7 (rev c4)
+ 00:1c.7 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 8 (rev c4)
+ 00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
+ 00:1f.0 ISA bridge: Intel Corporation Z77 Express Chipset LPC Controller (rev 04)
+ 00:1f.2 SATA controller: Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
+ 00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
+ 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev e7)
+ 01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
+ 03:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
+ 04:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 01)
+ 05:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 03)
+ 07:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
+ 08:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
+ ```
#### Memory
- ```bash
- モ lsmem | tail -n3
- Memory block size: 128M
- Total online memory: 32G
- Total offline memory: 0B
- ```
+
+ ```bash
+ モ lsmem | tail -n3
+ Memory block size: 128M
+ Total online memory: 32G
+ Total offline memory: 0B
+ ```
#### USB devices
- ```bash
- モ lsusb
- Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
- Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- Bus 008 Device 004: ID 2109:0812 VIA Labs, Inc. VL812 Hub
- Bus 008 Device 003: ID 2109:0812 VIA Labs, Inc. VL812 Hub
- Bus 008 Device 002: ID 2109:0812 VIA Labs, Inc. VL812 Hub
- Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
- Bus 007 Device 007: ID 045e:00db Microsoft Corp. Natural Ergonomic Keyboard 4000 V1.0
- Bus 007 Device 005: ID 2109:2812 VIA Labs, Inc. VL812 Hub
- Bus 007 Device 006: ID 045e:0029 Microsoft Corp. IntelliMouse Optical
- Bus 007 Device 004: ID 2109:2812 VIA Labs, Inc. VL812 Hub
- Bus 007 Device 003: ID 046d:085c Logitech, Inc. C922 Pro Stream Webcam
- Bus 007 Device 002: ID 2109:2812 VIA Labs, Inc. VL812 Hub
- Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
- Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
- Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
- Bus 003 Device 002: ID 0a5c:21e8 Broadcom Corp. BCM20702A0 Bluetooth 4.0
- Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- ```
+
+ ```bash
+ モ lsusb
+ Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
+ Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+ Bus 008 Device 004: ID 2109:0812 VIA Labs, Inc. VL812 Hub
+ Bus 008 Device 003: ID 2109:0812 VIA Labs, Inc. VL812 Hub
+ Bus 008 Device 002: ID 2109:0812 VIA Labs, Inc. VL812 Hub
+ Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
+ Bus 007 Device 007: ID 045e:00db Microsoft Corp. Natural Ergonomic Keyboard 4000 V1.0
+ Bus 007 Device 005: ID 2109:2812 VIA Labs, Inc. VL812 Hub
+ Bus 007 Device 006: ID 045e:0029 Microsoft Corp. IntelliMouse Optical
+ Bus 007 Device 004: ID 2109:2812 VIA Labs, Inc. VL812 Hub
+ Bus 007 Device 003: ID 046d:085c Logitech, Inc. C922 Pro Stream Webcam
+ Bus 007 Device 002: ID 2109:2812 VIA Labs, Inc. VL812 Hub
+ Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+ Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
+ Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+ Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
+ Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+ Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
+ Bus 003 Device 002: ID 0a5c:21e8 Broadcom Corp. BCM20702A0 Bluetooth 4.0
+ Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+ ```
#### Block devices
- ```bash
- モ lsblk
- NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
- sda 8:0 0 931.5G 0 disk
- └─sda1 8:1 0 931.5G 0 part
- sdb 8:16 0 232.9G 0 disk
- ├─sdb1 8:17 0 1G 0 part /boot
- └─sdb2 8:18 0 231.9G 0 part
- ├─fedora_localhost--live-root 253:0 0 70G 0 lvm /
- ├─fedora_localhost--live-swap 253:1 0 15.7G 0 lvm [SWAP]
- └─fedora_localhost--live-home 253:2 0 146.2G 0 lvm /home
- ```
+
+ ```bash
+ モ lsblk
+ NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
+ sda 8:0 0 931.5G 0 disk
+ └─sda1 8:1 0 931.5G 0 part
+ sdb 8:16 0 232.9G 0 disk
+ ├─sdb1 8:17 0 1G 0 part /boot
+ └─sdb2 8:18 0 231.9G 0 part
+ ├─fedora_localhost--live-root 253:0 0 70G 0 lvm /
+ ├─fedora_localhost--live-swap 253:1 0 15.7G 0 lvm [SWAP]
+ └─fedora_localhost--live-home 253:2 0 146.2G 0 lvm /home
+ ```
#### Time and date settings
- ```bash
- モ timedatectl
- Local time: Sat 2019-09-28 15:12:16 MDT
- Universal time: Sat 2019-09-28 21:12:16 UTC
- RTC time: Sat 2019-09-28 21:12:16
- Time zone: America/Edmonton (MDT, -0600)
- System clock synchronized: yes
- NTP service: active
- RTC in local TZ: no
- ```
+
+ ```bash
+ モ timedatectl
+ Local time: Sat 2019-09-28 15:12:16 MDT
+ Universal time: Sat 2019-09-28 21:12:16 UTC
+ RTC time: Sat 2019-09-28 21:12:16
+ Time zone: America/Edmonton (MDT, -0600)
+ System clock synchronized: yes
+ NTP service: active
+ RTC in local TZ: no
+ ```
#### Hostname
- ```bash
- モ hostname
- localhost.localdomain
- ```
+
+ ```bash
+ モ hostname
+ localhost.localdomain
+ ```
#### Network addresses
- ```bash
- モ ip addr show
- 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
- link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
- inet 127.0.0.1/8 scope host lo
- valid_lft forever preferred_lft forever
- inet6 ::1/128 scope host
- valid_lft forever preferred_lft forever
- 2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
- link/ether 10:bf:48:7c:c8:9b brd ff:ff:ff:ff:ff:ff
- inet 192.168.128.58/24 brd 192.168.128.255 scope global dynamic noprefixroute eno1
- valid_lft 583485sec preferred_lft 583485sec
- inet6 fe80::bdb7:fce0:3736:ce93/64 scope link noprefixroute
- valid_lft forever preferred_lft forever
- 3: wlp7s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
- link/ether ce:77:3a:58:2c:0a brd ff:ff:ff:ff:ff:ff
- 4: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
- link/ether 52:54:00:ce:7b:4d brd ff:ff:ff:ff:ff:ff
- inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
- valid_lft forever preferred_lft forever
- 5: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc fq_codel master virbr0 state DOWN group default qlen 1000
- link/ether 52:54:00:ce:7b:4d brd ff:ff:ff:ff:ff:ff
- 6: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
- link/ether 02:42:44:ef:dc:62 brd ff:ff:ff:ff:ff:ff
- inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
- valid_lft forever preferred_lft forever
- inet6 fe80::42:44ff:feef:dc62/64 scope link
- valid_lft forever preferred_lft forever
- ```
+
+ ```bash
+ モ ip addr show
+ 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
+ link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
+ inet 127.0.0.1/8 scope host lo
+ valid_lft forever preferred_lft forever
+ inet6 ::1/128 scope host
+ valid_lft forever preferred_lft forever
+ 2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
+ link/ether 10:bf:48:7c:c8:9b brd ff:ff:ff:ff:ff:ff
+ inet 192.168.128.58/24 brd 192.168.128.255 scope global dynamic noprefixroute eno1
+ valid_lft 583485sec preferred_lft 583485sec
+ inet6 fe80::bdb7:fce0:3736:ce93/64 scope link noprefixroute
+ valid_lft forever preferred_lft forever
+ 3: wlp7s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
+ link/ether ce:77:3a:58:2c:0a brd ff:ff:ff:ff:ff:ff
+ 4: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
+ link/ether 52:54:00:ce:7b:4d brd ff:ff:ff:ff:ff:ff
+ inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
+ valid_lft forever preferred_lft forever
+ 5: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc fq_codel master virbr0 state DOWN group default qlen 1000
+ link/ether 52:54:00:ce:7b:4d brd ff:ff:ff:ff:ff:ff
+ 6: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
+ link/ether 02:42:44:ef:dc:62 brd ff:ff:ff:ff:ff:ff
+ inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
+ valid_lft forever preferred_lft forever
+ inet6 fe80::42:44ff:feef:dc62/64 scope link
+ valid_lft forever preferred_lft forever
+ ```
#### Full hardware report
- ```bash
- モ sudo lshw -short
- H/W path Device Class Description
- =============================================================
- system System Product Name (SKU)
- /0 bus P8Z77-V PRO
- /0/0 memory 64KiB BIOS
- /0/4 processor Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
- /0/4/5 memory 32KiB L1 cache
- /0/4/6 memory 256KiB L2 cache
- /0/4/7 memory 8MiB L3 cache
- /0/1 memory 32GiB System memory
- /0/1/0 memory 8GiB DIMM DDR3 Synchronous 1333 MHz (0.8 ns)
- /0/1/1 memory 8GiB DIMM DDR3 Synchronous 1333 MHz (0.8 ns)
- /0/1/2 memory 8GiB DIMM DDR3 Synchronous 1333 MHz (0.8 ns)
- /0/1/3 memory 8GiB DIMM DDR3 Synchronous 1333 MHz (0.8 ns)
- /0/100 bridge Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller
- /0/100/1 bridge Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port
- /0/100/1/0 display Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
- /0/100/1/0.1 multimedia Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
- /0/100/14 bus 7 Series/C210 Series Chipset Family USB xHCI Host Controller
- /0/100/14/0 usb3 bus xHCI Host Controller
- /0/100/14/0/1 generic BCM20702A0
- /0/100/14/1 usb4 bus xHCI Host Controller
- /0/100/16 communication 7 Series/C216 Chipset Family MEI Controller #1
- /0/100/19 eno1 network 82579V Gigabit Network Connection
- /0/100/1a bus 7 Series/C216 Chipset Family USB Enhanced Host Controller #2
- /0/100/1a/1 usb1 bus EHCI Host Controller
- /0/100/1a/1/1 bus Integrated Rate Matching Hub
- /0/100/1b multimedia 7 Series/C216 Chipset Family High Definition Audio Controller
- /0/100/1c bridge 7 Series/C216 Chipset Family PCI Express Root Port 1
- /0/100/1c.2 bridge 7 Series/C210 Series Chipset Family PCI Express Root Port 3
- /0/100/1c.2/0 bus ASM1042 SuperSpeed USB Host Controller
- /0/100/1c.2/0/0 usb5 bus xHCI Host Controller
- /0/100/1c.2/0/1 usb6 bus xHCI Host Controller
- /0/100/1c.3 bridge 7 Series/C216 Chipset Family PCI Express Root Port 4
- /0/100/1c.3/0 scsi6 storage ASM1062 Serial ATA Controller
- /0/100/1c.3/0/0 /dev/sda disk 1TB ST31000340AS
- /0/100/1c.3/0/0/1 /dev/sda1 volume 931GiB EXT4 volume
- /0/100/1c.3/0/1 /dev/sdb disk 250GB Samsung SSD 840
- /0/100/1c.3/0/1/1 /dev/sdb1 volume 1GiB EXT4 volume
- /0/100/1c.3/0/1/2 /dev/sdb2 volume 231GiB Linux LVM Physical Volume partition
- /0/100/1c.4 bridge 82801 PCI Bridge
- /0/100/1c.4/0 bridge ASM1083/1085 PCIe to PCI Bridge
- /0/100/1c.6 bridge 7 Series/C210 Series Chipset Family PCI Express Root Port 7
- /0/100/1c.6/0 wlp7s0 network AR9485 Wireless Network Adapter
- /0/100/1c.7 bridge 7 Series/C210 Series Chipset Family PCI Express Root Port 8
- /0/100/1c.7/0 bus ASM1042 SuperSpeed USB Host Controller
- /0/100/1c.7/0/0 usb7 bus xHCI Host Controller
- /0/100/1c.7/0/0/1 bus USB2.0 Hub
- /0/100/1c.7/0/0/1/1 multimedia C922 Pro Stream Webcam
- /0/100/1c.7/0/0/1/2 bus USB2.0 Hub
- /0/100/1c.7/0/0/1/2/1 input Microsoft IntelliMouse
- /0/100/1c.7/0/0/1/3 bus USB2.0 Hub
- /0/100/1c.7/0/0/1/3/1 input Natural
- /0/100/1c.7/0/1 usb8 bus xHCI Host Controller
- /0/100/1c.7/0/1/1 bus USB3.0 Hub
- /0/100/1c.7/0/1/1/2 bus USB3.0 Hub
- /0/100/1c.7/0/1/1/3 bus USB3.0 Hub
- /0/100/1d bus 7 Series/C216 Chipset Family USB Enhanced Host Controller #1
- /0/100/1d/1 usb2 bus EHCI Host Controller
- /0/100/1d/1/1 bus Integrated Rate Matching Hub
- /0/100/1f bridge Z77 Express Chipset LPC Controller
- /0/100/1f.2 storage 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mod
- /0/100/1f.3 bus 7 Series/C216 Chipset Family SMBus Controller
- /0/2 system PnP device PNP0c01
- /0/3 system PnP device PNP0c02
- /0/5 system PnP device PNP0b00
- /0/6 generic PnP device INT3f0d
- /0/7 system PnP device PNP0c02
- /0/8 system PnP device PNP0c02
- /0/9 system PnP device PNP0c02
- /1 power To Be Filled By O.E.M.
- /2 docker0 network Ethernet interface
- /3 virbr0-nic network Ethernet interface
- /4 virbr0 network Ethernet interface
- ```
+
+ ```bash
+ モ sudo lshw -short
+ H/W path Device Class Description
+ =============================================================
+ system System Product Name (SKU)
+ /0 bus P8Z77-V PRO
+ /0/0 memory 64KiB BIOS
+ /0/4 processor Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
+ /0/4/5 memory 32KiB L1 cache
+ /0/4/6 memory 256KiB L2 cache
+ /0/4/7 memory 8MiB L3 cache
+ /0/1 memory 32GiB System memory
+ /0/1/0 memory 8GiB DIMM DDR3 Synchronous 1333 MHz (0.8 ns)
+ /0/1/1 memory 8GiB DIMM DDR3 Synchronous 1333 MHz (0.8 ns)
+ /0/1/2 memory 8GiB DIMM DDR3 Synchronous 1333 MHz (0.8 ns)
+ /0/1/3 memory 8GiB DIMM DDR3 Synchronous 1333 MHz (0.8 ns)
+ /0/100 bridge Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller
+ /0/100/1 bridge Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port
+ /0/100/1/0 display Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
+ /0/100/1/0.1 multimedia Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
+ /0/100/14 bus 7 Series/C210 Series Chipset Family USB xHCI Host Controller
+ /0/100/14/0 usb3 bus xHCI Host Controller
+ /0/100/14/0/1 generic BCM20702A0
+ /0/100/14/1 usb4 bus xHCI Host Controller
+ /0/100/16 communication 7 Series/C216 Chipset Family MEI Controller #1
+ /0/100/19 eno1 network 82579V Gigabit Network Connection
+ /0/100/1a bus 7 Series/C216 Chipset Family USB Enhanced Host Controller #2
+ /0/100/1a/1 usb1 bus EHCI Host Controller
+ /0/100/1a/1/1 bus Integrated Rate Matching Hub
+ /0/100/1b multimedia 7 Series/C216 Chipset Family High Definition Audio Controller
+ /0/100/1c bridge 7 Series/C216 Chipset Family PCI Express Root Port 1
+ /0/100/1c.2 bridge 7 Series/C210 Series Chipset Family PCI Express Root Port 3
+ /0/100/1c.2/0 bus ASM1042 SuperSpeed USB Host Controller
+ /0/100/1c.2/0/0 usb5 bus xHCI Host Controller
+ /0/100/1c.2/0/1 usb6 bus xHCI Host Controller
+ /0/100/1c.3 bridge 7 Series/C216 Chipset Family PCI Express Root Port 4
+ /0/100/1c.3/0 scsi6 storage ASM1062 Serial ATA Controller
+ /0/100/1c.3/0/0 /dev/sda disk 1TB ST31000340AS
+ /0/100/1c.3/0/0/1 /dev/sda1 volume 931GiB EXT4 volume
+ /0/100/1c.3/0/1 /dev/sdb disk 250GB Samsung SSD 840
+ /0/100/1c.3/0/1/1 /dev/sdb1 volume 1GiB EXT4 volume
+ /0/100/1c.3/0/1/2 /dev/sdb2 volume 231GiB Linux LVM Physical Volume partition
+ /0/100/1c.4 bridge 82801 PCI Bridge
+ /0/100/1c.4/0 bridge ASM1083/1085 PCIe to PCI Bridge
+ /0/100/1c.6 bridge 7 Series/C210 Series Chipset Family PCI Express Root Port 7
+ /0/100/1c.6/0 wlp7s0 network AR9485 Wireless Network Adapter
+ /0/100/1c.7 bridge 7 Series/C210 Series Chipset Family PCI Express Root Port 8
+ /0/100/1c.7/0 bus ASM1042 SuperSpeed USB Host Controller
+ /0/100/1c.7/0/0 usb7 bus xHCI Host Controller
+ /0/100/1c.7/0/0/1 bus USB2.0 Hub
+ /0/100/1c.7/0/0/1/1 multimedia C922 Pro Stream Webcam
+ /0/100/1c.7/0/0/1/2 bus USB2.0 Hub
+ /0/100/1c.7/0/0/1/2/1 input Microsoft IntelliMouse
+ /0/100/1c.7/0/0/1/3 bus USB2.0 Hub
+ /0/100/1c.7/0/0/1/3/1 input Natural
+ /0/100/1c.7/0/1 usb8 bus xHCI Host Controller
+ /0/100/1c.7/0/1/1 bus USB3.0 Hub
+ /0/100/1c.7/0/1/1/2 bus USB3.0 Hub
+ /0/100/1c.7/0/1/1/3 bus USB3.0 Hub
+ /0/100/1d bus 7 Series/C216 Chipset Family USB Enhanced Host Controller #1
+ /0/100/1d/1 usb2 bus EHCI Host Controller
+ /0/100/1d/1/1 bus Integrated Rate Matching Hub
+ /0/100/1f bridge Z77 Express Chipset LPC Controller
+ /0/100/1f.2 storage 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mod
+ /0/100/1f.3 bus 7 Series/C216 Chipset Family SMBus Controller
+ /0/2 system PnP device PNP0c01
+ /0/3 system PnP device PNP0c02
+ /0/5 system PnP device PNP0b00
+ /0/6 generic PnP device INT3f0d
+ /0/7 system PnP device PNP0c02
+ /0/8 system PnP device PNP0c02
+ /0/9 system PnP device PNP0c02
+ /1 power To Be Filled By O.E.M.
+ /2 docker0 network Ethernet interface
+ /3 virbr0-nic network Ethernet interface
+ /4 virbr0 network Ethernet interface
+ ```
#### Monitor information
- ```bash
- モ edid-decode /sys/class/drm/card0-HDMI-A-1/edid
- Extracted contents:
- header: 00 ff ff ff ff ff ff 00
- serial number: 4c 2d cc 08 52 4e 34 5a 23 16
- version: 01 03
- basic params: 80 34 1d 78 2a
- chroma info: 7d d1 a4 56 50 a1 28 0f 50 54
- established: bf ef 80
- standard: 71 4f 81 c0 81 00 81 80 95 00 a9 c0 b3 00 01 01
- descriptor 1: 02 3a 80 18 71 38 2d 40 58 2c 45 00 09 25 21 00 00 1e
- descriptor 2: 01 1d 00 72 51 d0 1e 20 6e 28 55 00 09 25 21 00 00 1e
- descriptor 3: 00 00 00 fd 00 32 4b 1e 51 11 00 0a 20 20 20 20 20 20
- descriptor 4: 00 00 00 fc 00 53 32 34 42 33 30 30 0a 20 20 20 20 20
- extensions: 01
- checksum: 03
-
- EDID version: 1.3
- Manufacturer: SAM Model 8cc Serial Number 1513377362
- Made in week 35 of 2012
- Digital display
- Maximum image size: 52 cm x 29 cm
- Gamma: 2.20
- DPMS levels: Off
- RGB color display
- First detailed timing is preferred timing
- Display x,y Chromaticity:
- Red: 0.6416, 0.3388
- Green: 0.3154, 0.6298
- Blue: 0.1591, 0.0595
- White: 0.3125, 0.3291
- Established timings supported:
- 720x400@70Hz 9:5 HorFreq: 31469 Hz Clock: 28.320 MHz
- 640x480@60Hz 4:3 HorFreq: 31469 Hz Clock: 25.175 MHz
- 640x480@67Hz 4:3 HorFreq: 35000 Hz Clock: 30.240 MHz
- 640x480@72Hz 4:3 HorFreq: 37900 Hz Clock: 31.500 MHz
- 640x480@75Hz 4:3 HorFreq: 37500 Hz Clock: 31.500 MHz
- 800x600@56Hz 4:3 HorFreq: 35200 Hz Clock: 36.000 MHz
- 800x600@60Hz 4:3 HorFreq: 37900 Hz Clock: 40.000 MHz
- 800x600@72Hz 4:3 HorFreq: 48100 Hz Clock: 50.000 MHz
- 800x600@75Hz 4:3 HorFreq: 46900 Hz Clock: 49.500 MHz
- 832x624@75Hz 4:3 HorFreq: 49726 Hz Clock: 57.284 MHz
- 1024x768@60Hz 4:3 HorFreq: 48400 Hz Clock: 65.000 MHz
- 1024x768@70Hz 4:3 HorFreq: 56500 Hz Clock: 75.000 MHz
- 1024x768@75Hz 4:3 HorFreq: 60000 Hz Clock: 78.750 MHz
- 1280x1024@75Hz 5:4 HorFreq: 80000 Hz Clock: 135.000 MHz
- 1152x870@75Hz 192:145 HorFreq: 67500 Hz Clock: 108.000 MHz
- Standard timings supported:
- 1152x864@75Hz 4:3 HorFreq: 67500 Hz Clock: 108.000 MHz
- 1280x720@60Hz 16:9
- 1280x800@60Hz 16:10
- 1280x1024@60Hz 5:4 HorFreq: 64000 Hz Clock: 108.000 MHz
- 1440x900@60Hz 16:10 HorFreq: 55500 Hz Clock: 88.750 MHz
- 1600x900@60Hz 16:9
- 1680x1050@60Hz 16:10 HorFreq: 64700 Hz Clock: 119.000 MHz
- Detailed mode: Clock 148.500 MHz, 521 mm x 293 mm
- 1920 2008 2052 2200 hborder 0
- 1080 1084 1089 1125 vborder 0
- +hsync +vsync
- VertFreq: 60 Hz, HorFreq: 67500 Hz
- Detailed mode: Clock 74.250 MHz, 521 mm x 293 mm
- 1280 1390 1430 1650 hborder 0
- 720 725 730 750 vborder 0
- +hsync +vsync
- VertFreq: 60 Hz, HorFreq: 45000 Hz
- Monitor ranges (GTF): 50-75Hz V, 30-81kHz H, max dotclock 170MHz
- Monitor name: S24B300
- Has 1 extension blocks
- Checksum: 0x3 (valid)
-
- CTA extension block
- Extension version: 3
- 13 bytes of CTA data
- Video data block
- VIC 16 1920x1080@60Hz 16:9 (native) HorFreq: 67500 Hz Clock: 148.500 MHz
- VIC 4 1280x720@60Hz 16:9 HorFreq: 45000 Hz Clock: 74.250 MHz
- VIC 31 1920x1080@50Hz 16:9 HorFreq: 56250 Hz Clock: 148.500 MHz
- VIC 19 1280x720@50Hz 16:9 HorFreq: 37500 Hz Clock: 74.250 MHz
- VIC 18 720x576@50Hz 16:9 HorFreq: 31250 Hz Clock: 27.000 MHz
- VIC 3 720x480@60Hz 16:9 HorFreq: 31469 Hz Clock: 27.000 MHz
- Vendor-specific data block, OUI 000c03 (HDMI)
- Source physical address 1.0.0.0
- Underscans PC formats by default
- Supports YCbCr 4:4:4
- Supports YCbCr 4:2:2
- 1 native detailed modes
- Detailed mode: Clock 74.250 MHz, 521 mm x 293 mm
- 1280 1720 1760 1980 hborder 0
- 720 725 730 750 vborder 0
- +hsync +vsync
- VertFreq: 50 Hz, HorFreq: 37500 Hz
- Detailed mode: Clock 27.000 MHz, 521 mm x 293 mm
- 720 732 796 864 hborder 0
- 576 581 586 625 vborder 0
- -hsync -vsync
- VertFreq: 50 Hz, HorFreq: 31250 Hz
- Detailed mode: Clock 27.000 MHz, 521 mm x 293 mm
- 720 736 798 858 hborder 0
- 480 489 495 525 vborder 0
- -hsync -vsync
- VertFreq: 59 Hz, HorFreq: 31468 Hz
- Checksum: 0x51 (valid)
- ```
+
+ ```bash
+ モ edid-decode /sys/class/drm/card0-HDMI-A-1/edid
+ Extracted contents:
+ header: 00 ff ff ff ff ff ff 00
+ serial number: 4c 2d cc 08 52 4e 34 5a 23 16
+ version: 01 03
+ basic params: 80 34 1d 78 2a
+ chroma info: 7d d1 a4 56 50 a1 28 0f 50 54
+ established: bf ef 80
+ standard: 71 4f 81 c0 81 00 81 80 95 00 a9 c0 b3 00 01 01
+ descriptor 1: 02 3a 80 18 71 38 2d 40 58 2c 45 00 09 25 21 00 00 1e
+ descriptor 2: 01 1d 00 72 51 d0 1e 20 6e 28 55 00 09 25 21 00 00 1e
+ descriptor 3: 00 00 00 fd 00 32 4b 1e 51 11 00 0a 20 20 20 20 20 20
+ descriptor 4: 00 00 00 fc 00 53 32 34 42 33 30 30 0a 20 20 20 20 20
+ extensions: 01
+ checksum: 03
+
+ EDID version: 1.3
+ Manufacturer: SAM Model 8cc Serial Number 1513377362
+ Made in week 35 of 2012
+ Digital display
+ Maximum image size: 52 cm x 29 cm
+ Gamma: 2.20
+ DPMS levels: Off
+ RGB color display
+ First detailed timing is preferred timing
+ Display x,y Chromaticity:
+ Red: 0.6416, 0.3388
+ Green: 0.3154, 0.6298
+ Blue: 0.1591, 0.0595
+ White: 0.3125, 0.3291
+ Established timings supported:
+ 720x400@70Hz 9:5 HorFreq: 31469 Hz Clock: 28.320 MHz
+ 640x480@60Hz 4:3 HorFreq: 31469 Hz Clock: 25.175 MHz
+ 640x480@67Hz 4:3 HorFreq: 35000 Hz Clock: 30.240 MHz
+ 640x480@72Hz 4:3 HorFreq: 37900 Hz Clock: 31.500 MHz
+ 640x480@75Hz 4:3 HorFreq: 37500 Hz Clock: 31.500 MHz
+ 800x600@56Hz 4:3 HorFreq: 35200 Hz Clock: 36.000 MHz
+ 800x600@60Hz 4:3 HorFreq: 37900 Hz Clock: 40.000 MHz
+ 800x600@72Hz 4:3 HorFreq: 48100 Hz Clock: 50.000 MHz
+ 800x600@75Hz 4:3 HorFreq: 46900 Hz Clock: 49.500 MHz
+ 832x624@75Hz 4:3 HorFreq: 49726 Hz Clock: 57.284 MHz
+ 1024x768@60Hz 4:3 HorFreq: 48400 Hz Clock: 65.000 MHz
+ 1024x768@70Hz 4:3 HorFreq: 56500 Hz Clock: 75.000 MHz
+ 1024x768@75Hz 4:3 HorFreq: 60000 Hz Clock: 78.750 MHz
+ 1280x1024@75Hz 5:4 HorFreq: 80000 Hz Clock: 135.000 MHz
+ 1152x870@75Hz 192:145 HorFreq: 67500 Hz Clock: 108.000 MHz
+ Standard timings supported:
+ 1152x864@75Hz 4:3 HorFreq: 67500 Hz Clock: 108.000 MHz
+ 1280x720@60Hz 16:9
+ 1280x800@60Hz 16:10
+ 1280x1024@60Hz 5:4 HorFreq: 64000 Hz Clock: 108.000 MHz
+ 1440x900@60Hz 16:10 HorFreq: 55500 Hz Clock: 88.750 MHz
+ 1600x900@60Hz 16:9
+ 1680x1050@60Hz 16:10 HorFreq: 64700 Hz Clock: 119.000 MHz
+ Detailed mode: Clock 148.500 MHz, 521 mm x 293 mm
+ 1920 2008 2052 2200 hborder 0
+ 1080 1084 1089 1125 vborder 0
+ +hsync +vsync
+ VertFreq: 60 Hz, HorFreq: 67500 Hz
+ Detailed mode: Clock 74.250 MHz, 521 mm x 293 mm
+ 1280 1390 1430 1650 hborder 0
+ 720 725 730 750 vborder 0
+ +hsync +vsync
+ VertFreq: 60 Hz, HorFreq: 45000 Hz
+ Monitor ranges (GTF): 50-75Hz V, 30-81kHz H, max dotclock 170MHz
+ Monitor name: S24B300
+ Has 1 extension blocks
+ Checksum: 0x3 (valid)
+
+ CTA extension block
+ Extension version: 3
+ 13 bytes of CTA data
+ Video data block
+ VIC 16 1920x1080@60Hz 16:9 (native) HorFreq: 67500 Hz Clock: 148.500 MHz
+ VIC 4 1280x720@60Hz 16:9 HorFreq: 45000 Hz Clock: 74.250 MHz
+ VIC 31 1920x1080@50Hz 16:9 HorFreq: 56250 Hz Clock: 148.500 MHz
+ VIC 19 1280x720@50Hz 16:9 HorFreq: 37500 Hz Clock: 74.250 MHz
+ VIC 18 720x576@50Hz 16:9 HorFreq: 31250 Hz Clock: 27.000 MHz
+ VIC 3 720x480@60Hz 16:9 HorFreq: 31469 Hz Clock: 27.000 MHz
+ Vendor-specific data block, OUI 000c03 (HDMI)
+ Source physical address 1.0.0.0
+ Underscans PC formats by default
+ Supports YCbCr 4:4:4
+ Supports YCbCr 4:2:2
+ 1 native detailed modes
+ Detailed mode: Clock 74.250 MHz, 521 mm x 293 mm
+ 1280 1720 1760 1980 hborder 0
+ 720 725 730 750 vborder 0
+ +hsync +vsync
+ VertFreq: 50 Hz, HorFreq: 37500 Hz
+ Detailed mode: Clock 27.000 MHz, 521 mm x 293 mm
+ 720 732 796 864 hborder 0
+ 576 581 586 625 vborder 0
+ -hsync -vsync
+ VertFreq: 50 Hz, HorFreq: 31250 Hz
+ Detailed mode: Clock 27.000 MHz, 521 mm x 293 mm
+ 720 736 798 858 hborder 0
+ 480 489 495 525 vborder 0
+ -hsync -vsync
+ VertFreq: 59 Hz, HorFreq: 31468 Hz
+ Checksum: 0x51 (valid)
+ ```
## Lab 3
@@ -605,194 +614,193 @@ Your report should include advice to other people attempting to do the same.
Fedora doesn't have an `/etc/rc.conf`. An OpenBSD system has startup scripts
defined in `/etc/rc.d`.
- ```bash
- モ tree /etc/rc.d/
- /etc/rc.d/
- ├── init.d
- │   ├── functions
- │   ├── livesys
- │   ├── livesys-late
- │   └── README
- ├── rc0.d
- │   ├── K01livesys-late -> ../init.d/livesys-late
- │   └── K99livesys -> ../init.d/livesys
- ├── rc1.d
- │   ├── K01livesys-late -> ../init.d/livesys-late
- │   └── K99livesys -> ../init.d/livesys
- ├── rc2.d
- │   ├── K01livesys-late -> ../init.d/livesys-late
- │   └── K99livesys -> ../init.d/livesys
- ├── rc3.d
- │   ├── S00livesys -> ../init.d/livesys
- │   └── S99livesys-late -> ../init.d/livesys-late
- ├── rc4.d
- │   ├── S00livesys -> ../init.d/livesys
- │   └── S99livesys-late -> ../init.d/livesys-late
- ├── rc5.d
- │   ├── S00livesys -> ../init.d/livesys
- │   └── S99livesys-late -> ../init.d/livesys-late
- └── rc6.d
- ├── K01livesys-late -> ../init.d/livesys-late
- └── K99livesys -> ../init.d/livesys
-
- 8 directories, 18 files
- ```
+ ```bash
+ モ tree /etc/rc.d/
+ /etc/rc.d/
+ ├── init.d
+ │ ├── functions
+ │ ├── livesys
+ │ ├── livesys-late
+ │ └── README
+ ├── rc0.d
+ │ ├── K01livesys-late -> ../init.d/livesys-late
+ │ └── K99livesys -> ../init.d/livesys
+ ├── rc1.d
+ │ ├── K01livesys-late -> ../init.d/livesys-late
+ │ └── K99livesys -> ../init.d/livesys
+ ├── rc2.d
+ │ ├── K01livesys-late -> ../init.d/livesys-late
+ │ └── K99livesys -> ../init.d/livesys
+ ├── rc3.d
+ │ ├── S00livesys -> ../init.d/livesys
+ │ └── S99livesys-late -> ../init.d/livesys-late
+ ├── rc4.d
+ │ ├── S00livesys -> ../init.d/livesys
+ │ └── S99livesys-late -> ../init.d/livesys-late
+ ├── rc5.d
+ │ ├── S00livesys -> ../init.d/livesys
+ │ └── S99livesys-late -> ../init.d/livesys-late
+ └── rc6.d
+ ├── K01livesys-late -> ../init.d/livesys-late
+ └── K99livesys -> ../init.d/livesys
+
+ 8 directories, 18 files
+ ```
Fedora attemps to map the System V init system to the systemd, but the bulk
of the processes that are started during init are managed by systemd.
c. Which directory contains the rc.d (or similar file)? Explain the contents of the rc.d (or the file/s) that does the same in your setup.
- On Fedora, the /etc/rc.d is mostly empty.
- There's a couple of shell scripts but it looks like it might be used for running Fedora from a live CD.
-
- ```bash
- モ tree /etc/rc.d/
- /etc/rc.d/
- ├── init.d
- │   ├── functions
- │   ├── livesys
- │   ├── livesys-late
- │   └── README
- ├── rc0.d
- │   ├── K01livesys-late -> ../init.d/livesys-late
- │   └── K99livesys -> ../init.d/livesys
- ├── rc1.d
- │   ├── K01livesys-late -> ../init.d/livesys-late
- │   └── K99livesys -> ../init.d/livesys
- ├── rc2.d
- │   ├── K01livesys-late -> ../init.d/livesys-late
- │   └── K99livesys -> ../init.d/livesys
- ├── rc3.d
- │   ├── S00livesys -> ../init.d/livesys
- │   └── S99livesys-late -> ../init.d/livesys-late
- ├── rc4.d
- │   ├── S00livesys -> ../init.d/livesys
- │   └── S99livesys-late -> ../init.d/livesys-late
- ├── rc5.d
- │   ├── S00livesys -> ../init.d/livesys
- │   └── S99livesys-late -> ../init.d/livesys-late
- └── rc6.d
- ├── K01livesys-late -> ../init.d/livesys-late
- └── K99livesys -> ../init.d/livesys
-
- 8 directories, 18 files
- ```
+ On Fedora, the `/etc/rc.d` is mostly empty. There's a couple of shell scripts but it looks like it might be used for running Fedora from a live CD.
- The latest version of Fedora uses `systemd` for managing startup daemons.
- `systemd` is configured using unit files.
-
- ```bash
- モ tree /etc/systemd/system/
- /etc/systemd/system/
- ├── bluetooth.target.wants
- │   └── bluetooth.service -> /usr/lib/systemd/system/bluetooth.service
- ├── ctrl-alt-del.target -> /usr/lib/systemd/system/reboot.target
- ├── dbus-org.bluez.service -> /usr/lib/systemd/system/bluetooth.service
- ├── dbus-org.fedoraproject.FirewallD1.service -> /usr/lib/systemd/system/firewalld.service
- ├── dbus-org.freedesktop.Avahi.service -> /usr/lib/systemd/system/avahi-daemon.service
- ├── dbus-org.freedesktop.ModemManager1.service -> /usr/lib/systemd/system/ModemManager.service
- ├── dbus-org.freedesktop.nm-dispatcher.service -> /usr/lib/systemd/system/NetworkManager-dispatcher.service
- ├── dbus-org.freedesktop.timedate1.service -> /usr/lib/systemd/system/timedatex.service
- ├── dbus.service -> /usr/lib/systemd/system/dbus-broker.service
- ├── default.target -> /lib/systemd/system/graphical.target
- ├── dev-virtio\x2dports-org.qemu.guest_agent.0.device.wants
- │   └── qemu-guest-agent.service -> /usr/lib/systemd/system/qemu-guest-agent.service
- ├── display-manager.service -> /usr/lib/systemd/system/gdm.service
- ├── getty.target.wants
- │   └── getty@tty1.service -> /usr/lib/systemd/system/getty@.service
- ├── graphical.target.wants
- │   ├── accounts-daemon.service -> /usr/lib/systemd/system/accounts-daemon.service
- │   ├── rtkit-daemon.service -> /usr/lib/systemd/system/rtkit-daemon.service
- │   ├── switcheroo-control.service -> /usr/lib/systemd/system/switcheroo-control.service
- │   └── udisks2.service -> /usr/lib/systemd/system/udisks2.service
- ├── messagebus.service -> /usr/lib/systemd/system/dbus-broker.service
- ├── multi-user.target.wants
- │   ├── abrtd.service -> /usr/lib/systemd/system/abrtd.service
- │   ├── abrt-journal-core.service -> /usr/lib/systemd/system/abrt-journal-core.service
- │   ├── abrt-oops.service -> /usr/lib/systemd/system/abrt-oops.service
- │   ├── abrt-vmcore.service -> /usr/lib/systemd/system/abrt-vmcore.service
- │   ├── abrt-xorg.service -> /usr/lib/systemd/system/abrt-xorg.service
- │   ├── atd.service -> /usr/lib/systemd/system/atd.service
- │   ├── auditd.service -> /usr/lib/systemd/system/auditd.service
- │   ├── avahi-daemon.service -> /usr/lib/systemd/system/avahi-daemon.service
- │   ├── chronyd.service -> /usr/lib/systemd/system/chronyd.service
- │   ├── crond.service -> /usr/lib/systemd/system/crond.service
- │   ├── cups.path -> /usr/lib/systemd/system/cups.path
- │   ├── dbxtool.service -> /usr/lib/systemd/system/dbxtool.service
- │   ├── dkms.service -> /usr/lib/systemd/system/dkms.service
- │   ├── dnf-makecache.timer -> /usr/lib/systemd/system/dnf-makecache.timer
- │   ├── docker.service -> /usr/lib/systemd/system/docker.service
- │   ├── firewalld.service -> /usr/lib/systemd/system/firewalld.service
- │   ├── libvirtd.service -> /usr/lib/systemd/system/libvirtd.service
- │   ├── mcelog.service -> /usr/lib/systemd/system/mcelog.service
- │   ├── mdmonitor.service -> /usr/lib/systemd/system/mdmonitor.service
- │   ├── ModemManager.service -> /usr/lib/systemd/system/ModemManager.service
- │   ├── NetworkManager.service -> /usr/lib/systemd/system/NetworkManager.service
- │   ├── nfs-client.target -> /usr/lib/systemd/system/nfs-client.target
- │   ├── remote-fs.target -> /usr/lib/systemd/system/remote-fs.target
- │   ├── rngd.service -> /usr/lib/systemd/system/rngd.service
- │   ├── sssd.service -> /usr/lib/systemd/system/sssd.service
- │   ├── vboxautostart-service.service -> /usr/lib/systemd/system/vboxautostart-service.service
- │   ├── vboxballoonctrl-service.service -> /usr/lib/systemd/system/vboxballoonctrl-service.service
- │   ├── vboxdrv.service -> /usr/lib/systemd/system/vboxdrv.service
- │   ├── vboxservice.service -> /usr/lib/systemd/system/vboxservice.service
- │   ├── vboxweb-service.service -> /usr/lib/systemd/system/vboxweb-service.service
- │   └── vmtoolsd.service -> /usr/lib/systemd/system/vmtoolsd.service
- ├── network-online.target.wants
- │   └── NetworkManager-wait-online.service -> /usr/lib/systemd/system/NetworkManager-wait-online.service
- ├── nfs-blkmap.service.requires
- │   └── nfs-convert.service -> /usr/lib/systemd/system/nfs-convert.service
- ├── nfs-idmapd.service.requires
- │   └── nfs-convert.service -> /usr/lib/systemd/system/nfs-convert.service
- ├── nfs-mountd.service.requires
- │   └── nfs-convert.service -> /usr/lib/systemd/system/nfs-convert.service
- ├── nfs-server.service.requires
- │   └── nfs-convert.service -> /usr/lib/systemd/system/nfs-convert.service
- ├── nginx.service.d
- ├── printer.target.wants
- │   └── cups.service -> /usr/lib/systemd/system/cups.service
- ├── redis-sentinel.service.d
- │   └── limit.conf
- ├── redis.service.d
- │   └── limit.conf
- ├── remote-fs.target.wants
- │   └── nfs-client.target -> /usr/lib/systemd/system/nfs-client.target
- ├── rpc-gssd.service.requires
- │   └── nfs-convert.service -> /usr/lib/systemd/system/nfs-convert.service
- ├── rpc-statd-notify.service.requires
- │   └── nfs-convert.service -> /usr/lib/systemd/system/nfs-convert.service
- ├── rpc-statd.service.requires
- │   └── nfs-convert.service -> /usr/lib/systemd/system/nfs-convert.service
- ├── sockets.target.wants
- │   ├── avahi-daemon.socket -> /usr/lib/systemd/system/avahi-daemon.socket
- │   ├── cups.socket -> /usr/lib/systemd/system/cups.socket
- │   ├── dbus.socket -> /usr/lib/systemd/system/dbus.socket
- │   ├── dm-event.socket -> /usr/lib/systemd/system/dm-event.socket
- │   ├── iscsid.socket -> /usr/lib/systemd/system/iscsid.socket
- │   ├── iscsiuio.socket -> /usr/lib/systemd/system/iscsiuio.socket
- │   ├── multipathd.socket -> /usr/lib/systemd/system/multipathd.socket
- │   ├── spice-vdagentd.socket -> /usr/lib/systemd/system/spice-vdagentd.socket
- │   ├── sssd-kcm.socket -> /usr/lib/systemd/system/sssd-kcm.socket
- │   ├── virtlockd.socket -> /usr/lib/systemd/system/virtlockd.socket
- │   └── virtlogd.socket -> /usr/lib/systemd/system/virtlogd.socket
- ├── sysinit.target.wants
- │   ├── dmraid-activation.service -> /usr/lib/systemd/system/dmraid-activation.service
- │   ├── import-state.service -> /usr/lib/systemd/system/import-state.service
- │   ├── iscsi.service -> /usr/lib/systemd/system/iscsi.service
- │   ├── lvm2-lvmetad.socket -> /usr/lib/systemd/system/lvm2-lvmetad.socket
- │   ├── lvm2-lvmpolld.socket -> /usr/lib/systemd/system/lvm2-lvmpolld.socket
- │   ├── lvm2-monitor.service -> /usr/lib/systemd/system/lvm2-monitor.service
- │   ├── multipathd.service -> /usr/lib/systemd/system/multipathd.service
- │   └── selinux-autorelabel-mark.service -> /usr/lib/systemd/system/selinux-autorelabel-mark.service
- ├── systemd-timedated.service -> /dev/null
- ├── timers.target.wants
- │   ├── mlocate-updatedb.timer -> /usr/lib/systemd/system/mlocate-updatedb.timer
- │   └── unbound-anchor.timer -> /usr/lib/systemd/system/unbound-anchor.timer
- └── vmtoolsd.service.requires
- ├── vgauthd.service -> /usr/lib/systemd/system/vgauthd.service
- └── vmtoolsd-init.service -> /usr/lib/systemd/system/vmtoolsd-init.service
- ```
+
+ ```bash
+ モ tree /etc/rc.d/
+ /etc/rc.d/
+ ├── init.d
+ │ ├── functions
+ │ ├── livesys
+ │ ├── livesys-late
+ │ └── README
+ ├── rc0.d
+ │ ├── K01livesys-late -> ../init.d/livesys-late
+ │ └── K99livesys -> ../init.d/livesys
+ ├── rc1.d
+ │ ├── K01livesys-late -> ../init.d/livesys-late
+ │ └── K99livesys -> ../init.d/livesys
+ ├── rc2.d
+ │ ├── K01livesys-late -> ../init.d/livesys-late
+ │ └── K99livesys -> ../init.d/livesys
+ ├── rc3.d
+ │ ├── S00livesys -> ../init.d/livesys
+ │ └── S99livesys-late -> ../init.d/livesys-late
+ ├── rc4.d
+ │ ├── S00livesys -> ../init.d/livesys
+ │ └── S99livesys-late -> ../init.d/livesys-late
+ ├── rc5.d
+ │ ├── S00livesys -> ../init.d/livesys
+ │ └── S99livesys-late -> ../init.d/livesys-late
+ └── rc6.d
+ ├── K01livesys-late -> ../init.d/livesys-late
+ └── K99livesys -> ../init.d/livesys
+
+ 8 directories, 18 files
+ ```
+
+ The latest version of Fedora uses `systemd` for managing startup daemons. `systemd` is configured using unit files.
+
+ ```bash
+ モ tree /etc/systemd/system/
+ /etc/systemd/system/
+ ├── bluetooth.target.wants
+ │ └── bluetooth.service -> /usr/lib/systemd/system/bluetooth.service
+ ├── ctrl-alt-del.target -> /usr/lib/systemd/system/reboot.target
+ ├── dbus-org.bluez.service -> /usr/lib/systemd/system/bluetooth.service
+ ├── dbus-org.fedoraproject.FirewallD1.service -> /usr/lib/systemd/system/firewalld.service
+ ├── dbus-org.freedesktop.Avahi.service -> /usr/lib/systemd/system/avahi-daemon.service
+ ├── dbus-org.freedesktop.ModemManager1.service -> /usr/lib/systemd/system/ModemManager.service
+ ├── dbus-org.freedesktop.nm-dispatcher.service -> /usr/lib/systemd/system/NetworkManager-dispatcher.service
+ ├── dbus-org.freedesktop.timedate1.service -> /usr/lib/systemd/system/timedatex.service
+ ├── dbus.service -> /usr/lib/systemd/system/dbus-broker.service
+ ├── default.target -> /lib/systemd/system/graphical.target
+ ├── dev-virtio\x2dports-org.qemu.guest_agent.0.device.wants
+ │ └── qemu-guest-agent.service -> /usr/lib/systemd/system/qemu-guest-agent.service
+ ├── display-manager.service -> /usr/lib/systemd/system/gdm.service
+ ├── getty.target.wants
+ │ └── getty@tty1.service -> /usr/lib/systemd/system/getty@.service
+ ├── graphical.target.wants
+ │ ├── accounts-daemon.service -> /usr/lib/systemd/system/accounts-daemon.service
+ │ ├── rtkit-daemon.service -> /usr/lib/systemd/system/rtkit-daemon.service
+ │ ├── switcheroo-control.service -> /usr/lib/systemd/system/switcheroo-control.service
+ │ └── udisks2.service -> /usr/lib/systemd/system/udisks2.service
+ ├── messagebus.service -> /usr/lib/systemd/system/dbus-broker.service
+ ├── multi-user.target.wants
+ │ ├── abrtd.service -> /usr/lib/systemd/system/abrtd.service
+ │ ├── abrt-journal-core.service -> /usr/lib/systemd/system/abrt-journal-core.service
+ │ ├── abrt-oops.service -> /usr/lib/systemd/system/abrt-oops.service
+ │ ├── abrt-vmcore.service -> /usr/lib/systemd/system/abrt-vmcore.service
+ │ ├── abrt-xorg.service -> /usr/lib/systemd/system/abrt-xorg.service
+ │ ├── atd.service -> /usr/lib/systemd/system/atd.service
+ │ ├── auditd.service -> /usr/lib/systemd/system/auditd.service
+ │ ├── avahi-daemon.service -> /usr/lib/systemd/system/avahi-daemon.service
+ │ ├── chronyd.service -> /usr/lib/systemd/system/chronyd.service
+ │ ├── crond.service -> /usr/lib/systemd/system/crond.service
+ │ ├── cups.path -> /usr/lib/systemd/system/cups.path
+ │ ├── dbxtool.service -> /usr/lib/systemd/system/dbxtool.service
+ │ ├── dkms.service -> /usr/lib/systemd/system/dkms.service
+ │ ├── dnf-makecache.timer -> /usr/lib/systemd/system/dnf-makecache.timer
+ │ ├── docker.service -> /usr/lib/systemd/system/docker.service
+ │ ├── firewalld.service -> /usr/lib/systemd/system/firewalld.service
+ │ ├── libvirtd.service -> /usr/lib/systemd/system/libvirtd.service
+ │ ├── mcelog.service -> /usr/lib/systemd/system/mcelog.service
+ │ ├── mdmonitor.service -> /usr/lib/systemd/system/mdmonitor.service
+ │ ├── ModemManager.service -> /usr/lib/systemd/system/ModemManager.service
+ │ ├── NetworkManager.service -> /usr/lib/systemd/system/NetworkManager.service
+ │ ├── nfs-client.target -> /usr/lib/systemd/system/nfs-client.target
+ │ ├── remote-fs.target -> /usr/lib/systemd/system/remote-fs.target
+ │ ├── rngd.service -> /usr/lib/systemd/system/rngd.service
+ │ ├── sssd.service -> /usr/lib/systemd/system/sssd.service
+ │ ├── vboxautostart-service.service -> /usr/lib/systemd/system/vboxautostart-service.service
+ │ ├── vboxballoonctrl-service.service -> /usr/lib/systemd/system/vboxballoonctrl-service.service
+ │ ├── vboxdrv.service -> /usr/lib/systemd/system/vboxdrv.service
+ │ ├── vboxservice.service -> /usr/lib/systemd/system/vboxservice.service
+ │ ├── vboxweb-service.service -> /usr/lib/systemd/system/vboxweb-service.service
+ │ └── vmtoolsd.service -> /usr/lib/systemd/system/vmtoolsd.service
+ ├── network-online.target.wants
+ │ └── NetworkManager-wait-online.service -> /usr/lib/systemd/system/NetworkManager-wait-online.service
+ ├── nfs-blkmap.service.requires
+ │ └── nfs-convert.service -> /usr/lib/systemd/system/nfs-convert.service
+ ├── nfs-idmapd.service.requires
+ │ └── nfs-convert.service -> /usr/lib/systemd/system/nfs-convert.service
+ ├── nfs-mountd.service.requires
+ │ └── nfs-convert.service -> /usr/lib/systemd/system/nfs-convert.service
+ ├── nfs-server.service.requires
+ │ └── nfs-convert.service -> /usr/lib/systemd/system/nfs-convert.service
+ ├── nginx.service.d
+ ├── printer.target.wants
+ │ └── cups.service -> /usr/lib/systemd/system/cups.service
+ ├── redis-sentinel.service.d
+ │ └── limit.conf
+ ├── redis.service.d
+ │ └── limit.conf
+ ├── remote-fs.target.wants
+ │ └── nfs-client.target -> /usr/lib/systemd/system/nfs-client.target
+ ├── rpc-gssd.service.requires
+ │ └── nfs-convert.service -> /usr/lib/systemd/system/nfs-convert.service
+ ├── rpc-statd-notify.service.requires
+ │ └── nfs-convert.service -> /usr/lib/systemd/system/nfs-convert.service
+ ├── rpc-statd.service.requires
+ │ └── nfs-convert.service -> /usr/lib/systemd/system/nfs-convert.service
+ ├── sockets.target.wants
+ │ ├── avahi-daemon.socket -> /usr/lib/systemd/system/avahi-daemon.socket
+ │ ├── cups.socket -> /usr/lib/systemd/system/cups.socket
+ │ ├── dbus.socket -> /usr/lib/systemd/system/dbus.socket
+ │ ├── dm-event.socket -> /usr/lib/systemd/system/dm-event.socket
+ │ ├── iscsid.socket -> /usr/lib/systemd/system/iscsid.socket
+ │ ├── iscsiuio.socket -> /usr/lib/systemd/system/iscsiuio.socket
+ │ ├── multipathd.socket -> /usr/lib/systemd/system/multipathd.socket
+ │ ├── spice-vdagentd.socket -> /usr/lib/systemd/system/spice-vdagentd.socket
+ │ ├── sssd-kcm.socket -> /usr/lib/systemd/system/sssd-kcm.socket
+ │ ├── virtlockd.socket -> /usr/lib/systemd/system/virtlockd.socket
+ │ └── virtlogd.socket -> /usr/lib/systemd/system/virtlogd.socket
+ ├── sysinit.target.wants
+ │ ├── dmraid-activation.service -> /usr/lib/systemd/system/dmraid-activation.service
+ │ ├── import-state.service -> /usr/lib/systemd/system/import-state.service
+ │ ├── iscsi.service -> /usr/lib/systemd/system/iscsi.service
+ │ ├── lvm2-lvmetad.socket -> /usr/lib/systemd/system/lvm2-lvmetad.socket
+ │ ├── lvm2-lvmpolld.socket -> /usr/lib/systemd/system/lvm2-lvmpolld.socket
+ │ ├── lvm2-monitor.service -> /usr/lib/systemd/system/lvm2-monitor.service
+ │ ├── multipathd.service -> /usr/lib/systemd/system/multipathd.service
+ │ └── selinux-autorelabel-mark.service -> /usr/lib/systemd/system/selinux-autorelabel-mark.service
+ ├── systemd-timedated.service -> /dev/null
+ ├── timers.target.wants
+ │ ├── mlocate-updatedb.timer -> /usr/lib/systemd/system/mlocate-updatedb.timer
+ │ └── unbound-anchor.timer -> /usr/lib/systemd/system/unbound-anchor.timer
+ └── vmtoolsd.service.requires
+ ├── vgauthd.service -> /usr/lib/systemd/system/vgauthd.service
+ └── vmtoolsd-init.service -> /usr/lib/systemd/system/vmtoolsd-init.service
+ ```
d. What is stored in rc0.d? Execute the ls command while in rc0.d, and say what is common among all the files stored there.
@@ -908,103 +916,102 @@ Your report should include advice to other people attempting to do the same.
2. Read the man page for the shutdown command.
a. How do you shut down the system to a single-user mode? Try it and present results.
- On a systemd based system you need to change the current run-level.
-
- * run level 0: poweroff.target
- * run level 1: rescue.target
- * run level 3: multi-user.target
- * run level 5: graphical.target
- * run level 6: reboot.target
+ On a systemd based system you need to change the current run-level.
+ 1. run level 0: poweroff.target
+ 1. run level 1: rescue.target
+ 1. run level 3: multi-user.target
+ 1. run level 5: graphical.target
+ 1. run level 6: reboot.target
- The default run level on my system is:
+ The default run level on my system is:
- ```bash
- モ systemctl get-default
- graphical.target
- ```
+ ```bash
+ モ systemctl get-default
+ graphical.target
+ ```
- To change the run level for a running system to single user mode, I need to change the run level to 1.
+ To change the run level for a running system to single user mode, I need to change the run level to 1.
- ```bash
- モ systemctl isolate rescue.target
- ```
+ ```bash
+ モ systemctl isolate rescue.target
+ ```
After running the above command the GUI's dissappeared and it looked like my
system was rebooted. A single shell was shown with the following output:
- ```bash
- Fedora 30 (Workstation Edition)
- Kernel 5.2.13-200.fc30.x86_64 on an x86_64 (tty2)
+ ```bash
+ Fedora 30 (Workstation Edition)
+ Kernel 5.2.13-200.fc30.x86_64 on an x86_64 (tty2)
- localhost login: mokha
- Password:
- System is going down. Unprivileged users are not permitted to log in anymore. For technical details, see pam_nologin(8).
+ localhost login: mokha
+ Password:
+ System is going down. Unprivileged users are not permitted to log in anymore. For technical details, see pam_nologin(8).
- Authentication failure
- ```
+ Authentication failure
+ ```
The man page for `pam_nologin` says:
-
- ```bash
- DESCRIPTION
- pam_nologin is a PAM module that prevents users from logging into the system when /var/run/nologin or
- /etc/nologin exists. The contents of the file are displayed to the user. The pam_nologin module has no
- effect on the root user's ability to log in.
- ```
+ ```bash
+ DESCRIPTION
+ pam_nologin is a PAM module that prevents users from logging into the system when /var/run/nologin or
+ /etc/nologin exists. The contents of the file are displayed to the user. The pam_nologin module has no
+ effect on the root user's ability to log in.
+ ```
So I tried to enable logins for the root user.
- ```bash
- モ sudo -i
- [sudo] password for mokha:
- [root@localhost ~]# whoami
- root
- [root@localhost ~]# passwd
- Changing password for user root.
- New password:
- Retype new password:
- passwd: all authentication tokens updated successfully.
- ```
+ ```bash
+ モ sudo -i
+ [sudo] password for mokha:
+ [root@localhost ~]# whoami
+ root
+ [root@localhost ~]# passwd
+ Changing password for user root.
+ New password:
+ Retype new password:
+ passwd: all authentication tokens updated successfully.
+ ```
Then I tried to change the run level again. This time it would return me to
the graphical login prompt.
Next, I tried to look at the help for `init`.
- ```bash
- モ init --help
- init [OPTIONS...] {COMMAND}
+ ```bash
+ モ init --help
+ init [OPTIONS...] {COMMAND}
- Send control commands to the init daemon.
+ Send control commands to the init daemon.
- --help Show this help
- --no-wall Don't send wall message before halt/power-off/reboot
+ --help Show this help
+ --no-wall Don't send wall message before halt/power-off/reboot
- Commands:
- 0 Power-off the machine
- 6 Reboot the machine
- 2, 3, 4, 5 Start runlevelX.target unit
- 1, s, S Enter rescue mode
- q, Q Reload init daemon configuration
- u, U Reexecute init daemon
+ Commands:
+ 0 Power-off the machine
+ 6 Reboot the machine
+ 2, 3, 4, 5 Start runlevelX.target unit
+ 1, s, S Enter rescue mode
+ q, Q Reload init daemon configuration
+ u, U Reexecute init daemon
- See the telinit(8) man page for details.
- ```
+ See the telinit(8) man page for details.
+ ```
I decided to try using `init` to set the run level to recue mode.
- ```bash
- モ init 1
- ```
+ ```bash
+ モ init 1
+ ```
- This produced the same affect as earlier. So I was unable to switch into
- single user mode from Fedora.
+ This produced the same affect as earlier. So I was unable to switch into single user mode from Fedora.
b. What’s difference between single-user mode and how the system normally runs?
- > Single-user mode is a mode where only the administrator (root) has access to the computer, the mode is designed for maintenance and is often used for repairs. - https://www.tldp.org/LDP/GNU-Linux-Tools-Summary/html/x5152.htm
+ > Single-user mode is a mode where only the administrator (root) has access to the computer,
+ > the mode is designed for maintenance and is often used for repairs.
+ > - https://www.tldp.org/LDP/GNU-Linux-Tools-Summary/html/x5152.htm
c. Explain options in the command "shutdown -t 100 +3 -h".
@@ -1053,9 +1060,9 @@ Your report should include advice to other people attempting to do the same.
d. How do you boot into single-user mode?
- 1. At the GRUB splash screen at boot time, press any key to enter the GRUB interactive menu.
- 1. Select Fedora with the version of the kernel that you wish to boot and type `a` to append the line.
- 1. Go to the end of the line and type `single` as a separate word (press the `Spacebar` and then type `single`). Press `Enter` to exit edit mode.
+ 1. At the GRUB splash screen at boot time, press any key to enter the GRUB interactive menu.
+ 1. Select Fedora with the version of the kernel that you wish to boot and type `a` to append the line.
+ 1. Go to the end of the line and type `single` as a separate word (press the `Spacebar` and then type `single`). Press `Enter` to exit edit mode.
- https://docs.fedoraproject.org/en-US/Fedora/13/html/Installation_Guide/s1-rescuemode-booting-single.html
@@ -1065,40 +1072,39 @@ Your report should include advice to other people attempting to do the same.
However, when I look at the process listing many processes aren't started.
For example many services that usually start up with systemd are not
running. However, I was not able to switch to runlevel 1.
-
+
f. Shut the system down; then boot it normally. Look in the file /var/log/messages (often /var/adm/messages on some systems). How does the information in the “messages” file compare with what appears on the screen during boot?
- The file `/var/log/messages` and `/var/adm/messages` does not exist. A
- `/var/log/README` has the following explanation.
+ The file `/var/log/messages` and `/var/adm/messages` does not exist. A `/var/log/README` has the following explanation.
- ```text
- You are looking for the traditional text log files in /var/log, and
- they are gone?
+ ```text
+ You are looking for the traditional text log files in /var/log, and
+ they are gone?
- Here's an explanation on what's going on:
+ Here's an explanation on what's going on:
- You are running a systemd-based OS where traditional syslog has been
- replaced with the Journal. The journal stores the same (and more)
- information as classic syslog. To make use of the journal and access
- the collected log data simply invoke "journalctl", which will output
- the logs in the identical text-based format the syslog files in
- /var/log used to be. For further details, please refer to
- journalctl(1).
+ You are running a systemd-based OS where traditional syslog has been
+ replaced with the Journal. The journal stores the same (and more)
+ information as classic syslog. To make use of the journal and access
+ the collected log data simply invoke "journalctl", which will output
+ the logs in the identical text-based format the syslog files in
+ /var/log used to be. For further details, please refer to
+ journalctl(1).
- Alternatively, consider installing one of the traditional syslog
- implementations available for your distribution, which will generate
- the classic log files for you. Syslog implementations such as
- syslog-ng or rsyslog may be installed side-by-side with the journal
- and will continue to function the way they always did.
+ Alternatively, consider installing one of the traditional syslog
+ implementations available for your distribution, which will generate
+ the classic log files for you. Syslog implementations such as
+ syslog-ng or rsyslog may be installed side-by-side with the journal
+ and will continue to function the way they always did.
- Thank you!
+ Thank you!
- Further reading:
- man:journalctl(1)
- man:systemd-journald.service(8)
- man:journald.conf(5)
- http://0pointer.de/blog/projects/the-journal.html
- ```
+ Further reading:
+ man:journalctl(1)
+ man:systemd-journald.service(8)
+ man:journald.conf(5)
+ http://0pointer.de/blog/projects/the-journal.html
+ ```
Running `journalctl --folow -k` includes logs from the kernel which is
similar to what appears on screen during the boot process.
@@ -1138,18 +1144,18 @@ Your report should include advice to other people attempting to do the same.
c. Is there an Ethernet card detected on the system?
- Yes.
-
- ```bash
- モ lspci | grep Ethernet
- 00:19.0 Ethernet controller: Intel Corporation 82579V Gigabit Network Connection (rev 04)
+ Yes.
- モ dmesg | grep eth0
- [ 2.658654] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) 10:bf:48:7c:c8:9b
- [ 2.658655] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
- [ 2.658689] e1000e 0000:00:19.0 eth0: MAC: 10, PHY: 11, PBA No: FFFFFF-0FF
- [ 2.659713] e1000e 0000:00:19.0 eno1: renamed from eth0
- ```
+ ```bash
+ モ lspci | grep Ethernet
+ 00:19.0 Ethernet controller: Intel Corporation 82579V Gigabit Network Connection (rev 04)
+
+ モ dmesg | grep eth0
+ [ 2.658654] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) 10:bf:48:7c:c8:9b
+ [ 2.658655] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
+ [ 2.658689] e1000e 0000:00:19.0 eth0: MAC: 10, PHY: 11, PBA No: FFFFFF-0FF
+ [ 2.659713] e1000e 0000:00:19.0 eno1: renamed from eth0
+ ```
## Lab 4
@@ -1208,22 +1214,21 @@ Rootly Powers and Processes
3. Create two entries for the sudoers configuration file:
- a. One entry that allows users Matt, Adam, and Drew to service the printer,
- to unjam the printer, and to restart printer daemons on the machine printerserver.
+ a. One entry that allows users Matt, Adam, and Drew to service the printer, to unjam the printer, and to restart printer daemons on the machine printerserver.
- ```text
- User_Alias PRINT_ADMINS = matt, adam, drew
- Cmnd_Alias PRINTER_MGMT = /usr/bin/lp, /usr/sbin/lpc, /usr/bin/lprm, /usr/bin/lpq, /usr/sbin/lpmove, /usr/bin/lpstat, /usr/bin/systemctl restart cups.service
- PRINT_ADMINS printerserver= PRINTER_MGMT
- ```
+ ```text
+ User_Alias PRINT_ADMINS = matt, adam, drew
+ Cmnd_Alias PRINTER_MGMT = /usr/bin/lp, /usr/sbin/lpc, /usr/bin/lprm, /usr/bin/lpq, /usr/sbin/lpmove, /usr/bin/lpstat, /usr/bin/systemctl restart cups.service
+ PRINT_ADMINS printerserver= PRINTER_MGMT
+ ```
b. One entry that allows Drew, Smihgr, and Jim Lane to kill jobs and then reboot the machine.
- ```text
- User_Alias ADMINS = Drew, Smihgr, Jim Lane
- Cmnd_Alias REBOOT = /usr/sbin/shutdown, /usr/bin/kill
- ADMINS localhost = REBOOT
- ```
+ ```text
+ User_Alias ADMINS = Drew, Smihgr, Jim Lane
+ Cmnd_Alias REBOOT = /usr/sbin/shutdown, /usr/bin/kill
+ ADMINS localhost = REBOOT
+ ```
## Lab 5