[Bug 221487] [bsnmpd] crashes on startup with the enabled module begemotSnmpdModulePath."pf"

2019-03-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221487

Vladislav V. Prodan  changed:

   What|Removed |Added

Version|11.1-STABLE |12.0-STABLE

--- Comment #1 from Vladislav V. Prodan  ---
Similar behavior with 12-STABLE

snmp_lm75[1906]: lm_load: open /usr/lib/snmp_pf.so: Undefined symbol "pf_altq"
snmp_lm75[1906]: init dep failed: 13 1.3.6.1.4.1.12325.1.1.1.6 2.112.102
kernel: pid 1906 (bsnmpd), jid 0, uid 0: exited on signal 11 (core dumped)

# uname -a
FreeBSD template-12-0.domain.com 12.0-STABLE FreeBSD 12.0-STABLE r345274
SUPPORT-12-0-1  amd64

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 221487] [bsnmpd] crashes on startup with the enabled module begemotSnmpdModulePath."pf"

2019-03-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221487

--- Comment #2 from Vladislav V. Prodan  ---
(In reply to Vladislav V. Prodan from comment #1)

Core was generated by `/usr/sbin/bsnmpd -p /var/run/snmpd.pid'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libbegemot.so.4...Reading symbols from
/usr/lib/debug//lib/libbegemot.so.4.debug...done.
done.
Loaded symbols for /lib/libbegemot.so.4
Reading symbols from /usr/lib/libbsnmp.so.6...Reading symbols from
/usr/lib/debug//usr/lib/libbsnmp.so.6.debug...done.
done.
Loaded symbols for /usr/lib/libbsnmp.so.6
Reading symbols from /usr/lib/libwrap.so.6...Reading symbols from
/usr/lib/debug//usr/lib/libwrap.so.6.debug...done.
done.
Loaded symbols for /usr/lib/libwrap.so.6
Reading symbols from /lib/libc.so.7...BFD: /lib/libc.so.7: invalid relocation
type 37
BFD: BFD 2.17.50 [FreeBSD] 2007-07-03 assertion fail
/usr/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/elf64-x86-64.c:276
Reading symbols from /usr/lib/debug//lib/libc.so.7.debug...done.
done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /lib/libcrypto.so.111...Reading symbols from
/usr/lib/debug//lib/libcrypto.so.111.debug...done.
done.
Loaded symbols for /lib/libcrypto.so.111
Reading symbols from /lib/libthr.so.3...Reading symbols from
/usr/lib/debug//lib/libthr.so.3.debug...done.
done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /libexec/ld-elf.so.1...Reading symbols from
/usr/lib/debug//libexec/ld-elf.so.1.debug...done.
done.
Loaded symbols for /libexec/ld-elf.so.1
#0  strlen (str=0x8047babd3 ) at
/usr/src/lib/libc/string/strlen.c:101
101 va = (*lp - mask01);
[New Thread 8009f9000 (LWP 100405/)]

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 221487] [bsnmpd] crashes on startup with the enabled module begemotSnmpdModulePath."pf"

2019-03-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221487

--- Comment #3 from Vladislav V. Prodan  ---
(In reply to Vladislav V. Prodan from comment #2)

(gdb) bt
#0  strlen (str=0x8047babd3 ) at
/usr/src/lib/libc/string/strlen.c:101
#1  0x0008003e4a40 in __vfprintf (fp=0x800686ec0, locale=0x8004554e8,
fmt0=, ap=0x7fffb5b0)
at /usr/src/lib/libc/stdio/vfprintf.c:854
#2  0x0008003e2ba4 in vfprintf_l (fp=0x800686ec0, locale=0x8004554e8,
fmt0=0x8002d057d "%s %d - - ", ap=0x7fffb5b0)
at /usr/src/lib/libc/stdio/vfprintf.c:285
#3  0x0008003ea62b in fprintf (fp=0x800686ec0, fmt=0x8002d057d "%s %d - -
") at /usr/src/lib/libc/stdio/fprintf.c:57
#4  0x000800429487 in vsyslog (pri=, fmt=0x20516b
"error in config file", ap=0x7fffc510)
at /usr/src/lib/libc/gen/syslog.c:210
#5  0x0008004291bd in syslog (pri=, fmt=) at /usr/src/lib/libc/gen/syslog.c:129
#6  0x00214b61 in main (argc=0, argv=)
Current language:  auto; currently minimal

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 221487] [bsnmpd] crashes on startup with the enabled module begemotSnmpdModulePath."pf"

2019-03-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221487

Andrey V. Elsukov  changed:

   What|Removed |Added

 CC||a...@freebsd.org
   See Also||https://bugs.freebsd.org/bu
   ||gzilla/show_bug.cgi?id=2334
   ||31

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 233431] [bsnmpd] regression on 12-STABLE: crash on start

2019-03-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233431

Andrey V. Elsukov  changed:

   What|Removed |Added

   See Also||https://bugs.freebsd.org/bu
   ||gzilla/show_bug.cgi?id=2214
   ||87

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 221487] [bsnmpd] crashes on startup with the enabled module begemotSnmpdModulePath."pf"

2019-03-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221487

--- Comment #4 from Vladislav V. Prodan  ---
(In reply to Vladislav V. Prodan from comment #3)

(gdb) bt full
#0  strlen (str=0x8047babd3 ) at
/usr/src/lib/libc/string/strlen.c:101
p = 0x8047babd3 
lp = (const long unsigned int *) 0x8047babd0
va = 
vb = 
#1  0x0008003e4a40 in __vfprintf (fp=0x800686ec0, locale=0x8004554e8,
fmt0=, ap=0x7fffb5b0)
at /usr/src/lib/libc/stdio/vfprintf.c:854
mbs = {__mbstate8 = 0x7fffb3c0 "\230\177", _mbstateL =
140737488335768}
mbseqlen = 
xdigs_lower = 0x8002dd6f0 "0123456789abcdef0123456789ABCDEF", ' '
, '0' , ",\224\020"
xdigs_upper = 0x8002dd700 "0123456789ABCDEF", ' ' ,
'0' , ",\224\020"
expstr = 0x7fffb3b8 "x $"
buf = 0x7fffb300 ""
ox = 0x7fffb258 "\200"
statargtable = 0x7fffb280
orgap = 0x7fffb260
nextarg = 2
saved_errno = 2
ret = 0
decimal_point = 
decpt_len = 1
cp = 
dtoaresult = 0x0
convbuf = 0x0
expchar = 1 '\001'
expsize = 1
ndig = 1
ulval = 141733920769
ujval = 140737488336256
xdigs = 0xe 
ch = 
dprec = -1
width = 0
prec = -1
flags = 0
fmt = 0x8002d057f " %d - - "
size = 
n = 
sign = Cannot access memory at address 0x0

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 236356] Kernel panic after disconnect pptp client...

2019-03-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236356

Eugene Grosbein  changed:

   What|Removed |Added

 CC||eu...@freebsd.org
 Status|New |Closed
 Resolution|--- |FIXED

--- Comment #2 from Eugene Grosbein  ---
Closed as submitter reports this does not reproduce in recent revision.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 233431] [bsnmpd] regression on 12-STABLE: crash on start

2019-03-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233431

Andrey V. Elsukov  changed:

   What|Removed |Added

 CC||a...@freebsd.org,
   ||e...@freebsd.org

--- Comment #1 from Andrey V. Elsukov  ---
Ed, can you take a look at this? It looks very like the problem appears after
r332100. Also, Eugene or Vladislav, can you try revert r332100,
rebuild/reinstall the world and try to reproduce the problem?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 236043] [patch] bectl can't destroy origin snapshot

2019-03-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236043

Kyle Evans  changed:

   What|Removed |Added

 CC||kev...@freebsd.org
   Assignee|b...@freebsd.org|kev...@freebsd.org

--- Comment #2 from Kyle Evans  ---
Take

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 235132] bectl destroy … cannot destroy …: dataset already exists

2019-03-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235132

Kyle Evans  changed:

   What|Removed |Added

   Assignee|b...@freebsd.org|kev...@freebsd.org
 CC||kev...@freebsd.org

--- Comment #2 from Kyle Evans  ---
Take

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 233178] FreeBSD 12.0-BETA - bectl create NEWBE - multiple error messages instead of one

2019-03-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233178

Kyle Evans  changed:

   What|Removed |Added

 CC||kev...@freebsd.org
   Assignee|b...@freebsd.org|kev...@freebsd.org

--- Comment #2 from Kyle Evans  ---
Take.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 233657] bectl siliently fails on i386

2019-03-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233657

Kyle Evans  changed:

   What|Removed |Added

   Assignee|b...@freebsd.org|kev...@freebsd.org
 CC||kev...@freebsd.org

--- Comment #5 from Kyle Evans  ---
(In reply to Philip Homburg from comment #0)

If you can still reproduce this, can you post `zfs list` output, please?

Also, take now that I've become aware of this report.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 233523] bectl(8) has placeholder example text

2019-03-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233523

Kyle Evans  changed:

   What|Removed |Added

 CC||kev...@freebsd.org
   Assignee|b...@freebsd.org|kev...@freebsd.org

--- Comment #1 from Kyle Evans  ---
Take. I think the behavior is firm enough now that I can provide a solid
example.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 236647] kldload can choose wrong module name for hardlinked modules

2019-03-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236647

Bug ID: 236647
   Summary: kldload can choose wrong module name for hardlinked
modules
   Product: Base System
   Version: CURRENT
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Many People
  Priority: ---
 Component: kern
  Assignee: b...@freebsd.org
  Reporter: asom...@freebsd.org

When a module gets renamed, it's customary to hard link the new module name to
the old one so newly upgraded systems can still boot before they've been
reconfigured.  However, sometimes "kldload newname" will register the module
with the old name, as shown below:

root@freebsd:/boot/kernel # ls -li fuse*.ko
2328482 -r-xr-xr-x  2 root  wheel  113928 Mar 19 20:00 fuse.ko
2328482 -r-xr-xr-x  2 root  wheel  113928 Mar 19 20:00 fusefs.ko
root@freebsd:/boot/kernel # kldload fusefs
fuse-freebsd: version 0.4.4, FUSE ABI 7.8
root@freebsd:/boot/kernel # kldstat
Id Refs AddressSize Name
 13 0x8020  25140f8 kernel
 21 0x82811000 a270 fuse.ko

There are four separate functions that cause this bug.  Taken individually,
each one of them behaves reasonably.  But the combination is problematic:

1) kldxref(8), which generates /boot/linker.hints, examines each file in turn
and independently writes an entry for it into the hints file.  In this case, it
legitimately writes a "fusefs" => "fuse.ko" entry.  It writes it before the
"fusefs" -> "fusefs.ko" entry probably because fuse.ko sorts lexicographically
before fusefs.ko.  This behavior is reasonable, because fuse.ko _does_
technically implement the fusefs module.

2) In the kernel, linker_hints_lookup chooses the first filename from the hints
file that matches the desired module name.  This behavior is reasonable,
because it would be slower to read the entire hints file, looking for the
"best" matching filename.

3) linker_hints_lookup accepts filenames that don't exactly match module names.
 This behavior is also reasonable, because a user might legitimately have
multiple filenames implementing the same module, if they're at different
versions or something.

4) linker_load_file registers the module by its filename, not its module name. 
This might also be reasonable for the case described above where multiple files
implement different versions of the same module.

What's the best solution?  I can think of two:
1) Change linker_load_file to register by module name, not filename.

2) Add special logic to kldxref for handling multiple-linked files.  Only
generate one hint instead of many.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 236647] kldload can choose wrong module name for hardlinked modules

2019-03-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236647

Alan Somers  changed:

   What|Removed |Added

 CC||c...@freebsd.org,
   ||g...@freebsd.org,
   ||rgri...@freebsd.org,
   ||sbr...@freebsd.org
   Assignee|b...@freebsd.org|asom...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 157316] [patch] update devstat(9) man page

2019-03-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=157316

dar...@dons.net.au changed:

   What|Removed |Added

 CC||dar...@dons.net.au

--- Comment #5 from dar...@dons.net.au ---
*bump*
Would be nice if this were committed since I just got confused by the very out
of date man page today..

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 236654] sa (SCSI tape) doesn't show up in devstat

2019-03-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236654

Bug ID: 236654
   Summary: sa (SCSI tape) doesn't show up in devstat
   Product: Base System
   Version: CURRENT
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Some People
  Priority: ---
 Component: kern
  Assignee: b...@freebsd.org
  Reporter: dar...@dons.net.au

sys/cam/scsi/scsi_sa.c creates a devstat node and calls
devstat_start_transaction_bio() but never calls devstat_end_transaction_bio()
so nothing ever appears.

I think adding "devstat_end_transaction_bio(softc->device_stats, bp);" at line
2852 (rev 333152) should fix it, but I've been unable to find an opportunity to
reboot the machine with the tape drive to test it so it's only been compile
tested.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"