Bug#734331: mg-20131118 sans clens

2014-02-19 Thread Han Boetes
Hi Trent, Peter,

Finaly I got some time! Thanks for the input and the great patches. I
rolled a new release just now.

Peter, util.h is not dead code on bsd systems. I try to make mg work on
all platforms, not just on Linux. So I didn't remove the include, I just
made it conditional on libbsd being used.

Trent Buck wrote:
> Han,
> 
> Peter (another Debian packager) made mg works with libbsd alone; no clens.
> 
> Is this likely to bite us on the ass later?
> 
> Adding clens to Debian is work we'd rather avoid if possible.

> Date: Tue, 14 Jan 2014 23:10:18 +0100
> From: Peter De Wachter 
> To: trentb...@gmail.com
> CC: 734...@bugs.debian.org
> Subject: Re: Bug#734331: RFH: mg -- microscopic GNU Emacs-style editor
> 
> On 13-01-14 00:19, Trent W. Buck wrote:
> > I'm usually in #debian-mentors on irc.oftc.net from ca. 10AM to 6PM
> > Australia/Melbourne time.
> 
> I rarely IRC. If necessary I can come online but that's midnight to 8AM
> Europe/Brussels time...
> 
> > The mg stuff probably still says it's maintained in darcs, but the
> > repo (inc. history) was migrated to git, at
> > git.debian.org:/git/collab-maint/mg.git
> >
> > It's a repo of just debian/, which appears to be an unusual workflow
> > among the git people.  I'm open to changing that if you feel strongly.
> 
> No problem. I actually still keep all my packages in Subversion...
> 
> > As I said in the RFH, the next step should be to get clens into a
> > finished state, then get it sponsored.
> >
> > I've rsynced what I've currently got to ~twb-guest/Desktop/mg/ on
> > git.debian.org; you should have read access.
> 
> Ok, I've taken a look, and I think we don't need to bother with clens at
> all. As far as I can tell it only duplicates stuff that's already in
> libbsd. I've attached a trivial patch to use that library and it seems
> to work fine. Can you check if that's okay with upstream?

> diff --git a/GNUmakefile b/GNUmakefile
> index f9a02da..eac73c5 100644
> --- a/GNUmakefile
> +++ b/GNUmakefile
> @@ -13,13 +13,15 @@ libdir=   $(prefix)/lib
>  includedir=  $(prefix)/include
>  mandir=  $(prefix)/man
>  
> +BSD_CFLAGS:= $(shell pkg-config --cflags libbsd-overlay)
> +BSD_LIBS:=   $(shell pkg-config --libs libbsd-overlay)
>  
>  CC=  gcc
>  CFLAGS?= -O2 -pipe
>  CFLAGS+= -g -Wall -Werror -Wno-error=unused-but-set-variable 
> -Wno-error=maybe-uninitialized
>  CFLAGS+= -DFKEYS -DREGEX -DXKEYS
> -CFLAGS+= -I$(includedir)/clens
> -LIBS=-lcurses -lclens
> +CFLAGS+= $(BSD_CFLAGS) -D__dead=__dead2
> +LIBS=-lcurses $(BSD_LIBS)
>  
>  INSTALL= /usr/bin/install
>  STRIP=   /usr/bin/strip
> diff --git a/def.h b/def.h
> index c7dc24e..1ef0edc 100644
> --- a/def.h
> +++ b/def.h
> @@ -13,7 +13,6 @@
>  #include "sysdef.h"  /* Order is critical.*/
>  #include "ttydef.h"
>  #include "chrdef.h"
> -#include
>  
>  typedef int  (*PF)(int, int);/* generally useful type */
>  
> diff --git a/theo.c b/theo.c
> index a5cf284..fadac2a 100644
> --- a/theo.c
> +++ b/theo.c
> @@ -24,6 +24,7 @@
>   * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
>   */
>  
> +#include 
>  #include "def.h"
>  #include "kbd.h"
>  #include "funmap.h"







# Han
-- 
(I hate large)  \||/   Nothing happens.
(sigs)  Oo. |  @___oo
  /\  /\   / (__|
 ) /^\) ^\/ _)
 )   /^\/   _)
 )   _ /  / _)
 /\  )/\/ ||  | )_)
