Bug#568639: debian-installer: winxp partition detected, but not added to grub.cfg

2010-02-06 Thread Miroslav Rudisin
Package: debian-installer
Severity: serious
Justification: serious


At the end of installation of debian testing from netboot.tar.gz (build 
20100122)
the windows xp partition was correctly detected, because the dialog 
if you see all your OS here, everything will be ok appeared.

Before install there was one 20GB windows partition of 1/2 size of the disk.
Then in the installer I manually added 2 new partition:
 - hda2: 19GB ext3 root partition
 - hda3: 1GB swap

But at the first boot, only two linux (normal and safe) boot options were 
available.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
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#482999: dash: builtin function 'jobs -p' doesn't work as expected

2008-06-28 Thread Miroslav Rudisin
 On Mon, May 26, 2008 at 02:58:17PM +0200, Miroslav Rudisin wrote:
  children's PIDs are not printed when called in eval block
  
  $ sleep 1000 
  $ sleep 100 
  $ jobs -p
  14202
  14201
  $ echo $(jobs -p)
  
  $
 
 Hi, I don't think that's a bug, the jobs builtin 'shall display the
 status of jobs that were started in the current shell environment;'[0]
 
 When running jobs in a subshell, you change the shell environment for
 the jobs builtin.

ok, i understand. but then we have not reasonable way to store pids of 
background
process into shell variable...

$ sleep 1000 
$ sleep 100 

$ for i in `jobs -p`; do echo $i; done  # doesn't work
$ jobs -p | xargs   # doesn't work

only working way is redirecting output to the file

$ jobs -p  /tmp/pids   # this works




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#384713: backupninja: pre and post backup commands

2006-08-26 Thread Miroslav Rudisin
Package: backupninja
Version: 0.9.4-unreleased
Severity: wishlist
Tags: patch


Support for executing command before backup and also after backup.

This is required when doing backup on not permanently mounted partition.

I tried to implement this feature. See following patch.

--- backupninja.orig2006-08-22 09:11:22.0 +0200
+++ backupninja 2006-08-26 10:19:47.0 +0200
@@ -300,20 +300,39 @@
echo   $bufferfile
echo_debug_msg=1
(
-   . $scriptdirectory/$suffix $file
+   getconf preexec 
+   getconf postexec 
+
+   error=0
+   if [ $preexec ]; then
+   eval $preexec
+   error=$?
+   fi
+   
+   if [ $error == 0 ]; then
+   . $scriptdirectory/$suffix $file
+   error=$?
+   [ $error != 0 ]  echo Fatal: Backup action exited 
with code $error
+   else
+   echo Fatal: Backup was aborted. Preexec action exited 
with code $error
+   fi
+   
+   if [ $postexec ]; then
+   eval $postexec
+   error=$?
+   [ $error != 0 ]  echo Warning: Postexec action 
exited with code $error
+   fi  
) 21 | (
while read a; do
echo $a  $bufferfile
[ $debug ]  colorize $a
done
)
-   retcode=$?
-   #  we have a problem! we can't grab the return code $?. grrr.
echo_debug_msg=0
 
-   _warnings=`cat $bufferfile | grep ^Warning:  | wc -l`
-   _errors=`cat $bufferfile | grep ^Error:  | wc -l`
-   _fatals=`cat $bufferfile | grep ^Fatal:  | wc -l`
+   _warnings=`grep -c ^Warning:  $bufferfile`
+   _errors=`grep -c ^Error:  $bufferfile`
+   _fatals=`grep -c ^Fatal:  $bufferfile`

ret=`grep \(^Warning: \|^Error: \|^Fatal: \) $bufferfile`
rm $bufferfile


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#324527: bash: does not propagete SIGWINCH

2005-08-22 Thread Miroslav Rudisin
Package: bash
Version: 2.05b-26
Severity: normal

Resizing terminal window (remote login with ssh) does not emit SIGWINCH to 
active application (mc, mutt, ...). Only environment is updated (stty -a). This 
could be problem in another system component, because some other shells (dash, 
sash) does not work too. But I found others (ksh, tcsh, zsh) works well. It 
happened on two indenpendent machines right after upgrade.

Resizing terminal works in this execution ordering
 * ssh - tcsh (login shell) - (app)
 * ssh - bash - tcsh - (app)
 * ssh - bash - tcsh - bash - (app)

But does not in this
 * ssh - bash (login shell) - (app)
 * ssh - bash - bash - (app)

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.31-rc1
Locale: LANG=C, LC_CTYPE=cs_CZ (charmap=ISO-8859-2)

Versions of packages bash depends on:
ii  base-files  3.1.2Debian base system miscellaneous f
ii  libc6   2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libncurses5 5.4-4Shared libraries for terminal hand
ii  passwd  1:4.0.3-31sarge5 change and administer password and

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]