Repository navigation
Commit 4f0a01e
committed
fix(doctor): the idle check asks the running shell's PID, not the boot
A shell that exited mid-boot logged its watcher's death, and the
boot's journal kept it: with success silent, the last failure line
was a dead instance's, and the live shell was graded by its
predecessor. Found when a logout/login verification run failed the
idle lock with the pre-logout instance's broken pipe. The journal
read is scoped to the unit's main PID now; a unit with none falls
back to the boot-wide read.1 parent ef1b49f commit 4f0a01e
2 files changed
Lines changed: 45 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
34 | 45 | | |
35 | 46 | | |
36 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1924 | 1924 | | |
1925 | 1925 | | |
1926 | 1926 | | |
1927 | | - | |
| 1927 | + | |
| 1928 | + | |
1928 | 1929 | | |
1929 | 1930 | | |
1930 | 1931 | | |
1931 | 1932 | | |
| 1933 | + | |
| 1934 | + | |
| 1935 | + | |
| 1936 | + | |
| 1937 | + | |
| 1938 | + | |
| 1939 | + | |
| 1940 | + | |
| 1941 | + | |
1932 | 1942 | | |
1933 | | - | |
| 1943 | + | |
| 1944 | + | |
| 1945 | + | |
| 1946 | + | |
| 1947 | + | |
| 1948 | + | |
| 1949 | + | |
| 1950 | + | |
| 1951 | + | |
| 1952 | + | |
| 1953 | + | |
| 1954 | + | |
| 1955 | + | |
| 1956 | + | |
| 1957 | + | |
1934 | 1958 | | |
1935 | 1959 | | |
1936 | 1960 | | |
| |||
1939 | 1963 | | |
1940 | 1964 | | |
1941 | 1965 | | |
1942 | | - | |
1943 | | - | |
| 1966 | + | |
| 1967 | + | |
| 1968 | + | |
| 1969 | + | |
| 1970 | + | |
| 1971 | + | |
| 1972 | + | |
| 1973 | + | |
1944 | 1974 | | |
1945 | 1975 | | |
1946 | 1976 | | |
| |||
0 commit comments