<  >  |(,,) )__)
 ||  /\)___)\
 | \(  )___) )___
  \__(___;;; __;;;


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#665974: Diff between the two libmpc_0.1~r459-X.debian.tar.gz files

2012-06-20 Thread Han Boetes
Your patch seems to fix the issue.

https://en.wikipedia.org/wiki/External_variable#Definition.2C_declaration_and_the_extern_keyword


# Han





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#654877: The squid3 package does not support the wccpv2 protocol

2012-01-06 Thread Han Boetes
Package: squid3
Severity: normal


As described in http://wiki.squid-cache.org/Features/Wccp2 Squid supports the 
wccpv2 protocol. This is a very interesting feature for a lot of setups albeit 
little known. It's not enabled in the debian package.

Hereby my request to enable this feature. All it involves is adding 
'--enable-wccpv2' to the configure options.

-- System Information:
Debian Release: 6.0.3
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 
'proposed-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-bpo.2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.utf8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#665974: Diff between the two libmpc_0.1~r459-X.debian.tar.gz files

2012-06-13 Thread Han Boetes
So if there is a difference between the two packages it should be in
this diff.

And when looking at it: the differences in libmpcdec6.install... Does it
really mean the installed binaries are the ones found in /usr/lib rather
than in the fake installation directory?


diff -upwr libmpc_0.1~r459-1/changelog libmpc_0.1~r459-2/changelog
--- libmpc_0.1~r459-1/changelog 2010-05-31 16:34:48.0 +0200
+++ libmpc_0.1~r459-2/changelog 2012-02-15 01:12:00.0 +0100
@@ -1,3 +1,13 @@
+libmpc (2:0.1~r459-2) unstable; urgency=low
+
+  * Team upload.
+  * Update maintainer information.
+  * Add watch file.
+  * Build for Multiarch.
+  * Bump Standards.
+
+ -- Alessio Treglia   Wed, 15 Feb 2012 01:11:57 +0100
+
 libmpc (2:0.1~r459-1) unstable; urgency=low

   * New upstream SVN snapshot.
diff -upwr libmpc_0.1~r459-1/compat libmpc_0.1~r459-2/compat
--- libmpc_0.1~r459-1/compat2010-05-31 16:25:23.0 +0200
+++ libmpc_0.1~r459-2/compat2012-02-14 23:27:59.0 +0100
@@ -1 +1 @@
-7
+9
diff -upwr libmpc_0.1~r459-1/control libmpc_0.1~r459-2/control
--- libmpc_0.1~r459-1/control   2010-05-31 16:42:04.0 +0200
+++ libmpc_0.1~r459-2/control   2012-02-15 01:10:45.0 +0100
@@ -1,20 +1,24 @@
 Source: libmpc
 Section: sound
 Priority: optional
-Maintainer: Debian multimedia packages maintainers

+Maintainer: Debian Multimedia Maintainers

 Uploaders: Sebastian Dröge ,
Jorge Salamero Sanz 
-Build-Depends: cdbs (>= 0.4.20),
-   debhelper (>= 7),
+Build-Depends: cdbs (>= 0.4.93~),
+   debhelper (>= 9),
pkg-config,
libreplaygain-dev (>= 1.0~r412),
libcue-dev
-Standards-Version: 3.8.4
+Standards-Version: 3.9.2
 Homepage: http://www.musepack.net
+Vcs-Git: git://anonscm.debian.org/pkg-multimedia/libmpc.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/libmpc.git

 Package: libmpcdec6
 Architecture: any
+Multi-Arch: same
 Section: libs
+Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends},
  ${misc:Depends}
 Description: MusePack decoder - library
@@ -29,6 +33,7 @@ Description: MusePack decoder - library

 Package: libmpcdec-dev
 Architecture: any
+Multi-Arch: same
 Section: libdevel
 Depends: libmpcdec6 (= ${binary:Version}),
  ${misc:Depends}
@@ -47,7 +52,6 @@ Description: MusePack decoder - developm

 Package: musepack-tools
 Architecture: any
-Section: sound
 Depends: ${shlibs:Depends},
  ${misc:Depends}
 Description: MusePack commandline utilities
