redox-os issueshttps://gitlab.redox-os.org/groups/redox-os/-/issues2023-03-01T19:01:35Zhttps://gitlab.redox-os.org/redox-os/orbital/-/issues/35(Feature Request) Add a search bar on the Menu.2023-03-01T19:01:35ZRibbon(Feature Request) Add a search bar on the Menu.https://gitlab.redox-os.org/redox-os/orbital/-/issues/34(Feature Request) Add shortcut keys for window management.2023-03-22T19:07:17ZRibbon(Feature Request) Add shortcut keys for window management.Create a configuration window to set keyboard keys for window actions (close, maximize, minimize, etc).Create a configuration window to set keyboard keys for window actions (close, maximize, minimize, etc).https://gitlab.redox-os.org/redox-os/orbital/-/issues/33(Feature Request) Add an option to hide the window title/button bar when maxi...2023-03-22T19:09:26ZRibbon(Feature Request) Add an option to hide the window title/button bar when maximized.https://gitlab.redox-os.org/redox-os/orbital/-/issues/32(Feature Request) Add an option to change the panel color with color picker.2023-03-01T19:01:53ZRibbon(Feature Request) Add an option to change the panel color with color picker.https://gitlab.redox-os.org/redox-os/orbital/-/issues/31(Feature Request) Add a "Show desktop" button.2023-03-01T19:02:12ZRibbon(Feature Request) Add a "Show desktop" button.https://gitlab.redox-os.org/redox-os/orbital/-/issues/30(Feature Request) Add an option to resize the Orbital panel.2023-03-01T19:02:25ZRibbon(Feature Request) Add an option to resize the Orbital panel.https://gitlab.redox-os.org/redox-os/website/-/issues/192(Feature Request) Dark theme by default.2023-11-05T21:27:41ZRibbon(Feature Request) Dark theme by default.It's better for the eyes, less stress to read.It's better for the eyes, less stress to read.https://gitlab.redox-os.org/redox-os/orbutils/-/issues/54(Feature Request) Dual-mode location bar for File Manager.2024-02-10T18:32:09ZRibbon(Feature Request) Dual-mode location bar for File Manager.Offer the options "folder buttons" or "explicit path"
- Folder Buttons - every folder on the path can be clicked/accessed.
- Explicit Path - the path bar show the Unix model for directories (/home/user).Offer the options "folder buttons" or "explicit path"
- Folder Buttons - every folder on the path can be clicked/accessed.
- Explicit Path - the path bar show the Unix model for directories (/home/user).https://gitlab.redox-os.org/redox-os/orbutils/-/issues/53(Feature Request) Image preview on File Manager2024-02-10T18:32:23ZRibbon(Feature Request) Image preview on File ManagerShow a preview on the right side when selecting an image file.Show a preview on the right side when selecting an image file.https://gitlab.redox-os.org/redox-os/orbutils/-/issues/52(Feature Request) Mount volume option for File Manager.2024-02-10T18:33:05ZRibbon(Feature Request) Mount volume option for File Manager.https://gitlab.redox-os.org/redox-os/orbutils/-/issues/51(Feature Request) Split panels for File Manager.2024-02-10T18:32:54ZRibbon(Feature Request) Split panels for File Manager.![image](/uploads/f67f88cc24d3563bdb699ee7ab4cf8c4/image.png)![image](/uploads/f67f88cc24d3563bdb699ee7ab4cf8c4/image.png)https://gitlab.redox-os.org/redox-os/uutils/-/issues/4uname -r reports 0.3.42023-07-01T07:53:41ZRon Williamsuname -r reports 0.3.4`uname` is reporting an old version number. Can we automate the update of version number?`uname` is reporting an old version number. Can we automate the update of version number?https://gitlab.redox-os.org/redox-os/orbclient/-/issues/46Update `redox_syscall` to v0.32023-04-28T13:46:34ZdaxpeddaUpdate `redox_syscall` to v0.3I was just trying the new `winit` release on Redox OS and noticed the duplicate dependency.I was just trying the new `winit` release on Redox OS and noticed the duplicate dependency.https://gitlab.redox-os.org/redox-os/ion/-/issues/1017Ion crashes after pressing `enter` key frequently2023-06-25T02:29:58ZIvan TanIon crashes after pressing `enter` key frequentlybug: Ion crashes after pressing `enter` key frequently
expect: Ion runs normally after pkg exiting abnormally
code: input
```
user:/usr/bin# pkg list vim
* Requesting https://static.redox-os.org/pkg/x86_64-unknown-redox/vim.sig
126 B ...bug: Ion crashes after pressing `enter` key frequently
expect: Ion runs normally after pkg exiting abnormally
code: input
```
user:/usr/bin# pkg list vim
* Requesting https://static.redox-os.org/pkg/x86_64-unknown-redox/vim.sig
126 B / 126 B [===========================================] 100.00 % 12.11 KB/s
* Requesting https://static.redox-os.org/pkg/x86_64-unknown-redox/vim.tar.gz
smolnetd::scheme: poll error: dropped by socket
smolnetd::scheme: poll error: dropped by socket
560.00 KB / 11.54 MB [=>-------------------------------] 4.74 % 292.13 KB/s 39s ion: pipeline execution error: process (112) ended by signal SIGINT
user:/usr/bin#
user:/usr/bin#
# ...
user:/usr/bin# cat /sys:context
PID PGID PPID RUID RGID RNS EUID EGID ENS STAT CPU TICKS MEM NAME
1 1 0 0 0 0 0 0 0 RR 0 00:19:48 512 B
2 2 0 0 0 0 0 0 0 RR+ 3 00:00:00 512 B
3 3 0 0 0 0 0 0 0 RR+ 1 00:00:00 512 B
4 4 0 0 0 0 0 0 0 RR+ 2 00:00:00 512 B
5 5 0 0 0 0 0 0 0 UB 0 00:00:00 2 MB initfs:bin/init
6 5 5 0 0 1 0 0 1 UB 0 00:00:00 12 MB bootstrap
8 5 5 0 0 0 0 0 0 UB 0 00:00:00 1 MB /bin/nulld
10 5 5 0 0 0 0 0 0 UB 0 00:00:00 1 MB /bin/zerod
12 5 5 0 0 0 0 0 0 UB 0 00:00:00 2 MB /bin/randd
15 5 5 0 0 0 0 0 0 UB 0 00:00:00 1 MB /bin/logd
19 5 5 0 0 0 0 0 0 UB 0 00:00:03 2 MB /bin/ramfs
21 5 5 0 0 0 0 0 0 UB 0 00:00:01 2 MB /bin/acpid
25 5 5 0 0 0 0 0 0 UB 0 00:00:05 2 MB /bin/ahcid
27 5 5 0 0 0 0 0 0 UB 0 00:00:04 35 MB /bin/redoxfs
29 5 5 0 0 0 0 0 0 UB 0 00:00:00 1 MB file:/bin/ipcd
31 5 5 0 0 0 0 0 0 UB 0 00:00:06 2 MB file:/bin/ptyd
34 5 5 0 0 1 0 0 1 UB 0 00:00:00 7 MB file:/bin/pcid
35 5 5 0 0 0 0 0 0 UR 0 00:02:02 2 MB file:/bin/ihdad
38 5 5 0 0 0 0 0 0 UB 0 00:00:02 1 MB file:/bin/e1000d
40 5 5 0 0 1 0 0 1 UB 0 00:00:00 2 MB file:/bin/escalated
42 5 5 0 0 0 0 0 0 UB 0 00:00:06 3 MB file:/bin/smolnetd
44 5 5 0 0 0 0 0 0 UB 0 00:00:00 2 MB file:/bin/dnsd
48 5 5 0 0 0 0 0 0 UR 0 00:02:27 4 MB file:/bin/audiod
49 5 48 0 0 0 0 0 0 UB 0 00:02:10 4 MB file:/bin/audiod
54 5 5 0 0 1 0 0 1 UB 0 00:00:02 2 MB file:/bin/getty
55 5 54 0 0 1 0 0 1 UB 0 00:00:00 2 MB file:/bin/login
56 56 55 1000 1000 1 1000 1000 1 UB 0 00:00:02 4 MB file:/bin/ion
122 122 56 1000 1000 1 1000 1000 1 UR+ 0 00:00:00 8 MB file:/bin/cat
user:/usr/bin#
user:/usr/bin# smolnetd::scheme: poll error: unaddressable destination
user:/usr/bin#
user:/usr/bin#
user:/usr/bin#
thread 'main' panicked at 'wait() should either return Ok or panic', library/std/src/sys/unix/process/process_unix.rs:117:21
Invalid opcode fault
RFLAG: 0000000000000206
CS: 0000000000000033
RIP: 000000000061647e
RSP: 00007fffffff8730
SS: 000000000000002b
FSBASE 0000000000005000
GSBASE 0000000000000000
KGSBASE fffffd8000000050
RAX: 0000000000000000
RCX: 00000000006348a3
RDX: 000000000000000f
RDI: 0000000000000002
RSI: 0000000000684bcb
R8: 00007fffffff8640
R9: 0000000000000002
R10: 00007fffffff8488
R11: 0000000000000202
RBX: 0000000000000001
RBP: 00000000008c1130
R12: 0000000000000001
R13: 00000000008bb598
R14: 0000000000000000
R15: 00007fffffff8860
TRACE: FFFFFE80006532C0
FFFFFE80006532C0: FFFFFF000008B867
FFFFFF000008B730+0137
kernel::arch::x86_64::interrupt::exception::invalid_opcode::inner
FFFFFE8000653350: FFFFFF00000896CD
FFFFFF00000896A0+002D
kernel::arch::x86_64::interrupt::exception::invalid_opcode
00000000008C1130: EMPTY RETURN
kernel:INFO -- SIGNAL 4, CPU 0, PID ContextId(56)
kernel:INFO -- NAME file:/bin/ion
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
abort() called
########## Redox OS ##########
# Login with the following: #
# `user` #
# `root`:`password` #
##############################
redox login:
redox login:
redox login:
redox login: smolnetd::scheme: poll error: unaddressable destination
smolnetd::scheme: poll error: unaddressable destination
redox login:
redox login:
redox login: smolnetd::scheme: poll error: unaddressable destination
smolnetd::scheme: poll error: unaddressable destination
smolnetd::scheme: poll error: unaddressable destination
redox login:
redox login: user
Welcome to Redox OS!
```
For details, see the [test.log](/uploads/95263cd6701a4c442b2035f818dd5a3b/test.log)
expect: output
```
result
```
kernel: redox `git rev-parse HEAD` == e5c3be86cd2febcf4292ad4170943d4d3330f278
version:
```
user:~# ion --version
ion 1.0.0-alpha (x86_64-unknown-redox)
rev 3bb8966fc99ba223033e1e02b0a6d50fc25cbef4
```
interaction:
* 1. Press `enter` frequently
* 5. Shell crashes.
context: run redox without GUI `make qemu kvm=no vga=no`https://gitlab.redox-os.org/redox-os/kernel/-/issues/111kmain is not guaranteed to be PID 1, causing shutdown to not work correctly2023-02-27T16:22:47ZRon Williamskmain is not guaranteed to be PID 1, causing shutdown to not work correctly`shutdown` sends SIGKILL to kmain using PID 1. However, kmain is not guaranteed to have PID 1. You can verify this by running the system multiple times and doing `grep BSP sys:/log`, it shows e.g. Ok(ContextId(3)) about 50% of the time. ...`shutdown` sends SIGKILL to kmain using PID 1. However, kmain is not guaranteed to have PID 1. You can verify this by running the system multiple times and doing `grep BSP sys:/log`, it shows e.g. Ok(ContextId(3)) about 50% of the time. There needs to be a mechanism to ensure kmain has PID 1, or `shutdown` needs a way to determine the PID of kmain.https://gitlab.redox-os.org/redox-os/redox/-/issues/1366root cannot delete user's files2023-03-01T16:28:59ZRon Williamsroot cannot delete user's filesLog in as user `user`, create a file in your home directory. Then `sudo rm file`. It fails with permission denied.Log in as user `user`, create a file in your home directory. Then `sudo rm file`. It fails with permission denied.https://gitlab.redox-os.org/redox-os/redox-initfs/-/issues/1Redox would not boot after installing with fs password.2023-10-14T15:26:02ZRon WilliamsRedox would not boot after installing with fs password.User reported that Redox would not boot after installing with fs password. No password prompt was displayed.
https://matrix.to/#/!VRFarxUZgQhGPZpROi:matrix.org/$6oB9BNYbUVG7Wmj4ZT-u1NIofMClVG7i4KB9WHcrD9I?via=matrix.org&via=mozilla.org&v...User reported that Redox would not boot after installing with fs password. No password prompt was displayed.
https://matrix.to/#/!VRFarxUZgQhGPZpROi:matrix.org/$6oB9BNYbUVG7Wmj4ZT-u1NIofMClVG7i4KB9WHcrD9I?via=matrix.org&via=mozilla.org&via=westwork.orghttps://gitlab.redox-os.org/redox-os/book/-/issues/142Update Chat chapter to refer to Redox space in Matrix, and clarify how to use...2023-06-13T04:50:25ZRon WilliamsUpdate Chat chapter to refer to Redox space in Matrix, and clarify how to use /SupportRedox OS is a space in Matrix, users should join that.
Redox OS/Support requires a user to join if they use Element, there are guest accounts available on some other Matrix apps.Redox OS is a space in Matrix, users should join that.
Redox OS/Support requires a user to join if they use Element, there are guest accounts available on some other Matrix apps.https://gitlab.redox-os.org/redox-os/netutils/-/issues/31Ping Doesn't Work As Execpted, Return ERROR CODE == EAGAIN2023-01-10T14:28:27ZIvan TanPing Doesn't Work As Execpted, Return ERROR CODE == EAGAIN# Description
Ping command does't work properly, for example `ping 8.8.8.8`. I am sure that `8.8.8.8` is reachable.
Console output:
```
redox login: user
Welcome to Redox OS!
user:~# ping 8.8.8.8
: io error : Try again (os error 11)
...# Description
Ping command does't work properly, for example `ping 8.8.8.8`. I am sure that `8.8.8.8` is reachable.
Console output:
```
redox login: user
Welcome to Redox OS!
user:~# ping 8.8.8.8
: io error : Try again (os error 11)
user:~# ping www.google.com
: io error : Try again (os error 11)
```
# Environment info
* `git rev-parse HEAD`: `34d1ec9c2e9f7904b57547ca16d4c3145c109880`
* `rustc -V`: `rustc 1.61.0-nightly (58f11791a 2022-03-17)`
* `uname -a`: `Linux ccs-PC 5.15.0-56-generic #62~20.04.1-Ubuntu SMP Tue Nov 22 21:24:20 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux`
# Steps to reproduce
* Log in (`make FILESYSTEM_SIZE=512 qemu kvm=no vga=no`)
* Open terminal
* Input `ping X.X.X.X`
# Extra
When `event_queue.trigger_all` is called, the `on_echo_event` callback is triggered. However, the io read function returns `EAGAIN` because of nothing to read in `ping_fd`'s buffer during this period.
```
// netstack/source/src/smolnetd/scheme/icmp.rs
fn write_buf(
&mut self,
file: &mut SocketFile<Self::DataT>,
buf: &[u8],
) -> SyscallResult<Option<usize>> {
if self.can_send() {
match file.data.socket_type {
IcmpSocketType::Echo => {
if buf.len() < mem::size_of::<u16>() {
return Err(SyscallError::new(syscall::EINVAL));
}
let (seq_buf, payload) = buf.split_at(mem::size_of::<u16>());
let seq_no = NetworkEndian::read_u16(seq_buf);
let icmp_repr = Icmpv4Repr::EchoRequest {
ident: file.data.ident,
seq_no,
data: payload,
};
let icmp_payload = self.send(icmp_repr.buffer_len(), file.data.ip)
.map_err(|_| syscall::Error::new(syscall::EINVAL))?;
let mut icmp_packet = Icmpv4Packet::new_unchecked(icmp_payload);
//TODO: replace Default with actual caps
icmp_repr.emit(&mut icmp_packet, &Default::default());
Ok(Some(buf.len()))
}
IcmpSocketType::Udp => {
Err(SyscallError::new(syscall::EINVAL))
}
}
} else if file.flags & syscall::O_NONBLOCK == syscall::O_NONBLOCK {
Err(SyscallError::new(syscall::EAGAIN))
} else {
Ok(None) // internally scheduled to re-read
}
}
```
I try to figure it out by triggering time event only, and it seems to work:
```
diff --git a/src/ping/main.rs b/src/ping/main.rs
index 2c94104..3bbda3a 100644
--- a/src/ping/main.rs
+++ b/src/ping/main.rs
@@ -340,11 +340,11 @@ fn run() -> Result<()> {
move |_| ping_.borrow_mut().on_echo_event())?;
let ping_ = ping.clone();
- event_queue
+ let time_queue_id = event_queue
.add(time_fd as RawFd,
move |_| ping_.borrow_mut().on_time_event())?;
- event_queue.trigger_all(event::Event {
+ event_queue.trigger(time_queue_id, event::Event {
fd: 0,
flags: syscall::EventFlags::empty(),
})?;
```https://gitlab.redox-os.org/redox-os/relibc/-/issues/172Add UTIME_OMIT and UTIME_NOW2023-10-25T01:32:47ZSteve LauAdd UTIME_OMIT and UTIME_NOW~~>This is NOT an issue, I am new to GitLab and don't find anything similar to `discussions` on GitHub, so I post it as an issue.~~
-------
The [futimens(2)](https://pubs.opengroup.org/onlinepubs/9699919799/functions/futimens.html) sys...~~>This is NOT an issue, I am new to GitLab and don't find anything similar to `discussions` on GitHub, so I post it as an issue.~~
-------
The [futimens(2)](https://pubs.opengroup.org/onlinepubs/9699919799/functions/futimens.html) syscall,
which is used to update `atime` and `mtime` timestamps of a file, has two advantages over `utimes(2)`, cite
the man page from open group:
> If the `tv_nsec` field of a `timespec` structure has the special value `UTIME_NOW`,
> the file's relevant timestamp shall be set to the greatest value supported by
> the file system that is not greater than the current time.
> If the `tv_nsec` field has the special value `UTIME_OMIT`, the file's relevant
> timestamp shall not be changed. In either case, the `tv_sec` field shall be ignored.
Redox does not ~~seem to~~ support these two features as there is no `UTIME_NOW` and `UTIME_OMIT`
in `relibc`,
```shell
$ cd relibc
$ rg "UTIME_OMIT"
$ rg "UTIME_NOW"
```
~~Is there any plan to support these features?~~
~~Yes.~~