Control: tags -1 = upstream
Control: found -1 1.6.2-1.5+b13
Control: retitle -1 uuid: -v1 always uses random MAC (tries "eth0", fallback is 
-m)

The reporter is right.

$ for m in '' m; do for i in $(seq 10); do uuid -d "$(uuid -${m}v 1)"; done; 
done | grep -e encode: -e node: | paste - -
encode: STR:     e6ce5540-665d-11ef-a15f-c3cf64645670                    node:  
c3:cf:64:64:56:70 (local multicast)
encode: STR:     e6cee9f6-665d-11ef-ab72-6f3f0abac260                    node:  
6f:3f:0a:ba:c2:60 (local multicast)
encode: STR:     e6cf7704-665d-11ef-8896-67c2322c8e29                    node:  
67:c2:32:2c:8e:29 (local multicast)
encode: STR:     e6d0039a-665d-11ef-90a8-2bd7c00a9397                    node:  
2b:d7:c0:0a:93:97 (local multicast)
encode: STR:     e6d091de-665d-11ef-921e-8f5d91af43ae                    node:  
8f:5d:91:af:43:ae (local multicast)
encode: STR:     e6d121b2-665d-11ef-9cfe-2799690be190                    node:  
27:99:69:0b:e1:90 (local multicast)
encode: STR:     e6d1b366-665d-11ef-83d9-0fee43356861                    node:  
0f:ee:43:35:68:61 (local multicast)
encode: STR:     e6d2451a-665d-11ef-b7b7-e383e47ed78f                    node:  
e3:83:e4:7e:d7:8f (local multicast)
encode: STR:     e6d2d3a4-665d-11ef-ba14-4ffd0d453358                    node:  
4f:fd:0d:45:33:58 (local multicast)
encode: STR:     e6d35f04-665d-11ef-8430-9f0b7ab7a247                    node:  
9f:0b:7a:b7:a2:47 (local multicast)
encode: STR:     e6d43bae-665d-11ef-b105-0f5835c55af6                    node:  
0f:58:35:c5:5a:f6 (local multicast)
encode: STR:     e6d4cc9a-665d-11ef-83c3-17fd75d8d8b0                    node:  
17:fd:75:d8:d8:b0 (local multicast)
encode: STR:     e6d561b4-665d-11ef-b341-7fc067da41a7                    node:  
7f:c0:67:da:41:a7 (local multicast)
encode: STR:     e6d5ef1c-665d-11ef-855c-07433beb12b1                    node:  
07:43:3b:eb:12:b1 (local multicast)
encode: STR:     e6d67b58-665d-11ef-92e4-0359580d247e                    node:  
03:59:58:0d:24:7e (local multicast)
encode: STR:     e6d707a8-665d-11ef-837a-1f8c1487f149                    node:  
1f:8c:14:87:f1:49 (local multicast)
encode: STR:     e6d7945c-665d-11ef-8ea3-33ca92a4ba31                    node:  
33:ca:92:a4:ba:31 (local multicast)
encode: STR:     e6d824ee-665d-11ef-8d1f-076f2e93d530                    node:  
07:6f:2e:93:d5:30 (local multicast)
encode: STR:     e6d8affe-665d-11ef-95c6-df3d9c50c60a                    node:  
df:3d:9c:50:c6:0a (local multicast)
encode: STR:     e6d93f28-665d-11ef-bd32-d71063cbc04c                    node:  
d7:10:63:cb:c0:4c (local multicast)

naturally, none of these are the same,
and none of them match any of this system's NICs.
cf. uuid(1):
       -m Forces the use of a random multi-cast MAC address when generating 
version 1 UUIDs. By default the real
          physical MAC address of the system is used.

stracing both uuid -mv1 and uuid -v1 shows:
  socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  ioctl(4, SIOCGIFHWADDR, {ifr_name="eth0"}) = -1 ENODEV (No such device)
  close(4)                                = 0

In a.d. 2024 there is probably a hauntingly scarce few
Debian systems where this works at all.

наб

Attachment: signature.asc
Description: PGP signature

Reply via email to