Only in libmpc_0.1~r459-2: gbp.conf
diff -upwr libmpc_0.1~r459-1/libmpcdec6.install
libmpc_0.1~r459-2/libmpcdec6.install
--- libmpc_0.1~r459-1/libmpcdec6.install2010-05-30 11:59:59.0 
+0200
+++ libmpc_0.1~r459-2/libmpcdec6.install2012-02-14 23:28:10.0 
+0100
@@ -1 +1 @@
-debian/tmp/usr/lib/libmpcdec.so.*
+usr/lib/*/libmpcdec.so.*
diff -upwr libmpc_0.1~r459-1/libmpcdec-dev.install
libmpc_0.1~r459-2/libmpcdec-dev.install
--- libmpc_0.1~r459-1/libmpcdec-dev.install 2010-05-30
11:59:59.0 +0200
+++ libmpc_0.1~r459-2/libmpcdec-dev.install 2012-02-14
23:28:25.0 +0100
@@ -1,3 +1,3 @@
-debian/tmp/usr/include
-debian/tmp/usr/lib/libmpcdec.so
-debian/tmp/usr/lib/libmpcdec.a
+usr/include
+usr/lib/*/libmpcdec.so
+usr/lib/*/libmpcdec.a
diff -upwr libmpc_0.1~r459-1/musepack-tools.install
libmpc_0.1~r459-2/musepack-tools.install
--- libmpc_0.1~r459-1/musepack-tools.install2010-05-30
11:59:59.0 +0200
+++ libmpc_0.1~r459-2/musepack-tools.install2012-02-14
23:28:30.0 +0100
@@ -1 +1 @@
-debian/tmp/usr/bin
+usr/bin
diff -upwr libmpc_0.1~r459-1/rules libmpc_0.1~r459-2/rules
--- libmpc_0.1~r459-1/rules 2010-05-31 16:36:31.0 +0200
+++ libmpc_0.1~r459-2/rules 2012-02-14 23:27:02.0 +0100
@@ -4,8 +4,11 @@ include /usr/share/cdbs/1/rules/debhelpe
 include /usr/share/cdbs/1/class/autotools.mk
 include /usr/share/cdbs/1/rules/utils.mk

+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
 common-binary-post-install-arch:: list-missing

 DEB_DH_MAKESHLIBS_ARGS_libmpcdec6 := -V 'libmpcdec6 (>= 1:0.1~r435)'
 DEB_CONFIGURE_EXTRA_FLAGS += --enable-mpcchap
+DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)

Only in libmpc_0.1~r459-2: watch



# Han



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#665974: Diff between the two libmpc_0.1~r459-X.debian.tar.gz files

2012-06-19 Thread Han Boetes
That is exactly the difference between a working and a non-working
binary. You're on the right track.

I've repeated the buildprocess twice so that the only diffence is the
proposed flag changes.


# Han





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#665974: Diff between the two libmpc_0.1~r459-X.debian.tar.gz files

2012-06-20 Thread Han Boetes
On 20-06-12 09:14, Fabian Greffrath wrote:
> Am 19.06.2012 17:57, schrieb Han Boetes:
> Alright. Since I consider CPPFLAGS and LDFLAGS quite harmless, could you
> please leave them as they are and rebuild another time with only CFLAGS
> reset to an empty string?

Most certainly. With only the CFLAGS cleared the library still works,
just like you suspected.


# Han





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#665974: Diff between the two libmpc_0.1~r459-X.debian.tar.gz files

2012-06-20 Thread Han Boetes
With "CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security"
it fails and with "CFLAGS=-g -O2" it works fine indeed.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#791822: linux-image-4.0.0-1-amd64: hidepid=1 or higher hides forked processes as well

2015-07-08 Thread Han Boetes
Package: src:linux
Version: 4.0.2-1
Severity: normal

Dear Maintainer,

While mounting /proc with the hidepid=1 option (or =2) users can't see forked 
processes. My /eetc/fstab entry:

  proc/procprocdefaults,hidepid=1,gid=4 0


I was testing ssh-agent and didn't see the running process with "ps auxww" even 
though it really was running and was visible as the admin user.

Please try to reproduce this problem, it shouldn't be hard. Thanks.

With regards,

Han Boetes.

-- Package-specific info:
** Version:
Linux version 4.0.0-1-amd64 (debian-ker...@lists.debian.org) (gcc version 4.9.2 
(Debian 4.9.2-16) ) #1 SMP Debian 4.0.2-1 (2015-05-11)

** Command line:
BOOT_IMAGE=/vmlinuz-4.0.0-1-amd64 root=/dev/mapper/caesar-root ro quiet

** Not tainted

** Kernel log:
[ 8856.098333] Enabling non-boot CPUs ...
[ 8856.098333] x86: Booting SMP configuration:
[ 8856.098333] smpboot: Booting Node 0 Processor 1 APIC 0x1
[ 8856.098026] CPU1 microcode updated early to revision 0xa0b, date = 2010-09-28
[ 8856.117260] CPU1 is up
[ 8856.118826] ACPI: Waking up from system sleep state S3
[ 8857.020380] uhci_hcd :00:1a.0: System wakeup disabled by ACPI
[ 8857.020432] uhci_hcd :00:1a.1: System wakeup disabled by ACPI
[ 8857.021101] uhci_hcd :00:1d.0: System wakeup disabled by ACPI
[ 8857.021145] uhci_hcd :00:1d.1: System wakeup disabled by ACPI
[ 8857.021187] uhci_hcd :00:1d.2: System wakeup disabled by ACPI
[ 8857.021230] uhci_hcd :00:1d.3: System wakeup disabled by ACPI
[ 8857.036546] ehci-pci :00:1a.7: System wakeup disabled by ACPI
[ 8857.036596] ehci-pci :00:1d.7: System wakeup disabled by ACPI
[ 8857.036679] PM: noirq resume of devices complete after 16.459 msecs
[ 8857.036963] PM: early resume of devices complete after 0.250 msecs
[ 8857.037024] usb usb3: root hub lost power or was reset
[ 8857.037063] usb usb4: root hub lost power or was reset
[ 8857.037210] usb usb5: root hub lost power or was reset
[ 8857.037214] usb usb6: root hub lost power or was reset
[ 8857.037258] usb usb7: root hub lost power or was reset
[ 8857.037261] usb usb8: root hub lost power or was reset
[ 8857.050171] iwlwifi :03:00.0: RF_KILL bit toggled to enable radio.
[ 8857.059349] [drm] PCIE GART of 1024M enabled (table at 0x0025E000).
[ 8857.059510] radeon :01:00.0: WB enabled
[ 8857.059513] radeon :01:00.0: fence driver on ring 0 use gpu addr 
0x4c00 and cpu addr 0x880233a92c00
[ 8857.059515] radeon :01:00.0: fence driver on ring 3 use gpu addr 
0x4c0c and cpu addr 0x880233a92c0c
[ 8857.064368] radeon :01:00.0: fence driver on ring 5 use gpu addr 
0x0005c598 and cpu addr 0xc9001191c598
[ 8857.111728] [drm] ring test on 0 succeeded in 1 usecs
[ 8857.111733] [drm] ring test on 3 succeeded in 2 usecs
[ 8857.147425] sd 0:0:0:0: [sda] Starting disk
[ 8857.264034] usb 2-5: reset high-speed USB device number 2 using ehci-pci
[ 8857.286680] [drm] ring test on 5 succeeded in 1 usecs
[ 8857.286684] [drm] UVD initialized successfully.
[ 8857.286715] [drm] ib test on ring 0 succeeded in 0 usecs
[ 8857.286739] [drm] ib test on ring 3 succeeded in 0 usecs
[ 8857.356593] rtc_cmos 00:04: System wakeup disabled by ACPI
[ 8857.480083] usb 3-2: reset full-speed USB device number 2 using uhci_hcd
[ 8857.484067] ata5: SATA link down (SStatus 0 SControl 300)
[ 8857.484095] ata2: SATA link down (SStatus 0 SControl 300)
[ 8857.492081] ata6: SATA link down (SStatus 0 SControl 300)
[ 8857.932155] [drm] ib test on ring 5 succeeded
[ 8858.092912] [drm:rv770_dpm_set_power_state [radeon]] *ERROR* 
rv770_set_sw_state failed
[ 8858.847535] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 8858.849575] ata1.00: configured for UDMA/133
[ 8859.102611] iwlwifi :03:00.0: L1 Enabled - LTR Disabled
[ 8859.105658] iwlwifi :03:00.0: Radio type=0x1-0x2-0x0
[ 8859.203579] iwlwifi :03:00.0: L1 Enabled - LTR Disabled
[ 8859.206630] iwlwifi :03:00.0: Radio type=0x1-0x2-0x0
[ 8859.254016] PM: resume of devices complete after 2217.050 msecs
[ 8859.254970] PM: Finishing wakeup.
[ 8859.254973] Restarting tasks ... done.
[ 8859.257019] video LNXVIDEO:00: Restoring backlight state
[ 8859.364477] usb 2-8: new high-speed USB device number 12 using ehci-pci
[ 8859.404408] iwlwifi :03:00.0: L1 Enabled - LTR Disabled
[ 8859.407492] iwlwifi :03:00.0: Radio type=0x1-0x2-0x0
[ 8859.507190] usb 2-8: New USB device found, idVendor=0bda, idProduct=0159
[ 8859.507196] usb 2-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 8859.507198] usb 2-8: Product: USB2.0-CRW
[ 8859.507201] usb 2-8: Manufacturer: Generic
[ 8859.507203] usb 2-8: SerialNumber: 2007111417340
[ 8859.507861] iwlwifi :03:00.0: L1 Enabled - LTR Disabled
[ 8859.510910] iwlwifi :03:00.0: Radio type=0x1-0x2-0x0
[ 8859.512180] ums-realtek 2-8:1.0: USB Mass Storage device detected
[ 8859.527349] scsi host10: usb-storage 2-8:1.0
[ 8859.544649] IPv6: A

Bug#603801: mksh prev-hist-word wish

2010-11-18 Thread Han Boetes
Thorsten Glaser wrote:
> tags 603801 - wontfix
> thanks
>
> J???rg-Volker Peetz dixit:
>
> > It would be only a modification of this requested feature: As
> > long as the cursor is not moved it will work as requested,
> > similar to zsh and bash. Only in the case the cursor is moved
> > inbetween, the next "M-." should insert at the current cursor
> > position the last word from the last history line, and then
> > again going up the history with further "M-.".
>
> Ah okay. That does make sense.
>
>
> Han, what do you think?

I put this feature on my todo list. Allas I'm so busy I won't get
to it. I can't get anything else but work done these days. Forward
the request with a patch to Kjell I'd say.



# Han



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#419132: No it really needs to be in /etc/shells

2009-12-28 Thread Han Boetes
The point of /sbin/noreply is to put up a decent message telling
the guy who logged in that the account is disabled and then return
1. Read the code and see for yourself. It's not more or less
secure than /bin/false, it's just less annoying than logging in
and getting kicked out again without an errormessage. That's what
it's meant for. But if /sbin/nologin is not in /etc/shells you get
the identical behaviour from using /bin/false.



# Han



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#630568: grub-common: 10_linux also generates entries for xen kernels.

2011-06-15 Thread Han Boetes
Package: grub-common
Version: 1.98+20100804-14
Severity: normal
Tags: patch


/etc/grub.d/10_linux also includes xen-kernels which are properly detected by 
20_linux_xen. This results in duplicate entries for xen kernels and a lack of 
controlability -- by modifying the leading number -- of the prefered kernel.

This patch aims to remedy this problem, although it doesn't take other 
configurations in account.


--- 10_linux.orig  2011-01-18 12:43:20.0 +0100
+++ 10_linux   2011-06-15 11:12:58.016373186 +0200
@@ -51,6 +51,11 @@ else
   LINUX_ROOT_DEVICE=UUID=${GRUB_DEVICE_UUID}
 fi
 
+not_xen_kernel()
+{
+echo $1 | grep -qvi xen
+}
+
 linux_entry ()
 {
   os="$1"
@@ -95,7 +100,7 @@ EOF
 }
 
 list=`for i in /boot/vmlinu[zx]-* /vmlinu[zx]-* ; do
-if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
+if grub_file_is_not_garbage "$i" && not_xen_kernel "$i"; then echo -n 
"$i " ; fi
   done`
 prepare_boot_cache=
 



-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF8, LC_CTYPE=en_US.UTF8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-common depends on:
ii  base-files  6.0squeeze1  Debian base system miscellaneous f
ii  dpkg1.15.8.10Debian package management system
ii  gettext-base0.18.1.1-3   GNU Internationalization utilities
ii  install-info4.13a.dfsg.1-6   Manage installed documentation in 
ii  libc6   2.11.2-10Embedded GNU C Library: Shared lib
ii  libdevmapper1.02.1  2:1.02.48-5  The Linux Kernel Device Mapper use
ii  libfreetype62.4.2-2.1FreeType 2 font engine, shared lib
ii  zlib1g  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages grub-common recommends:
ii  os-prober 1.42   utility to detect other OSes on a 

Versions of packages grub-common suggests:
pn  grub-emu   (no description available)
pn  multiboot-doc  (no description available)
pn  xorriso(no description available)

-- Configuration Files:
/etc/grub.d/10_linux changed [not included]

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#600456: default to squeeze in debian template

2011-06-17 Thread Han Boetes
Package: lxc
Version: 0.7.2-1
Severity: normal


This diff fixes the issues and also adds support for generating a random 
password. Such a pretty one-liner.


--- /usr/lib/lxc/templates/lxc-debian   2010-08-04 19:27:58.0 +0200
+++ /usr/lib/lxc/templates/lxc-squeeze  2011-06-16 17:06:32.844866359 +0200
@@ -63,6 +63,11 @@ EOF
 $hostname
 EOF
 
+# create ttys
+for i in 1 2 3 4; do
+   mknod -m 600 $rootfs/dev/tty$i c 4 $i
+done
+
 # reconfigure some services
 if [ -z "$LANG" ]; then
chroot $rootfs locale-gen en_US.UTF-8
@@ -77,8 +82,9 @@ EOF
 chroot $rootfs /usr/sbin/update-rc.d -f hwclock.sh remove
 chroot $rootfs /usr/sbin/update-rc.d -f hwclockfirst.sh remove
 
-echo "root:root" | chroot $rootfs chpasswd
-echo "Root password is 'root', please change !"
+pass=$(< /dev/urandom tr -dc '!@#$%^&()_+=<>A-Za-z0-9\-' | head -c 8)
+echo "root:$pass" | chroot $rootfs chpasswd
+echo "Root password is '$pass'"
 
 return 0
 }
@@ -90,7 +96,7 @@ ifupdown,\
 locales,\
 libui-dialog-perl,\
 dialog,\
-dhcp-client,\
+isc-dhcp-client,\
 netbase,\
 net-tools,\
 iproute,\
@@ -110,7 +116,7 @@ openssh-server
 echo "Downloading debian minimal ..."
 debootstrap --verbose --variant=minbase --arch=$arch \
--include $packages \
-   lenny $cache/partial-$arch http://ftp.debian.org/debian
+   squeeze $cache/partial-$arch http://ftp.debian.org/debian
 if [ $? -ne 0 ]; then
echo "Failed to download the rootfs, aborting."
return 1
@@ -136,7 +142,7 @@ copy_debian()
 
 install_debian()
 {
-cache="/var/cache/lxc/debian"
+cache="/var/cache/lxc/squeeze"
 rootfs=$1
 mkdir -p /var/lock/subsys/
 (



-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lxc depends on:
ii  libc6 2.11.2-10  Embedded GNU C Library: Shared lib
ii  libcap2   1:2.19-3   support for getting/setting POSIX.

Versions of packages lxc recommends:
ii  libcap2-bin   1:2.19-3   basic utility programs for using c

lxc suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#941075: monit: no systemctl file for monit

2019-09-24 Thread Han Boetes
Package: monit
Version: 1:5.26.0-1~bpo10+1
Severity: important

The current monit package does not include a systemctl file, often resulting in
monit not running. If I'd check the status with systemctl the result was:
active(exited) see also: https://unix.stackexchange.com/questions/241970/what-
does-status-active-exited-mean-for-a-systemd-service

Now for example puppet can't check it's not running because systemctl says it's
running when it isn't.

Easy fix: add a systemd file and remove the /etc/init.d/monit file

Here is an example which I installed with puppet, fixing this problem for me.

[Unit]
Description=Pro-active monitoring utility for unix systems
After=network.target

[Service]
Type=simple
ExecStart=/usr/bin/monit -I
ExecStop=/usr/bin/monit quit
ExecReload=/usr/bin/monit reload

[Install]
WantedBy=multi-user.target



-- Package-specific info:

Monit config file /etc/monit/monitrc is *NOT* readable by reportbug.
Please, consider to rerun reportbug as root and *carefully* examine
reportbug's output (e.g., monitrc content), before sending it out.

Contents of /etc/monit/ directory:
/etc/monit:
total 32
drwxr-xr-x 2 root root17 Aug  9 15:04 conf-available
drwxr-xr-x 2 root root 2 Jan 11  2017 conf-enabled
drwxr-xr-x 2 root root 2 Jan 11  2017 conf.d
drwx-- 2 root root 3 Sep  9 09:29 monit.d
-rw--- 1 root root   765 Aug 28 12:00 monitrc
-rw--- 1 root root 13111 Jul 13 07:21 monitrc.dpkg-dist
drwxr-xr-x 2 root root 5 Aug  9 15:04 templates

/etc/monit/conf-available:
total 68
-rw-r--r-- 1 root root  481 Jan 11  2017 acpid
-rw-r--r-- 1 root root  640 Jan 11  2017 apache2
-rw-r--r-- 1 root root  455 Jan 11  2017 at
-rw-r--r-- 1 root root  691 Jan 11  2017 cron
-rw-r--r-- 1 root root  602 Jan 11  2017 mdadm
-rw-r--r-- 1 root root  669 Jan 11  2017 memcached
-rw-r--r-- 1 root root  703 Jan 11  2017 mysql
-rw-r--r-- 1 root root  521 Jan 11  2017 nginx
-rw-r--r-- 1 root root  471 Jan 11  2017 openntpd
-rw-r--r-- 1 root root  831 Jul 13 07:21 openssh-server
-rw-r--r-- 1 root root  683 Jan 11  2017 pdns-recursor
-rw-r--r-- 1 root root 1426 Jul 13 07:21 postfix
-rw-r--r-- 1 root root  869 Jan 11  2017 rsyslog
-rw-r--r-- 1 root root  501 Jan 11  2017 smartmontools
-rw-r--r-- 1 root root  306 Jan 11  2017 snmpd

/etc/monit/conf-enabled:
total 0

/etc/monit/conf.d:
total 0
/bin/ls: cannot open directory '/etc/monit/monit.d': Permission denied

/etc/monit/templates:
total 14
-rw-r--r-- 1 root root 164 Jan 11  2017 rootbin
-rw-r--r-- 1 root root 160 Jan 11  2017 rootrc
-rw-r--r-- 1 root root 164 Jan 11  2017 rootstrict


-- System Information:
Debian Release: 10.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.0.21-2-pve (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages monit depends on:
ii  libc6  2.28-10
ii  libpam0g   1.3.1-5
ii  libssl1.1  1.1.1c-1
ii  lsb-base   10.2019051400
ii  zlib1g 1:1.2.11.dfsg-1

monit recommends no packages.

Versions of packages monit suggests:
ii  postfix [mail-transport-agent]  3.4.5-1
pn  sysvinit-core   

-- Configuration Files:
/etc/monit/monitrc [Errno 13] Permission denied: '/etc/monit/monitrc'

-- no debconf information



Bug#875621: Still not fixed

2018-09-14 Thread Han Boetes
>
> Source: linux
> Source-Version: 4.13.10-1
> We believe that the bug you reported is fixed in the latest version of
> linux, which is due to be installed in the Debian FTP archive.


Dear maintainer,

With every new kernel release I hope these simple instructions from the
dmesg are followed:

psmouse serio2: synaptics: The touchpad can support a better bus than the
> too old PS/2 protocol. Make sure MOUSE_PS2_SYNAPTICS_SMBUS and RMI4_SMB are
> enabled to get a better touchpad experience.


But every time I check I see:

% grep -i rmi4_smb /boot/config-4.18.0-1-amd64
> # CONFIG_RMI4_SMB is not set


Why is it so hard to enable this kernel option?!


Bug#966000: RFP: nicotine-plus -- graphical client for the Soulseek peer-to-peer file sharing network

2020-07-21 Thread Han Boetes
Package: wnpp
Severity: wishlist

* Package name: nicotine-plus
  Version : 2.0.1
  Upstream Author : See AUTHORS.md
* URL : https://nicotine-plus.github.io/nicotine-plus/
* License : GPL
  Programming Lang: Python
  Description : graphical client for the Soulseek peer-to-peer file
sharing network

Nicotine+ is a graphical client for the Soulseek peer-to-peer file
sharing network. It is an attempt to keep Nicotine working with the
latest libraries, kill bugs, keep current with the Soulseek protocol,
and add some new features that users want and/or need.


This package used to be in the debian repositories but there was no
maintainer. Recently the project got revived and now there is a
python3 version, complete with a working /debian folder for packaging
to a ubuntu repository, so packaging should be a breeze.

I ran dpkg-buildpackage -us -uc in the git checkout and got a working
package a few seconds later.

Thanks for your interest.
Han Boetes


Bug#780093: is this patch the fix for this problem

2015-05-27 Thread Han Boetes Edis GmbH
Since I still see this problem I searched around a bit: Is this patch the fix 
for this problem? Please also check the reply, it mentions one change too much 
has been made.

https://www.redhat.com/archives/libvir-list/2014-December/msg00304.html


Mit freundlichen Grüßen,
Han Boetes


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org